Логотип Binary Ninja Mcp Analysis

Binary Ninja Mcp Analysis

Організація
SpecterOps
binary-ninja-mcp-analysis

Provides Binary Ninja IL documentation and MCP server usage guidance for binary analysis and reverse engineering

Огляд

ВидавецьSpecterOps
Репозиторійskills
Назва навичкиbinary-ninja-mcp-analysis
Зірки
706
Форки
80
Файли в пакеті
12
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 12

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем SpecterOps. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Binary Ninja Mcp Analysis у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/SpecterOps/skills/tree/main/plugins/reverse-engineering/skills/binary-ninja-mcp-analysis
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpecterOps/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/reverse-engineering/skills/binary-ninja-mcp-analysis .claude/skills/binary-ninja-mcp-analysis
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Binary Ninja Mcp Analysis в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Binary Ninja Mcp Analysis, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Binary Ninja Mcp Analysis не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Binary Ninja Analysis Skill

When to Use

Use this skill when working with Binary Ninja via the BinjaMCP server to analyze binaries. This includes:

  • Loading and analyzing binary files (ELF, PE, Mach-O, etc.)
  • Decompiling functions and understanding decompiler output
  • Reading or interpreting Binary Ninja Intermediate Language (BNIL) output at any level (LLIL, MLIL, HLIL)
  • Reverse engineering functions, understanding control flow, or tracing data flow
  • Annotating binaries (renaming functions/variables, setting comments, applying types)
  • Searching for strings, imports, exports, or cross-references
  • Understanding the structure of a binary (sections, segments, symbols)

When NOT to Use

Do not use this skill when the task does not involve binary analysis or reverse engineering with Binary Ninja. If you are writing Binary Ninja plugins in Python (not using the MCP server), this skill's MCP tool reference may not apply but the BNIL documentation is still relevant.

You must never use this skill unless the MCP server is available and the task involves interacting with Binary Ninja's analysis capabilities. If the task is purely theoretical or does not involve Binary Ninja, this skill is not appropriate.

Runtime Requirements

Codex should be configured directly with a mcp_servers.binary_ninja_mcp entry for fosdickio/binary_ninja_mcp. Use command = "npx" and args = ["-y", "binary-ninja-mcp", "--host", "localhost", "--port", "9009"] unless the Binary Ninja plugin is listening elsewhere. This plugin does not install, start, or wrap the Binary Ninja MCP server. Verify the Binary Ninja MCP tools are visible under /mcp before using live analysis workflows.

Terminology

  • BNIL - Binary Ninja Intermediate Language. The family of ILs used by Binary Ninja.
  • LLIL - Low Level IL. Closest to assembly; operates on registers, flags, and memory addresses.
  • MLIL - Medium Level IL. Translates registers to variables, associates types, propagates constants.
  • HLIL - High Level IL. Decompiler output with recovered control flow (if/while/for/switch).
  • SSA - Static Single Assignment. IL form where each variable is written exactly once; versions track modifications.
  • BinaryView (bv) - Top-level analysis object representing a loaded binary.
  • Function - A function identified by Binary Ninja, accessed by its start address.
  • BasicBlock - A straight-line sequence of instructions with one entry and one exit.
  • Cross-reference (xref) - A reference from one address to another (code or data).

MCP Server Overview

The BinjaMCP server exposes tools for interacting with Binary Ninja. Tools are grouped as:

CategoryToolsPurpose
Lifecycleload_binary, list_loaded_binaries, close_binaryLoad/manage binaries
Functionslist_functions, search_functions, get_function_info, get_function_typeDiscover and inspect functions
IL / Decompilationdecompile_function, get_hlil, get_mlil, get_llil, get_disassemblyView code at different abstraction levels
Stringslist_strings, search_stringsFind string data
Cross-refsget_xrefs_to, get_xrefs_from, get_function_callers, get_function_calleesTrace references and call graphs
Imports/Exportslist_imports, search_imports, list_exportsInspect symbol tables
Structurelist_sections, list_segmentsUnderstand binary layout
Annotationrename_function, rename_variable, set_comment, set_function_comment, set_function_typeAnnotate the binary
Variables/Datalist_variables, list_data_variables, get_data_var_at, get_basic_blocksInspect variables, globals, CFG
Raw Dataread_bytesRead raw memory

Choosing an IL Level

  • HLIL (decompile_function / get_hlil): Best for initial understanding. Recovers if/while/for/switch. Use for vulnerability analysis, logic review, and getting a high-level picture. Note: tree-based, so nested expressions can hide instructions.
  • MLIL (get_mlil): Best for precise analysis. Variables have types, constants are propagated, call parameters are resolved. Less folding than HLIL so easier to iterate linearly. Preferred for data flow tracing.
  • LLIL (get_llil): Best for low-level analysis. Shows register/flag operations, stack manipulation. Use when you need to understand exact instruction semantics or flag behavior.
  • Disassembly (get_disassembly): Raw native instructions. Use when IL abstractions lose important detail (e.g., specific instruction encodings, alignment).

Recommended Analysis Workflow

  1. Load: load_binary to open the target
  2. Survey: list_functions + list_imports + list_strings to understand scope
  3. Target: search_functions or search_strings to find areas of interest
  4. Analyze: decompile_function for initial understanding, then get_mlil or get_llil for precision
  5. Trace: get_xrefs_to / get_function_callers to understand how a function is reached
  6. Annotate: rename_function, rename_variable, set_comment to document findings
  7. Iterate: Use cross-references and call graphs to follow the analysis deeper

Context Efficiency Tips

  • Use search_functions / search_strings / search_imports instead of listing everything
  • Start with decompile_function (HLIL pseudo-C) before falling back to lower ILs
  • Use get_function_info to get metadata (size, callers, callees) before reading full IL
  • Use pagination (offset/limit) on list_functions and list_strings for large binaries
  • Prefer get_function_callers/get_function_callees over raw xref queries for call graph analysis

References

For detailed information on specific areas, consult the Reference Index.

Key references:

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Binary Ninja Mcp Analysis?

Provides Binary Ninja IL documentation and MCP server usage guidance for binary analysis and reverse engineering

Навіщо використовувати Binary Ninja Mcp Analysis у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Binary Ninja Mcp Analysis — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Binary Ninja Mcp Analysis у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/SpecterOps/skills/tree/main/plugins/reverse-engineering/skills/binary-ninja-mcp-analysis. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Binary Ninja Mcp Analysis?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Binary Ninja Mcp Analysis?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Binary Ninja Mcp Analysis — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Binary Ninja Mcp Analysis?

Так. Навичку опубліковано на GitHub: SpecterOps, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇