A software reverse engineering (SRE) framework
open sourceApache-2.0self-hostablefree
Ghidra is a software reverse engineering framework created and maintained by the National Security Agency Research Directorate. It analyzes compiled code with disassembly, assembly, decompilation, graphing and scripting, supports a wide range of processor instruction sets and executable formats, and runs interactively or in automated (headless) mode. Extensions and scripts are written in Java or Python (PyGhidra). It was built for scaling and teaming on large reverse engineering efforts, needs a 64-bit JDK, ships as one multi-platform release for Windows, macOS and Linux, and is Apache-2.0 licensed.
Ways to install
Package managers
Problems it solves
- decompile a binary back into readable C-like code to understand what it does
- analyze a malware sample's compiled code without paying for a commercial disassembler
- reverse engineer firmware built for an unusual processor architecture
- script repetitive analysis of compiled programs in Python or Java
- run binary analysis in batch on many files without opening a GUI
- see a function's control flow as a graph while reverse engineering
- find out how a closed-source program handles a file format
- work with teammates on reverse engineering the same large binary
Features
- disassembly and assembly
- decompiler
- graphing
- Java and Python (PyGhidra) scripting
- many processor instruction sets and executable formats
- interactive and automated modes
- extension components
- multi-platform release (needs JDK 25 64-bit)
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Ghidra does.
- IDA Pro A powerful disassembler, decompiler and debugger
- Binary Ninja Interactive decompiler, disassembler, debugger and binary analysis platform
- radare2 UNIX-like reverse engineering framework and command-line toolset
- ImHex A hex editor for reverse engineers, programmers and people who value their retinas when working at 3 AM
