ghidra

NationalSecurityAgencyApache-2.0活跃维护

NSA 开源的软件逆向工程框架,支持反汇编、反编译和二进制分析,可替代 IDA Pro 做恶意代码分析与漏洞研究。

Ghidra is a software reverse engineering (SRE) framework

Ghidra_12.2_build发布于 2026-10-22 08:31 UTC99,290star +844 / 7 天11,279fork同步于 2026-11-10 17:17 UTC

怎么上手

由 README 提炼,执行前请确认
安装 JDK 25 64 位后下载官方 release zip 并解压,运行 ./ghidraRun(Windows 用 ghidraRun.bat)
硬件要求按 README 说明

README 未说明显存或 GPU 要求;需安装 64 位 JDK 25,支持 Windows、macOS、Linux 平台

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

NSA 开源的软件逆向工程框架,用于反汇编、反编译和分析多平台编译代码

NSA 开源的软件逆向工程框架,支持反汇编、反编译和二进制分析,可替代 IDA Pro 做恶意代码分析与漏洞研究。

核心能力

  • 提供反汇编、汇编、反编译与图形化分析能力
  • 支持多种处理器指令集和可执行文件格式
  • 可在交互式界面或自动化模式下运行
  • 支持用 Java 或 Python 编写扩展组件和脚本
  • 内置 PyGhidra 支持 Python 方式启动使用

容易踩的坑

需先安装 64 位 JDK 25,版本不符无法启动;下载 release 时须选 Assets 中的 ghidra_.zip,不要下 Source Code;解压时不要覆盖已有安装目录;从源码构建还需 Gradle 9.1.0+、Python3 及 GCC/Clang 或 Visual Studio 等工具链

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本Ghidra_12.2_build
  1. Ghidra_12.2_buildGhidra 12.2最新正式版2026-10-22 · 2026-10-22 08:31 UTC
  2. Ghidra_12.1.4_buildGhidra 12.1.42026-09-21 · 2026-09-21 17:38 UTC
    查看更新说明
  3. Ghidra_12.1.3_buildGhidra 12.1.32026-08-18 · 2026-08-18 16:19 UTC
    查看更新说明
  4. Ghidra_12.1.2_buildGhidra 12.1.22026-06-05 · 2026-06-05 18:24 UTC
    查看更新说明
  5. Ghidra_12.1_buildGhidra 12.12026-05-13 · 2026-05-13 19:48 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Ghidra Software Reverse Engineering Framework

    Ghidra is a software reverse engineering (SRE) framework created and maintained by the National Security Agency Research Directorate. This framework includes a suite of full-featured, high-end software analysis tools that enable users to analyze compiled code on a variety of platforms including Windows, macOS, and Linux. Capabilities include disassembly, assembly, decompilation, graphing, and scripting, along with hundreds of other features. Ghidra supports a wide variety of processor instruction sets and executable formats and can be run in both user-interactive and automated modes. Users may also develop their own Ghidra extension components and/or scripts using Java or Python.

    In support of NSA's Cybersecurity mission, Ghidra was built to solve scaling and teaming problems on complex SRE efforts, and to provide a customizable and extensible SRE research platform. NSA has applied Ghidra SRE capabilities to a variety of problems that involve analyzing malicious code and generating deep insights for SRE analysts who seek a better understanding of potential vulnerabilities in networks and systems.

    If you are a U.S. citizen interested in projects like this, to develop Ghidra and other cybersecurity tools for NSA to help protect our nation and its allies, consider applying for a career with us.

    Security Warning

    WARNING: There are known security vulnerabilities within certain versions of Ghidra. Before proceeding, please read through Ghidra's Security Advisories for a better understanding of how you might be impacted.

    Install

    To install an official pre-built multi-platform Ghidra release:

    • Install JDK 25 64-bit
    • Download a Ghidra release file
      • NOTE: The official multi-platform release file is named ghidra_<version>_<release>_<date>.zip which can be found under the "Assets" drop-down. Downloading either of the files named "Source Code" is not correct for this step.
    • Extract the Ghidra release file
      • NOTE: Do not extract on top of an existing installation
    • Launch Ghidra: ./ghidraRun (ghidraRun.bat for Windows)
      • or launch PyGhidra: ./support/pyghidraRun (support\pyghidraRun.bat for Windows)

    For additional information and troubleshooting tips about installing and running a Ghidra release, please refer to the Getting Started document which can be found at the root of a Ghidra installation directory.

    Build

    Build Ghidra

    To create the latest development build for your platform from this source repository:

    Install build tools:
    Download and extract the source:

    Download from GitHub

    unzip ghidra-master
    cd ghidra-master
    

    NOTE: Instead of downloading the compressed source, you may instead want to clone the GitHub repository: git clone https://github.com/NationalSecurityAgency/ghidra.git

    Download additional build dependencies into source repository:

    NOTE: If an Internet connection is available and you did not install Gradle, the ./gradlew (or gradlew.bat) command may be used in place of the gradle command in the following instructions.

    gradle -I gradle/support/fetchDependencies.gradle
    
    Create development build:
    gradle buildGhidra
    

    The compressed development build will be located at build/dist/.

    For more detailed information on building Ghidra, please read the Developer's Guide.

    For issues building, please check the Known Issues section for possible solutions.

    Develop

    User Scripts and Extensions

    Ghidra installations support users writing custom scripts and extensions via the GhidraDev plugin for Eclipse. The plugin and its corresponding instructions can be found within a Ghidra release at Extensions/Eclipse/GhidraDev/ or at this link. Alternatively, Visual Studio Code may be used to edit scripts by clicking the Visual Studio Code icon in the Script Manager. Fully-featured Visual Studio Code projects can be created from a Ghidra CodeBrowser window at Tools -> Create VSCode Module project.

    NOTE: Both the GhidraDev plugin for Eclipse and Visual Studio Code integrations only support developing against fully built Ghidra installations which can be downloaded from the Releases page.

    Advanced Development

    To develop the Ghidra tool itself, it is highly recommended to use Eclipse, which the Ghidra development process has been highly customized for.

    Install build and development tools:
    Prepare the development environment:
    gradle prepdev eclipse buildNatives
    
    Import Ghidra projects into Eclipse:
    • File -> Import...
    • General | Existing Projects into Workspace
    • Select root directory to be your downloaded or cloned ghidra source repository
    • Check Search for nested projects
    • Click Finish

    When Eclipse finishes building the projects, Ghidra can be launched and debugged with the provided Ghidra Eclipse run configuration.

    For more detailed information on developing Ghidra, please read the Developer's Guide.

    Contribute

    If you would like to contribute bug fixes, improvements, and new features back to Ghidra, please take a look at our Contributor's Guide to see how you can participate in this open source project.