cs2-ErScripts icon indicating copy to clipboard operation
cs2-ErScripts copied to clipboard

Anti virus detects it as a threat

Open valarizz opened this issue 1 year ago • 44 comments

I was playing with it for like an hour and then it crashed. I first thought that vac detected it, but no windows defender just deleted the file. When i try to reinstall it it instantly gets deleted because its a 'virus'

valarizz avatar Apr 13 '25 09:04 valarizz

I know i can just turn off real time protection but why the fuck is it so certain that its a virus

valarizz avatar Apr 13 '25 09:04 valarizz

I’m not really sure why Microsoft Defender is detecting it as a virus. I don’t know exactly which function is triggering it either, but I’ll try to figure it out and find a proper solution.

emp0ry avatar Apr 13 '25 10:04 emp0ry

Microsoft Defender detects the "potential" virus inside the scrip as "Trojan/Script:Wacatac.B!ml". I turned off the real time protection and downloaded the file. Afterwards i immediately turned on the antivirus and it sent me a threat detection. I hope this somehow helps idk.

M11viccok avatar Apr 13 '25 16:04 M11viccok

Try now, maybe I fixed it :/

emp0ry avatar Apr 13 '25 18:04 emp0ry

No, it still detects the virus. Perhaps the problem is occurring due to your latest updates? Otherwise, the file may be trivially malicious. I have nothing more to offer.

M11viccok avatar Apr 13 '25 19:04 M11viccok

Can you scan this file on VirusTotal and provide the report link?

emp0ry avatar Apr 13 '25 19:04 emp0ry

Apologies for a late response. So I scanned your file (latest 1.1.7 version) via VirusTotal you offered to, and it also detected a trojan file inside your .exe

I didn't had any previous experiences using VirusTotal, but I hope I did everything right. Here is the link: https://www.virustotal.com/gui/file/2a9d8c4da474b4cbdfd4191bd60f8a4793b76288084c615b923525c15eba2586

M11viccok avatar Apr 14 '25 07:04 M11viccok

Every time I recompile my project, VirusTotal shows fewer detections. But once I upload it to GitHub and some time passes, the detections start increasing again—LOL. Currently sitting at 24 detections, but still no Microsoft flag: https://www.virustotal.com/gui/file/3d6f7785a734313cc98eef2fd1be8d031656e981c57f82ea2a80dfc3393263a0?nocache=1

emp0ry avatar Apr 14 '25 10:04 emp0ry

Thinking about adding a live custom compiler that tweaks the code and recompiles it per user. Unique builds = fewer VirusTotal detections.

emp0ry avatar Apr 14 '25 10:04 emp0ry

Well, that is weird how Github affects the file, and your idea of making unique builds could in theory work.

I can't understand why a lot of security vendors flagged the file as malicious. It's just weird how it's still a false positive.

M11viccok avatar Apr 14 '25 12:04 M11viccok

Maybe someone complains about the file, as a result of which Microsoft defender deletes it. I'm sorry for the text, there may be errors in it since I used a translator (I'm from Russia)

imgoded avatar Apr 14 '25 14:04 imgoded

I created a rebuilder but that didn't help Microsoft falsely detect it again.

emp0ry avatar Apr 14 '25 14:04 emp0ry

I'm trying to figure out what exactly Microsoft is falsely detecting.

emp0ry avatar Apr 14 '25 14:04 emp0ry

Can mask the file?

imgoded avatar Apr 14 '25 14:04 imgoded

Maybe, but I don't want to do it like that, I'll try to find a detect vector and fix it.

emp0ry avatar Apr 14 '25 14:04 emp0ry

I found a problem the double scope does not work in windowed mode

imgoded avatar Apr 14 '25 14:04 imgoded

I know :)

emp0ry avatar Apr 14 '25 14:04 emp0ry

I can't detect if you are in double scope without reading game memory.

emp0ry avatar Apr 14 '25 14:04 emp0ry

When I commented AutoStop thread, Microsoft stopped detecting it...

emp0ry avatar Apr 14 '25 14:04 emp0ry

But in version 1,1,5 it worked

imgoded avatar Apr 14 '25 14:04 imgoded