logoalt Hacker News

Ghidra by NSA

150 pointsby handfuloflightlast Saturday at 4:24 AM85 commentsview on HN

Comments

alexrptoday at 3:37 PM

Binary Ninja deserves a mention in these threads: https://binary.ninja

I've used IDA, Ghidra, and Binary Ninja a lot over the years. At this point I much prefer Binary Ninja for the task of building up an understanding of large binaries with many thousands of types and functions. It also doesn't hurt that its UI/UX feel like something out of this century, and it's very easy to automate using Python scripts.

show 1 reply
palatatoday at 3:09 PM

Taking the opportunity to ask: are there nice recommended resources for a beginner to start with reverse engineering (ideally using Ghidra)? Let's say for an experienced developer, but not so experienced in reverse engineering?

I guess one issue I have is that I don't have good ideas of fun projects, and that's probably something I need to actually get the motivation to learn. I can find a "hello world", that's easy, but it won't help me get an idea of what I could reverse engineer in my life.

For instance I have a smartspeaker that I would like to hack (being able to run my own software on it, for fun), but I don't know if it is a good candidate for reverse engineering... I guess I would first need to find a security flaw in order to access the OS? Or flash my own OS (hoping that it's a Linux running there), but then I would probably want to extract binary blobs that work with the buttons and the actual speaker?

show 3 replies
lacooljtoday at 5:13 PM

Posting this on Github is a brilliant move by the NSA, and it showing up on HN amplifies it even more.

It's certainly not the first thing they've released (selinux, for one, and then all the other repos in the account), but this repo showing up on HN, with a prominent call-to-action to look at a career with them, is a great way to target the applicants you want ("those who would find this project interesting, because it's just the sort of thing we need them to work on")

Atlassian used to do (maybe still does) this in bitbucket if you open dev tools - a link to their careers page shows up

xvilkatoday at 2:24 PM

Cutter[1] by RizinOrg[2].

[1] https://github.com/rizinorg/cutter

[2] https://github.com/rizinorg/rizin

show 1 reply
jakozaurtoday at 3:44 PM

Funny thing, AI is not that terrible at using Ghidra. We released a benchmark on that and hopefully models will improve: https://quesma.com/blog/introducing-binaryaudit/

show 1 reply
staredtoday at 4:12 PM

Awesome soft!

It works surprisingly nicely with AI agents (I mean, like Cursor or Claude Code, I don't let it run autonomously!).

Here on detecting malware in binaries (https://quesma.com/blog/introducing-binaryaudit/). I am now in process of recompiling and old game Chromatron, from PowerPC binary to Apple Silicon and WASM (https://p.migdal.pl/chromatron-recompiled/, ready to play, might be still rough edges).

mahaloztoday at 4:48 PM

Since we’re talking about decompilers, might as well mention the community around the research area: http://decompilation.wiki/

As well as the research history (slated to be updated in a few days): https://mahaloz.re/dec-progress-2024

quux0rtoday at 3:24 PM

While on the topic, I want to highlight two incredible plugins for Ghidra: https://github.com/jtang613/GhidrAssist And https://github.com/jtang613/GhidrAssistMCP

Being able to hook Claude code up to this has made reversing way more productive. Highly recommend!

show 1 reply
ambitious_whaletoday at 5:08 PM

What does it do I don't understand a think can someone explain me

Supermanchotoday at 3:54 PM

I first used Ghidra this weekend as part of this series:

https://www.youtube.com/watch?v=d7qVlf81fKA&list=PL4X0K6ZbXh...

(#3 forward uses Ghidra)

It worked fine in Ubuntu and Windows. The interface takes some getting used to, but paired with Bless Unofficial (using snap to install), it makes reverse engineering smooth.

Alifatisktoday at 4:26 PM

There is also Hopper for ObjC/Swift, haven't tried it personally though

https://www.hopperapp.com

yiberstoday at 3:08 PM

Can anyone provide their opinion of Ghidra vs Ida? Is Ida worth the extra money?

show 3 replies
mturktoday at 2:25 PM

Ghidra is a very impressive piece of software with a deep bench of functionality. The recent couple major releases that move to a more integrated Python experience have been very nice to use.

zeon256today at 2:31 PM

Been awhile since I used this but decided to open the latest version to check my rust binary and was pleasantly surprised how much better it is today wrt rust binaries

show 1 reply
mdavid626today at 3:04 PM

Works well. I used this tool once to disassemble and understand how key manager works on Vivotek cameras.

They create executables, which contain encrypted binary data. Then, when the executable runs, it decodes the encrypted data and pipes it into "sh".

The security is delusional here - the password is hard coded in the executable. It was something like "VIVOTEK Inc.".

Ghidra was able to create the C code and I was able to extract also the binary data to a file (which is essentially the bash script).

show 1 reply
commandersakitoday at 4:02 PM

Awful to use with a tiling window manager.

29athrowawaytoday at 4:40 PM

OllyDbg inspired: https://github.com/eteran/edb-debugger

systemstoday at 2:47 PM

is ghidralite dot com a safe link or an official link

when i try to expand their faq, it seem to try an open a (presumabl) malicious link , i wont paste the link here just in case it is really malicious

show 1 reply
jevinskietoday at 4:45 PM

Is it just me or is the merge style used for the repo very difficult to follow? Am I holding it wrong?

atemerevtoday at 2:28 PM

I always wondered whether they have a much more capable internal version. And I wonder the same thing for AI labs (they have to do a lot of lobotomy for their models to be ready for public use... but internally, they can just skip this perhaps?)

show 4 replies
maximalthinkertoday at 5:06 PM

[dead]

jeevacationtoday at 2:58 PM

[flagged]

show 1 reply
jeevacationtoday at 2:59 PM

so, is Ghidra like Cheat Engine?

show 1 reply
flippedtoday at 3:24 PM

Is this backdoored just like SELinux?