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

Microsoft defender false positives of Go binaries on windows #1255

Open
42wim opened this issue Jun 27, 2024 · 2 comments
Open

Microsoft defender false positives of Go binaries on windows #1255

42wim opened this issue Jun 27, 2024 · 2 comments
Labels
question This issue is a question about the project

Comments

@42wim
Copy link

42wim commented Jun 27, 2024

Go binaries are more and more detected as false positive trojans by the (machine learning AI) of Microsoft Defender.

This makes it very difficult for developers to support and release binaries for windows.
(Compiling the same code as a linux binary btw doesn't get detected by Defender)

See also

This isn't probably that can be solved here, but I didn't really find a better way to contact anyone about this.

@dagood
Copy link
Member

dagood commented Jun 28, 2024

Yeah, on the Microsoft Go team we're aware of Windows Security/Defender issues with Go apps. You're right that we can't exactly go fix something and solve all Go false positives. 😄 I do have a few links about this to share, though:

There is some information here about some steps you can take as a developer: Partnering with the industry to minimize false positives. The headliner is signing. Signing is already mentioned in the Reddit post you linked, but this article explains a bit more about why that helps. The other tips are also interesting, but whether or not they're helpful probably depends on the app.

Ultimately, you can also report individual false positives to https://www.microsoft.com/en-us/wdsi/filesubmission.

@dagood dagood added the question This issue is a question about the project label Jun 28, 2024
@42wim
Copy link
Author

42wim commented Jun 29, 2024

Thanks for the feedback, I'm already signing the executables with sectigo and unfortunately my experience with signing is that it doesn't really make much of a difference. It seems random.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue is a question about the project
Projects
None yet
Development

No branches or pull requests

2 participants