Ghidra is an NSA Research Directorate SRE framework with disassembly, decompilation, graphing, and scripting for analyzing compiled code on Windows, macOS, and Linux.
Overview
Ghidra is a software reverse engineering framework from the National Security Agency Research Directorate. It bundles analysis tools for working with compiled code across Windows, macOS, and Linux, including disassembly, assembly, decompilation, graphing, and scripting alongside many other capabilities.
The framework supports a wide range of processor instruction sets and executable formats. It can run in user-interactive or automated modes, and users may extend it with custom components or scripts written in Java or Python. A PyGhidra launch path is documented alongside the standard Ghidra run scripts on each platform.
Ghidra was designed to address scaling and teaming needs on complex SRE work and to serve as a customizable research platform. NSA describes applying its SRE capabilities to problems such as analyzing malicious code and helping analysts understand potential vulnerabilities in networks and systems.
Official releases ship as downloadable multi-platform packages that require a 64-bit JDK and are started via platform-specific run scripts after extraction. Eclipse and Visual Studio Code integrations are available for writing user scripts and extensions against a full installation.
Key features
- Disassembly and decompilation of binaries
- Windows, macOS, and Linux support
- Interactive and automated analysis modes
- Java and Python scripting and extensions
- Graphing and assembly tooling
- Broad CPU and executable format support
- PyGhidra interactive launch option
- Customizable analysis components
Use cases
- Reverse engineering compiled executables
- Analyzing malicious or unknown binaries
- Collaborative software reverse engineering work
- Researching vulnerabilities in compiled code