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 compile exe with Filecoder.NKZ trojan inside #21125
Comments
This is very likely a false positive caused by your AV software. This happens quite often. You should report this to your AV software vendor. |
But look, like I wrote on SO before - I scanned everything twice, and reinstall Go twice, so even if some malware was exist, it's gone after reinstalling. For 64x system compilation works fine, no problem, no viruses, only for 386. |
It's not a trojan, your AV software is faulty. |
This is a common problem with windows anti virus programs, https://github.com/golang/go/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20antivirus |
What @davecheney said. File a bug with your AV vendor. Or you already have a virus on your machine infecting your binaries and it only knows how to attach itself to 386 binaries. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.8.3
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Yevhenii\go
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
set PKG_CONFIG=pkg-config
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
What did you do?
When I'm compiling for adm64 - everythink is ok, but whem I change GOARCH for 386 my antivirus alert to me that my compiled exe file contain a WIN32/Filecoder trojan!
Also I create discussion on StackOverflow, please visit this link, you find more information there https://stackoverflow.com/questions/45246031/golang-compile-exe-with-trojan-inside?noredirect=1#comment77464937_45246031
What did you expect to see?
32x windows exe file
What did you see instead?
exe file with trojan inside
The text was updated successfully, but these errors were encountered: