Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Defender understands the zip as malware #145

Closed
Kavci034 opened this issue Jun 28, 2024 · 10 comments
Closed

Windows Defender understands the zip as malware #145

Kavci034 opened this issue Jun 28, 2024 · 10 comments

Comments

@Kavci034
Copy link

After I downloaded the zip from the releases page Microsoft Defender quarantined it with: Trojan:Win32/Vigorf.A

@Peter0x44
Copy link
Contributor

Is it time to put a note in the readme or releases so people can stop opening these (non-)issues?

@Megaemce
Copy link

Megaemce commented Jul 3, 2024

is that really not an issue? Version 1.23 cannot be used on Windows 11 as the zip file is blocked straight after downloading.
If the main reason behind this project is "Portable C and C++ Development Kit for x64 Windows" well then I see here a big issue.

@Peter0x44
Copy link
Contributor

Peter0x44 commented Jul 3, 2024

@Megaemce I wish it weren't an issue, but it is out of our hands. There is nothing actionable here.

As for the zip file getting blocked, there is a slightly convoluted process you can use to get windows defender to stop deleting it.
unknown

Go on the page for the "threat" itself, and click "actions -> allow"

If you have suggestions for how to get Microsoft to stop false flagging w64devkit, I'd love to hear them. AFAIK, it is impossible.

@Peter0x44
Copy link
Contributor

This is an old screenshot from a different obnoxious run-in with windows defender, and it's on windows 10. But I doubt Windows 11 differs by that much here.

@Megaemce
Copy link

Megaemce commented Jul 3, 2024

Thx for the imput. Do you have any idea why then version 1.22 cause no windows defender alert?

@0xRemyRuiz
Copy link

0xRemyRuiz commented Jul 4, 2024

Unfortunately I don't have time to investigate right now but here's what VT reports : https://www.virustotal.com/gui/file/dce1d71a3629e060e8f84ae7fff7334753eda2f9ced4c5ebc7327b169a5b5359/behavior

IP traffic :

  • TCP 204.79.197.203:443
  • UDP 192.168.0.48:137
  • UDP a83f:8110:4c52:5043:2d61:3633:3264:6639:53
  • TCP 23.198.171.50:443
  • TCP 20.99.186.246:443

TLS :

  • api.msn.com

I find very strange that a supposedly portable compiler app make TCP calls. If someone can investigate/explain, that would be great.

It also seems to drop files in the folder : C:\Program Files (x86)\Google\GoogleUpdater\126.0.6462.0

What does this portable app have to do with the google updater?

It also does other things but I'm no expert in reversing windows binaries. I don't make accusations, I just am curious. In the end I personnally got visual studio back since I don't trust this repo yet. Windows defender removed the executable anyway and flag some part of it as a worm. I didn't feel like it was worth the risk to whitelist it even tho it could be a false positive.

@Peter0x44
Copy link
Contributor

Peter0x44 commented Jul 4, 2024

@0xRemyRuiz I don't know, but w64devkit.exe itself makes NO tcp calls, at all. Its source is small, you can manually review it yourself
https://github.com/skeeto/w64devkit/blob/master/src/w64devkit.c
Other components of w64devkit (busybox.exe), that w64devkit.exe itself starts might. But that is for some of its applets (Like wget) among other things. They aren't split in other executables for size reasons, so it might appear that way.

It also seems to drop files in the folder : C:\Program Files (x86)\Google\GoogleUpdater\126.0.6462.0

I don't know what you're talking about, but it sure isn't w64devkit that does that...

@skeeto
Copy link
Owner

skeeto commented Jul 4, 2024 via email

@0xRemyRuiz
Copy link

0xRemyRuiz commented Jul 5, 2024

Wow, I just tried my own current exercice in C and...it's a virus too... xD
It's got even more flag (7 AVs flag it as a virus lol). For a custom struct and a bunch of printfs, that's funny.
Thank you for taking the time to clarify and point out that VT is very broken.
In fact I tried the simplest code to open a file in 4 lines.

int main(int ac, char** av) {
    if (ac >= 2) fopen(av[1], "r");
    return 0;
}

And guess what, it is also a virus... Damn depressing... I suppose that those AVs detect every program that's "too basic" as a virus, if it doesn't have a certain degree of complexity and conformity, it flags it, probably just in case.
Sorry for being doubtful and suspicious, and thank you again for taking the time to respond!

@skeeto
Copy link
Owner

skeeto commented Aug 8, 2024

#79

@skeeto skeeto closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants