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

Go 1.16 for windows - trojan detection #44351

Closed
jelhub opened this issue Feb 17, 2021 · 4 comments
Closed

Go 1.16 for windows - trojan detection #44351

jelhub opened this issue Feb 17, 2021 · 4 comments

Comments

@jelhub
Copy link

jelhub commented Feb 17, 2021

What version of Go are you using (go version)?

$ go version
go version go1.16 windows/amd64

Running on Windows 10

What did you do?

Uninstalled 1.15.7 and installed the new version 1.16 for testing
/go run .

Windows Virus & treat protection detects a virus, got message:
go tool asm: fork/exec C:\Program Files\Go\pkg\tool\windows_amd64\asm.exe: Operation did not complete successfully because the file contains a virus or potentially unwanted software.

What did you expect to see?

Something else than a virus warning

image

@davecheney
Copy link
Contributor

Duplicate of #44323

Please feel free to comment if you disagree.

@jelhub
Copy link
Author

jelhub commented Feb 17, 2021

Unfortunately not everyone can override domain controlled virus policies.
Would be a lot of job for all using windows
Maybe you should inform those making virus protections e.g. Microsoft, Bitdefender, ...

@ALTree
Copy link
Member

ALTree commented Feb 18, 2021

Maybe you should inform those making virus protections e.g. Microsoft, Bitdefender, ...

Sorry but I believe it's your responsibility (or your place IT department's) to let the specific antivirus vendor you choose to make business with that their product is unable to tell apart a Go compiler from a trojan.

@jelhub
Copy link
Author

jelhub commented Feb 18, 2021

FYI,
Submitted request to Microsoft and got following feedback:

We have removed the detection. Please follow the steps below to clear cached detection and obtain the latest malware definitions.

1. Open command prompt as administrator and change directory to c:\Program Files\Windows Defender
2. Run “MpCmdRun.exe -removedefinitions -dynamicsignatures”
3. Run "MpCmdRun.exe -SignatureUpdate"

Alternatively, the latest definition is available for download here: https://www.microsoft.com/en-us/wdsi/definitions

Now everything working fine.
Thanks

@golang golang locked and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants