Ghidra: Take a compiled program apart and read what it does
Added · Updated
Made by National Security Agency
View profile on GitHub (opens in a new tab)Open a compiled program for Windows, macOS or Linux and read a reconstructed version of its code to work out what it does.
Ghidra is for security researchers and analysts who need to study software without its original source. It disassembles the program (turns machine code into readable processor instructions) and decompiles it (rebuilds higher-level code from those instructions), and lets you graph, annotate and script the analysis in Java or Python. It is built and maintained by the US National Security Agency’s Research Directorate, which says it has applied Ghidra to analysing malicious code.
What it does
It disassembles and decompiles compiled programs for Windows, macOS and Linux, covering a wide range of processor instruction sets and executable formats. Alongside reading the reconstructed code you can graph how a program flows, annotate what you work out, and script the analysis in Java or Python. It can run interactively as a desktop application or in an automated mode, and teams can work on the same analysis together, which the agency says was part of why it was built.
How to use it
Install a 64-bit JDK 25 (the Java development kit), download the official multi-platform release zip from the Assets list on the GitHub Releases page (not the Source Code files), and extract it into a new folder. Launch it with ./ghidraRun, or ghidraRun.bat on Windows; PyGhidra users start support/pyghidraRun instead. You then load a compiled program and work through its disassembly and decompiled code in the desktop window, or run the analysis in automated mode.
Common use cases
- Load a compiled program whose source code is gone, read its decompiled functions to find the routine behind a behaviour you noticed, and leave your own labels and comments as you go.
- Open a suspicious executable, view how its code flows as a graph, and note what each part does, the kind of malicious-code analysis the NSA says it built Ghidra for.
- Write a Java or Python script that repeats a check across a program’s analysis, editing it in Eclipse with the GhidraDev plugin or in Visual Studio Code from the Script Manager.
Can I use this?
Requirements A Windows, macOS or Linux computer with a 64-bit JDK 25 installed. Building from source instead also needs Gradle 9.1.0 or newer, Python 3.9 to 3.15, and a compiler toolchain (GCC or Clang with make on Linux and macOS, Visual Studio 2017 or newer build tools on Windows). The source does not list hardware requirements.
Caveat The source warns that certain versions have known security vulnerabilities and asks you to read the project’s security advisories before proceeding. It describes hundreds of features, so expect time to learn it.
Worth knowing This is a specialist security-research tool with a steep learning curve, not a general-purpose app. The project’s own documentation points to security advisories about known vulnerabilities in certain versions and asks you to read them first. Decompiled code is a reconstruction, not the original source. Licensed under Apache License 2.0.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 18 October 2026. It stays on BuildTube so you can still find it.
- 98,660 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View setup guideBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is Ghidra?
- It disassembles and decompiles compiled programs for Windows, macOS and Linux, covering a wide range of processor instruction sets and executable formats.
- What can I use Ghidra for?
- Load a compiled program whose source code is gone, read its decompiled functions to find the routine behind a behaviour you noticed, and leave your own labels and comments as you go; Open a suspicious executable, view how its code flows as a graph, and note what each part does, the kind of malicious-code analysis the NSA says it built Ghidra for; Write a Java or Python script that repeats a check across a program’s analysis, editing it in Eclipse with the GhidraDev plugin or in Visual Studio Code from the Script Manager
- Can I run Ghidra on my computer?
- It installs as a desktop app on your own computer. A Windows, macOS or Linux computer with a 64-bit JDK 25 installed. Building from source instead also needs Gradle 9.1.0 or newer, Python 3.9 to 3.15, and a compiler toolchain (GCC or Clang with make on Linux and macOS, Visual Studio 2017 or newer build tools on Windows).
- What do I need to use Ghidra?
- A desktop computer with a supported Java runtime, and time to learn it. The project publishes prebuilt releases as well as build instructions, and supports user-written extensions.
- What license does Ghidra use?
- Licensed under Apache License 2.0.
More from this week
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
- Spec Kit Turn a written spec into plans, tasks and code
Spec Kit gives your AI coding agent a step-by-step process to build a feature, fix a bug or assess an idea.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-nationalsecurityagency-ghidra/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-nationalsecurityagency-ghidra/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Ghidra on BuildTube"></iframe>