Page 1 of 1

PB 6.11 causing AV warning

Posted: Mon Jul 01, 2024 11:52 pm
by SpiritCode
I just tried PB v6.11 LTS and all the .exe files generated by the linker are detected as a virus by my anti virus BitDefender. The thing is it's not the only one. I submitted the exe file to VirusTotal site and many other AVs are detecting the same virus. Anyone else having this problem ?
I can't compile any file unless I disable my AV momentarily. This is bad news cause I'm writing a commercial application. V6.10 doesn't do it.

// Moved from "Bugs - Windows" to "General Discussion" (Kiffi)

Re: PB 6.11 generates virus

Posted: Tue Jul 02, 2024 12:18 am
by SpiritCode
I forgot to specify that I'm using Windows 10 and the PB version 6.11 is 64 bit.

I just tested version 6.11 32 bit on same computer and it works fine, no virus detection.

Re: PB 6.11 generates virus

Posted: Tue Jul 02, 2024 1:42 am
by SpiritCode
After diging deeper into the problem, I discovered that when my AV put a PB compilation into quarantine it denied access to any other compilation.
That being said I discovered that some code that used to work with previous linker now generates code with virus according to several AVs.

This simple code an example taken from the help file will generate the problem:

Code: Select all

  If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    CanvasGadget(0, 0, 0, 400, 200)
    
    If StartVectorDrawing(CanvasVectorOutput(0))

      VectorSourceLinearGradient(50, 0, 350, 0)
      VectorSourceGradientColor(RGBA(255, 0, 0, 255), 0.0)
      VectorSourceGradientColor(RGBA(0, 255, 0, 255), 0.5)
      VectorSourceGradientColor(RGBA(0, 0, 255, 255), 1.0)
      
      AddPathBox(50, 25, 300, 150)
      FillPath()
    
      StopVectorDrawing()
    EndIf
    
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow
  EndIf
It works fine with the PB 6.11 32 bit but gives me virus detection with PB 6.11 64 bit

Re: PB 6.11 causing AV warning

Posted: Tue Jul 02, 2024 7:06 am
by jacdelad
Same problem here. All my programs run, but a friend of me has BitDefender and none runs on his machine...

Re: PB 6.11 causing AV warning

Posted: Tue Jul 02, 2024 8:03 am
by plouf
Flase alarm in antiviruses is a hundred times discussed in forums

AV nowdays report more or less ANYTHING but their own :-)

Re: PB 6.11 causing AV warning

Posted: Tue Jul 02, 2024 8:10 am
by Bitblazer
Report every single executable as false positive to Bitdefender. I had to do the same for Kaspersky. Norton and Kaspersky work flawlessly with my homebrew PureBasic software now.

Re: PB 6.11 causing AV warning

Posted: Tue Jul 02, 2024 2:51 pm
by Little John
plouf wrote: Tue Jul 02, 2024 8:03 am AV nowdays report more or less ANYTHING but their own :-)
And there are even AV programs that report themself. :mrgreen:
https://news.softpedia.com/news/Avira-A ... 0436.shtml

Re: PB 6.11 causing AV warning

Posted: Tue Jul 02, 2024 3:44 pm
by Fred
:lol:

Re: PB 6.11 causing AV warning

Posted: Tue Jul 02, 2024 7:40 pm
by jacdelad
Little John wrote: Tue Jul 02, 2024 2:51 pm
plouf wrote: Tue Jul 02, 2024 8:03 am AV nowdays report more or less ANYTHING but their own :-)
And there are even AV programs that report themself. :mrgreen:
https://news.softpedia.com/news/Avira-A ... 0436.shtml
Why did I know it was avira before even reading the link? :mrgreen:

Re: PB 6.11 causing AV warning

Posted: Wed Jul 03, 2024 12:18 pm
by spikey
:cry: I've caught this too now - I miss the old AVG so much. I recommend using this link rather than the one posted above to report detection problems to Bitdefender: https://www.bitdefender.com/consumer/su ... wer/29358/

Re: PB 6.11 causing AV warning

Posted: Sat Jul 06, 2024 3:34 am
by BarryG
I noticed that 6.11 causes 4 false positives for my app on VirusTotal. Compiled with 6.10 and I get 0. Will stay with 6.10 for now.

Re: PB 6.11 causing AV warning

Posted: Sat Jul 06, 2024 6:13 am
by plouf
the obvious change is the linker, !
also another reason is that probably not enought PB users have report YET their apps to antiviruses so slowly will "cleaned"

but yes its time consuming and tedius proccess... without end..

Re: PB 6.11 causing AV warning

Posted: Sat Jul 06, 2024 7:45 am
by mk-soft
There is no reason to stay on PB v6.10, but a reason to change the antivirus.
With Avira it has always worked to report false positives online. With the next update this was done.
Not only Purebasic has this problem, but creators of all software have this problem with the antivirus software.