PB 6.11 causing AV warning

Everything else that doesn't fall into one of the other PB categories.
SpiritCode
New User
New User
Posts: 8
Joined: Sat Oct 20, 2018 10:13 pm
Location: Montreal, Quebec, Canada

PB 6.11 causing AV warning

Post 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)
SpiritCode
New User
New User
Posts: 8
Joined: Sat Oct 20, 2018 10:13 pm
Location: Montreal, Quebec, Canada

Re: PB 6.11 generates virus

Post 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.
SpiritCode
New User
New User
Posts: 8
Joined: Sat Oct 20, 2018 10:13 pm
Location: Montreal, Quebec, Canada

Re: PB 6.11 generates virus

Post 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
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: PB 6.11 causing AV warning

Post by jacdelad »

Same problem here. All my programs run, but a friend of me has BitDefender and none runs on his machine...
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: PB 6.11 causing AV warning

Post by plouf »

Flase alarm in antiviruses is a hundred times discussed in forums

AV nowdays report more or less ANYTHING but their own :-)
Christos
Bitblazer
Enthusiast
Enthusiast
Posts: 761
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: PB 6.11 causing AV warning

Post 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.
Little John
Addict
Addict
Posts: 4775
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PB 6.11 causing AV warning

Post 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
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.11 causing AV warning

Post by Fred »

:lol:
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: PB 6.11 causing AV warning

Post 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:
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
spikey
Enthusiast
Enthusiast
Posts: 749
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: PB 6.11 causing AV warning

Post 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/
BarryG
Addict
Addict
Posts: 4122
Joined: Thu Apr 18, 2019 8:17 am

Re: PB 6.11 causing AV warning

Post 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.
Last edited by BarryG on Wed Aug 28, 2024 12:08 pm, edited 1 time in total.
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: PB 6.11 causing AV warning

Post 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..
Christos
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB 6.11 causing AV warning

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply