It is currently Fri Jun 22, 2018 7:49 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: AVG Threat Secured
PostPosted: Mon Jun 11, 2018 6:38 am 
Offline
User
User
User avatar

Joined: Sat Feb 21, 2009 2:01 am
Posts: 29
Location: Canada
Hi, I have a problem with AVG's verus detection with software compiled with Pure Basic.
Avg Quarantine Test Software, Why?
Here is an image of the error.
the code is the following
For k = 1 TB 7
   Debug StringField ("I am a string containing fields", k, "")
Next

it happens to me randomly, depending on the mood of AVG. It started a few months ago and it is becoming more and more problematic.

Here is the image of the error.

Image

Thank you for your help.


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Mon Jun 11, 2018 7:04 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Dec 29, 2011 5:03 pm
Posts: 213
You can report it to AVG as a false positive: https://www.avg.com/en-ww/false-positive-file-form


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Mon Jun 11, 2018 8:05 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 558
Location: Berlin and Ibiza
a_carignan wrote:
the code is the following
For k = 1 TB 7
Debug StringField ("I am a string containing fields", k, "")
Next

Is it just this code or more code?
If only these 3 lines, then your executable file is too small and suspicious. For example, use UsePNGImageDecoder(), you should get less false positives.

_________________
ImageImageImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Mon Jun 11, 2018 1:41 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jun 22, 2003 7:43 pm
Posts: 181
Location: Germany, Homburg (Saar)
Just uninstall your virus protection. If you brain.exe is working you don't need them. And if you want to publish your program you can test it with virustotal.com and send a False-Positive to the company which finds your program suspicious.

_________________
Electronics, Crazy & Interesting Stuff, all that with text, image and sound? Click here!

The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Tue Jun 12, 2018 3:26 am 
Offline
User
User
User avatar

Joined: Sat Feb 21, 2009 2:01 am
Posts: 29
Location: Canada
The code I copied is what caused the error displayed in the image I added to my post. This kind of error is a problem that is more and more recurrent and it annoys me each time to declare a false positive. Especially that there is a test software that I can not test because of this quarantine. I know that I can put directories in exception. But, put the temporary directory in exception, I have doubts. The error exists only when I compile the software in x86 version under a Windows 10 in 64 bits. The 64-bit version does not create the same problem.
Replace AVG Anteiverus with Brain, exe asks for reflection.
Thank you for your suggestions. :)


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Tue Jun 12, 2018 6:27 am 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1426
Don't put the entire temp directory in exception; just put PureBasic_Compilation0.exe as an exception. (And 1, 2, 3 even).


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Thu Jun 14, 2018 6:46 am 
Offline
User
User
User avatar

Joined: Sat Feb 21, 2009 2:01 am
Posts: 29
Location: Canada
Thanks for the exception stuff for a file. That works well. Replacing the 0 with an "*" allowed all the software to automatically create PureBasic as an exception.
Like this PureBasic_Compilation * .exe.
This does not explain why more and more software is perceived as a positive thing, but it does get around the problem. :D


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Thu Jun 14, 2018 12:27 pm 
Offline
Always Here
Always Here

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7417
Location: Norway
In the compiler options, check "create temporary executable in the source directory", then add that to the exceptions.

Also, report the false positive.


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Thu Jun 14, 2018 12:50 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1426
a_carignan wrote:
This does not explain why more and more software is perceived as a positive

Well, the AV companies need to "prove" that they're catching malware where there's really none, right? Otherwise people will stop paying for "protection". :twisted:


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Thu Jun 14, 2018 1:55 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jun 22, 2003 7:43 pm
Posts: 181
Location: Germany, Homburg (Saar)
The bigger the program the better the heuristics and vice versa.

_________________
Electronics, Crazy & Interesting Stuff, all that with text, image and sound? Click here!

The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Thu Jun 14, 2018 6:10 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon May 09, 2011 9:36 am
Posts: 392
Dude wrote:
a_carignan wrote:
This does not explain why more and more software is perceived as a positive

Well, the AV companies need to "prove" that they're catching malware where there's really none, right? Otherwise people will stop paying for "protection". :twisted:


that's exactly the very same thoughts i have about AV companies 8)

a few Days ago i submitted my 7080KB EXE to Virus Total
and only 1 AV flagged it as a Virus , and it was a AV company i've never heard of in that Virus Total List... so thats looking pretty good so far !

a couple of years ago i did a Hello World tiny VB6 EXE and it was flagged by a bunch of AV 's as a Virus

_________________
 
PureBasic .... making tiny electrons do what you want !

"With every mistake we must surely be learning" - George Harrison


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Thu Jun 14, 2018 10:24 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1426
VB6_to_PBx wrote:
a few Days ago i submitted my 7080KB EXE to Virus Total
and only 1 AV flagged it as a Virus

Just make sure you check the same exact exe again a week, and even two weeks, later. You can't rely on the initial VirusTotal results because it updates their results constantly. I've seen VirusTotal report that my exe is clean on the first upload, but then have over 30 malware matches a week later when it was rescanned (with the same file hash!). Something to be aware of.


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Fri Jun 15, 2018 7:18 am 
Offline
User
User
User avatar

Joined: Sat Feb 21, 2009 2:01 am
Posts: 29
Location: Canada
I put my programming directory as an exception, which circumvents the problem. But I feel that the more exception, the less I am protected. :(


Top
 Profile  
Reply with quote  
 Post subject: Re: AVG Threat Secured
PostPosted: Fri Jun 15, 2018 7:20 am 
Offline
User
User
User avatar

Joined: Sat Feb 21, 2009 2:01 am
Posts: 29
Location: Canada
Dude wrote:
a_carignan wrote:
This does not explain why more and more software is perceived as a positive

Well, the AV companies need to "prove" that they're catching malware where there's really none, right? Otherwise people will stop paying for "protection". :twisted:


Is good, in addition it is credible :twisted:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye