Anti-virus false-positive tip
Posted: Sun Oct 15, 2023 9:42 am
A new app I was making had an anti-virus false-positive today, which was being reported as "TrojanSpy.Carberp.eut" by Jiangmin on VirusTotal.
After spending all day trying to work out why, including by compiling with a few older PureBasic versions, I randomly decided to remove the icon used in the Compiler Options for it, and BINGO - the false positive was gone! I put the icon back and recompiled the exe again and yep, the false-positive came back.
To be 100% sure, I opened the ".ico" file in IcoFX and changed ONE SINGLE PIXEL and resaved it, recompiled the exe, and uploaded it to VirusTotal. NO false-positive from Jiangmin! Crazy. Then I tried the old pre-edited icon again, yep, Jiangmin flagged it again. All for one single pixel difference in an image - not in any executable code!
I can only assume that some malware exists out there that's using the same free icon that I was using. So this is definitely something to be aware of when you're using free resource offerings from other places: sure, they're convenient; but that's probably why malware authors use them.
And it's good to know that it's not necessarily PureBasic's fault that is causing the alerts (which would be a relief for Fred).
After spending all day trying to work out why, including by compiling with a few older PureBasic versions, I randomly decided to remove the icon used in the Compiler Options for it, and BINGO - the false positive was gone! I put the icon back and recompiled the exe again and yep, the false-positive came back.
To be 100% sure, I opened the ".ico" file in IcoFX and changed ONE SINGLE PIXEL and resaved it, recompiled the exe, and uploaded it to VirusTotal. NO false-positive from Jiangmin! Crazy. Then I tried the old pre-edited icon again, yep, Jiangmin flagged it again. All for one single pixel difference in an image - not in any executable code!
I can only assume that some malware exists out there that's using the same free icon that I was using. So this is definitely something to be aware of when you're using free resource offerings from other places: sure, they're convenient; but that's probably why malware authors use them.
And it's good to know that it's not necessarily PureBasic's fault that is causing the alerts (which would be a relief for Fred).