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

Analyzing GOLANG compiled binaries not possible #5

Closed
MikeHofmann opened this issue May 26, 2020 · 4 comments
Closed

Analyzing GOLANG compiled binaries not possible #5

MikeHofmann opened this issue May 26, 2020 · 4 comments

Comments

@MikeHofmann
Copy link

Hi,

when uzing Nauz on a binary compiled from GOLANG, it fails to detect the language and the involved compiler. But when analyzing the same sample with DIE, at least the language is detected. (both using the CLI version)

Nauz output:

PE 32
    Unknown: Unknown

DIE output:

PE: compiler: Go(1.x)
PE: linker: unknown(3.0)[EXE32,console]

i prefer using Nauz over DIE, as Nauz seems to include build numbers from the tool chain involved. For example using it on a locky

Nauz:

PE 32
    Linker: Microsoft linker(14.00.23918)
    Compiler: Visual C/C++(19.00.23918)[C++]
    Tool: Microsoft Visual Studio(2015 Update 2)

vs

DIE:

PE: compiler: Microsoft Visual C/C++(2015 v.14.0)[-]
PE: linker: Microsoft Linker(14.0, Visual Studio 2015 14.0*)[EXE32]

so switching to DIE isn't an option for me.

@horsicq
Copy link
Owner

horsicq commented May 26, 2020

Hello, Thanks a lot for the bugreport. I'll add the "go lang" support ASAP.

@horsicq
Copy link
Owner

horsicq commented May 27, 2020

Fixed.
Are you using NFD compiled from sources? Or I should make binaries?

@horsicq horsicq closed this as completed May 27, 2020
@MikeHofmann
Copy link
Author

I'm compiling it myself (in Docker, i did the PR for the Dockerfile from my personal account, this is my business account).

and Nauz now gives:

PE 32
    Compiler: Go(1.X)

perfect, thx a lot.

@horsicq
Copy link
Owner

horsicq commented May 28, 2020

Nice to hear it. It should show full version(for example 1.14.3) for the last versions of Go. Sure if the file is not strong stripped/obfuscated.

I'm trying to transfer all the functionality of DiE to NFD, but it takes time.

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

2 participants