PB Debugger conflicting with Antivirus

Windows specific forum
User avatar
Teddy Rogers
User
User
Posts: 98
Joined: Sun Feb 23, 2014 2:05 am
Location: Australia
Contact:

Re: PB Debugger conflicting with Antivirus

Post by Teddy Rogers »

PB wrote:Heuristics should not exist. They're a stupid "technology", as shown.
Always false positives. An AV should only report a true known virus.
I agree, unfortunately I don't see heuristics going any time soon. Some compressor/protector/packer vendors have been considering adding support for the Taggant System but that too has to be supported by the AV companies. Not sure it would help in the situation posted above though...

Ted.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB Debugger conflicting with Antivirus

Post by IdeasVacuum »

The Taggant System is free and OpenSource - and therefore will end up being insecure and thus useless.
Microsoft's Authenticode, where the Developer pays for their digital signature which can only be issued by a trusted 3rd Party was a good idea - until some of the 'trusted parties' (certificate authorities) were breached (totally poor security!) and now the system is in disarray. However, a digital signature will nonetheless help to keep AV apps off your back.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: PB Debugger conflicting with Antivirus

Post by Tenaja »

ts-soft wrote:Set the default-compilation to source-dir:
Image
and then set it to exception.
I am going to jump in, since I am in the same boat with a different av program, BitDefender. I have this option set (in your image), but BD stops the linker due to a *.TMP file within the windows TEMP folder. If I disable the debugger, then the exe gets created within the source directory, but obviously, that does not help if PB insists on using the TEMP folder.

Any more suggestions?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB Debugger conflicting with Antivirus

Post by IdeasVacuum »

...the most obvious is, if you can change your AV to another, then do so. Avast stands out in terms of flexibility at least, but in all my time as a PC user with AV installed, no AV has ever detected a genuine virus but all of them have spewed out false-positives.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
TassyJim
Enthusiast
Enthusiast
Posts: 191
Joined: Sun Jun 16, 2013 6:27 am
Location: Tasmania (Australia)

Re: PB Debugger conflicting with Antivirus

Post by TassyJim »

IdeasVacuum wrote:...the most obvious is, if you can change your AV to another, then do so. Avast stands out in terms of flexibility at least, but in all my time as a PC user with AV installed, no AV has ever detected a genuine virus but all of them have spewed out false-positives.
Changing my AV program was OK for me but when I distribute programs, I can't tell all the users that their AV is at fault.
It is very bad for business when you are constantly having to tell the new users that "it is not my fault".

Jim
User avatar
skywalk
Addict
Addict
Posts: 4242
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB Debugger conflicting with Antivirus

Post by skywalk »

Users without whitelist control of their AV software are truly at a disadvantage.
And I am confused why the Temp folder is off limits to user applications?
Or should it be c:\programdata\<yourapp>\...?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB Debugger conflicting with Antivirus

Post by IdeasVacuum »

Temp folder is off limits to user applications
Doesn't sound right - probably just another error in AV logic.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB Debugger conflicting with Antivirus

Post by IdeasVacuum »

I can't tell all the users that their AV is at fault.
That is exactly what we have to do because even if the AV developers test your app and agree that it is safe, a couple of iterations of their code later and it catches your innocent app again - been there and done that. The only apps that are not going to be hit by this issue are those written by companies big enough to sue the AV company. I have found though that digitally signing both my app and it's installer helps to reduce AV attention. You could also publish the AV Company's response on your website - that way your customers can see you are proactive and that the AV companies are not as squeaky clean as people expect.

I don't have a high regard for AV companies because none of them have software that really works and they all basically copy each other. However, most of them are courteous and give clear instructions with regards to the info they need to test your app. Most have a dedicated web page for the task. Strangely, most of the companies whose AV is on Virus Total seem to know very little about the actual version of their software being used by VT. Also, now VT is owned by Goggle, the small print is alarming - Goggle make rights claims for your software, so beware.
Discussion here: http://www.purebasic.fr/english/viewtop ... 17&t=53031
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: PB Debugger conflicting with Antivirus

Post by PB »

> I can't tell all the users that their AV is at fault

Yes you can, because it's the truth. Just tell them to turn off
their AV's heuristics setting, or to add your program to their
AV's whitelist. Many companies post such instructions on
their websites for their customers to follow.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Teddy Rogers
User
User
Posts: 98
Joined: Sun Feb 23, 2014 2:05 am
Location: Australia
Contact:

Re: PB Debugger conflicting with Antivirus

Post by Teddy Rogers »

IdeasVacuum wrote:The Taggant System is free and OpenSource - and therefore will end up being insecure and thus useless.
There is a fee...
"The fee to participate in the AMSS as a Subscriber is US $8,000.00. This fee grants access to the CMX for 1 year as well as access to the Taggant System IEEE Public Root Certificate, and blacklist, for 1 year."

"The fee for new SPV participants is US $2500. 100 packer user certificates are provided to each SPV at no cost. Additional certificates may be purchased for the current price of US $0.33 per certificate now or at a later date."
http://standards.ieee.org/develop/indco ... /amss.html

Ted.
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: PB Debugger conflicting with Antivirus

Post by Tenaja »

skywalk wrote:Users without whitelist control of their AV software are truly at a disadvantage.
And I am confused why the Temp folder is off limits to user applications?
Or should it be c:\programdata\<yourapp>\...?
PB is using the generic \Temp\ folder to store temporary files during compilation and linking. This is where my files are getting trapped, as *.TMP files. Unfortunately, even using the \Portable switch when running PB, it still uses that folder. THIS is PB's fault . I cannot simply whitelist every *.TMP file within the \Temp folder--that would be insanity.

Fortunately, BitDefender AV has a very fast False Positive Submission response; as fast as an hour. I made a submission, and was turning off my AV for 15 minutes at a time when I suddenly realized it was no longer blocking my file. If they are going to have crummy false-positive response with PB files, at least they are responsive.
User avatar
skywalk
Addict
Addict
Posts: 4242
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB Debugger conflicting with Antivirus

Post by skywalk »

Why not try MS's free tool?
It's as easy as this to ignore a file/path or exe. :wink:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB Debugger conflicting with Antivirus

Post by IdeasVacuum »

Fortunately, BitDefender AV has a very fast False Positive Submission response; as fast as an hour. I made a submission, and was turning off my AV for 15 minutes at a time when I suddenly realized it was no longer blocking my file. If they are going to have crummy false-positive response with PB files, at least they are responsive.
An hour? Well, that sounds very unlikely, but if did only take them such a short time, then what does that say about their quality control?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
76ea3a75
New User
New User
Posts: 5
Joined: Thu Nov 20, 2014 7:24 am

Re: PB Debugger conflicting with Antivirus

Post by 76ea3a75 »

skywalk wrote:Why not try MS's free tool?
It's as easy as this to ignore a file/path or exe. :wink:
I believe I have already mentioned that changing AV software just for PureBasic is not an option.
76ea3a75 wrote:Changing AV software is no option. F-Prot is part of our inhouse IT security.
After all, playing with PureBasic is not an essential part of the professional software development we are doing on our PCs.
Best regards,
Albert
Thorium
Addict
Addict
Posts: 1308
Joined: Sat Aug 15, 2009 6:59 pm

Re: PB Debugger conflicting with Antivirus

Post by Thorium »

76ea3a75 wrote: I believe I have already mentioned that changing AV software just for PureBasic is not an option.
However you can configure your AV software. By adding it to the exclude list or by disabling heuristics. It's not a PureBasic specific problem i (and many other coders) get false positives with every programing language. It's just a fact that AV heuristics are not working reliably, actualy they are horrible. Never found a true threat on my system, only false positives. It's something you have to live with as a coder, no matter the programming language.
Post Reply