Communitygithub.com

binary-ninja-reverse

用于在 Binary Ninja 中进行授权二进制分析,支持 HLIL/MLIL/LLIL 检查、字符串/导入/导出、交叉引用、类型、补丁审查、Python API 自动化以及可选的 Binary Ninja MCP 或 localhost HTTP 集成。

binary-ninja-reverse 是什么?

该技能专为 Binary Ninja 逆向工程场景设计,提供了完整的分析工作流,涵盖 HLIL、MLIL、LLIL 等多种中间语言检查,以及字符串、导入、导出、交叉引用、类型分析和补丁审查等功能。它支持通过 GUI/Python API 直接交互,也可通过社区 MCP 桥接(基于 `fosdickio/binary_ninja_mcp`)实现本地 HTTP 集成,但需注意该桥接并非 Vector 35 官方组件,且需手动安装 Binary Ninja 商业授权。技能强调安全操作,如对副本进行分析、记录关键元数据,并在高影响结论时通过第二证据源交叉验证。支持的平台包括 Binary Ninja 的 GUI 和 CLI 环境,适用于需要与 IDA/Ghidra/radare2 结果独立复核的场景。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/skills/binary-ninja-reverse

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Binary Ninja 逆向工程

仅在用户明确选择 Binary Ninja、其 IL 能实质性帮助数据流分析,或需要独立验证 IDA/Ghidra/radare2 结果时使用。

安全启动

  1. 在对目标执行操作前,确认仓库案例范围已就绪。
  2. 检查 skills/tool-index.md 中是否有 binaryninja;Binary Ninja 是商业软件,必须手动安装并持有有效的 Vector 35 许可证。
  3. 对副本进行操作,避免修改原始文件或保存数据库更改。
  4. 在推进发现之前,记录导入/导出、入口点、架构和文件哈希。

选择集成方式

  • GUI 或 Python API: 当 Binary Ninja 已打开或用户希望直接交互分析时首选。
  • 社区 MCP 桥接: 仅在明确请求时使用,并审查第三方插件边界。将 Binary Ninja HTTP 监听器保持在 127.0.0.1:9009;默认不启用网络暴露。
  • 备用方案: 当 Binary Ninja 不可用或其许可证/API 无法打开目标时,使用 ghidra-reverse、ida-reverse 或 radare2。

审查过的社区集成是 fosdickio/binary_ninja_mcp,GPL-3.0 许可证,插件元数据版本 1.1.0,最低 Binary Ninja 构建版本 4000。该仓库并非 Vector 35 的官方组件。此技能基于提交 8c5134ee46e2bf44f9a4d846bd971c3e39b3e306(2026-09-03)进行审查。

通过 Binary Ninja 的插件管理器或从审查过的源码安装 Binary Ninja 端。对于 MCP stdio 桥接,请固定桥接发布版本,而不要使用未限定范围的包:

npx -y [email protected] --host 127.0.0.1 --port 9009

仅将上述命令注册到用户选择的 MCP 客户端中。直到 Binary Ninja 正在运行、已打开二进制文件且 localhost 插件端点响应之前,桥接未就绪。

分析工作流

  1. 枚举已打开的二进制文件并选择目标视图。
  2. 捕获二进制文件状态、入口点、段、导入、导出和代表性字符串。
  3. 在解释单个函数之前,先跟踪调用点和交叉引用。
  4. 使用 HLIL 获取可读逻辑,MLIL SSA 进行数据流分析,LLIL/反汇编则在提升丢失指令级行为时使用。
  5. 增量式应用名称、注释和类型;保留原始地址作为证据。
  6. 将字节补丁、原型更改和保存文件写入视为变更。仅在请求时执行,并保留原始工件。
  7. 使用第二证据源或其他反汇编器交叉验证高影响力结论。

实用的 MCP 能力系列包括:二进制/视图选择、list_imports、list_exports、list_strings、decompile_function、get_il、调用者/被调用者、交叉引用、类型、注释、重命名和字节补丁。请发现实时的工具列表,而不是假设每个上游功能都存在。

输出

报告具体的地址、函数名称、IL 级别、支持的字符串/导入、置信度以及复现步骤。保持仓库中使用的“证据 → 发现 → 路径”链。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.

binary-diff

|

browser-automation

|

browser-extension-reverse

Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

case-review

Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.

cloud-k8s

Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

ctf-sandbox

Thin PRIMARY for CTF / AWD / 靶场 multi-type orchestration. Hands off to the sidecar CTF-Sandbox-Orchestrator. Use when the user says CTF, AWD, 靶场, or 比赛题 and no more specific pwn/APK/IDA route already won.

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

diagram-generator

generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.

digital-forensics

Use for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.

docs-generator

|

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering / ida-reverse)。

edr-bypass-re

|

email-security

Use for authorized email security review including phishing analysis, header authentication (SPF/DKIM/DMARC), BEC patterns, and mailbox token abuse research.

firmware-pentest

|

ghidra-reverse

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

go-rust-reverse

Use for reverse engineering stripped Go and Rust binaries including runtime recognition, pclntab/moduel data recovery, panic strings, and idiomatic decompilation recovery.

相关技能