weirdmachine64/GhidraGPT

GitHub: weirdmachine64/GhidraGPT

GhidraGPT 是一款将 LLM 大型语言模型集成到 Ghidra 逆向工程平台的插件,用于自动化代码重构、函数逻辑解释和安全分析。

Stars: 563 | Forks: 96

# GhidraGPT
![GhidraGPT Logo](https://static.pigsec.cn/wp-content/uploads/repos/cas/db/dbc0c90d721703c47bde0a41b09cf1a8ad8d25fe24318b79bfe34636ba615462.png) **作者**:Mohamed Benchikh [![GitHub Stars](https://img.shields.io/github/stars/ZeroDaysBroker/GhidraGPT?style=social)](https://github.com/ZeroDaysBroker/GhidraGPT/stargazers) [![GitHub Forks](https://img.shields.io/github/forks/ZeroDaysBroker/GhidraGPT?style=social)](https://github.com/ZeroDaysBroker/GhidraGPT/network) [![GitHub Issues](https://img.shields.io/github/issues/ZeroDaysBroker/GhidraGPT)](https://github.com/ZeroDaysBroker/GhidraGPT/issues) [![License](https://img.shields.io/github/license/ZeroDaysBroker/GhidraGPT)](https://github.com/ZeroDaysBroker/GhidraGPT/blob/main/LICENSE)
一个强大的 Ghidra 插件,将大型语言模型 (LLM) 直接集成到 Ghidra 中,通过代码分析和增强功能来提升逆向工程工作流。 ## 🎥 演示 ![Demo](https://static.pigsec.cn/wp-content/uploads/repos/cas/bd/bdbf0e7dd04ce364aa8a0da7c551d625fac2a2b9f0cbb36fedc16cff40cb1313.gif) ## 🚀 功能 ### 核心功能 - **函数重写**:通过重命名函数、重命名变量、类型推断、更新函数原型以及添加上下文注释来提高代码可读性,使反编译代码更易于人类阅读 - **代码解释**:详细解释函数逻辑和行为 - **代码分析**:漏洞检测和安全分析 ### 集成功能 - **上下文菜单集成**:右键点击函数即可进行即时模型分析 - **控制台界面**:专用的控制台,用于查看模型响应和结果 - **灵活配置**:通过配置面板进行轻松设置 - **流式处理**:实时的模型响应流式传输,提供更好的用户体验 ## 🛠️ 安装说明 1. **克隆仓库**: git clone https://github.com/ZeroDaysBroker/GhidraGPT.git cd GhidraGPT 2. **构建插件**: GHIDRA_INSTALL_DIR=/path/to/ghidra mvn clean package 构建好的扩展将在 `target/GhidraGPT-x.y.z.zip` 3. **在 Ghidra 中安装**: - 打开 Ghidra - 前往 `File → Install Extensions` - 点击 `+` 按钮并选择 `target/GhidraGPT-x.y.z.zip` - 重启 Ghidra - 通过 `File → Configure → Analysis → GhidraGPTPlugin` 启用插件 4. **配置 API 密钥**: - 打开 Ghidra 并导航至 GhidraGPT 配置面板 - 输入您首选的模型服务 API 密钥 - API 密钥将被自动加密并安全存储 ## 📋 支持的 AI 提供商 - **OpenAI**:GPT 模型 - **Anthropic**:Claude 模型 - **Google Gemini**:Gemini 模型 - **Cohere**:Command 模型 - **Mistral AI**:Mistral 模型 - **DeepSeek**:DeepSeek 模型 - **Grok (xAI)**:Grok 模型 - **Ollama**:自带模型 - **OpenAI Compatible**:自带兼容 OpenAI 的 API ## 📄 许可证 本项目基于 LICENSE 文件中指定的条款进行授权。 ## 🔗 依赖项 - **Ghidra**:兼容 Ghidra 10.0+ - **Java**:Java 11+ - **Maven**:构建系统 **GhidraGPT** - 利用 AI 的力量增强逆向工程
标签:AI安全, Chat Copilot, DLL 劫持, Ghidra插件, JS文件枚举, 云资产清单, 代码分析, 凭证管理, 域名枚举, 大语言模型, 辅助逆向, 逆向工程