Ghidra
Free and open-source software reverse engineering suite developed by the US National Security Agency and released publicly in 2019.
Ghidra is a software reverse engineering framework for analyzing compiled programs when source code is not available. It disassembles machine code for many processor architectures, decompiles it into readable C-like pseudocode, and provides tools for annotating functions, tracing data and comparing binaries. Analysts can automate work with scripts in Java or Python and extend the tool with plugins. Ghidra was developed by the Research Directorate of the US National Security Agency and is written mainly in Java.
The existence of Ghidra first became public through WikiLeaks' Vault 7 disclosures in 2017. The NSA announced its public release at the RSA Conference in March 2019 and published the source code under the Apache License 2.0 the following month. Its free decompiler made capabilities that had largely required expensive commercial tools, such as IDA Pro, available to students, independent researchers and smaller organizations. A multi-user server supports collaborative analysis of the same program by several analysts.
Reverse engineering is central to defense: analysts use Ghidra to understand malware, find and confirm vulnerabilities, check how firmware behaves and support incident response when a suspicious binary is found. It is also widely used in capture the flag competitions and courses. Some observers were initially wary of a tool from an intelligence agency, but open publication of the source code allowed independent review. Ghidra complements static analysis of source code by working directly on compiled software.
Key points
- Ghidra disassembles and decompiles machine code into readable pseudocode for many processor architectures.
- The NSA released Ghidra publicly in 2019 under the Apache License 2.0.
- Malware analysts and vulnerability researchers use it to understand software without source code.
- Open publication allowed outside review of a tool built by an intelligence agency.
Related entries
Malware
Software deliberately designed to disrupt, damage or gain unauthorized access to computers, networks or data, including viruses, worms and trojans.
Digital Forensics
Branch of forensic science that recovers, preserves and analyzes data from computers, phones and networks to investigate incidents and support legal cases.
Vulnerability
A weakness in software, hardware, configuration or process that an attacker could exploit to compromise confidentiality, integrity or availability.
Compiler
Program that translates source code written in one programming language, usually a high-level one, into another form such as machine code.
Static Analysis
Examination of source code or binaries without executing them, using automated tools to find bugs, security flaws and quality issues.
Incident Response
Organized approach to preparing for, detecting, containing and recovering from cybersecurity incidents while limiting damage and learning from them.
Capture the Flag
Security competition in which players solve hacking challenges or attack and defend practice systems to find hidden strings of text called flags.
Threat Intelligence
Evidence-based knowledge about cyber adversaries, their capabilities, tactics and indicators, used to anticipate, detect and respond to attacks.
Referenced by
Other entries that discuss or point to Ghidra.