Replies: 6 comments 1 reply
-
Tools like GoReSym are very different from garble - I'm willing to bet that they wouldn't be able to share any code at all. I personally don't see a reason to integrate it into this repository or vice versa. They are perfectly fine as two separate projects, and you're free to choose whatever obfuscator and de-obfuscator that works best for you. As for "shooting blind" - note that there is
Is there anything in particular where you think garble could do better? If so, I would suggest to file separate issues if there aren't any already. An issue saying "I wish obfuscated binaries exposed less" isn't actionable, so I can't keep it open :) |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Hey @mvdan I am using redress to see how well its obfuscates ... https://github.com/goretk/redress then: redress info <golang binary>
redress packages <golang binary>
redress moduledata <golang binary>
Its very helpful for me, and so maybe for you and others as a cross check. I am using garble to protect the binaries from hacking aspects as the binaries are running on users laptops at the edge, which may also be injected with nasties. SO essentially lowering the attack surface. Its a nice secondary thing that garble is useful for. |
Beta Was this translation helpful? Give feedback.
-
I was curious what can be inspected from an obfuscated golang binary.
I found this after 5 minutes of googling.
https://github.com/mandiant/GoReSym is easy to use, and i was surprised how much stuff is still "exposed" in the binary.
install:
go install github.com/mandiant/GoReSym@latest
execute:
GoReSym.exe -t -d -p /path/to/binary
sample golang code:
The output from GoReSym is a massive JSON file, which shows you a huge amount of detail.
I produced one for non obfuscated code and one for garble obfuscated code.
Archive.zip contains these two file.
The garble settings were:
literal= false
tiny=false
Archive.zip
Beta Was this translation helpful? Give feedback.
All reactions