binary-triage
БесплатноБез исполняемых скриптовНе проверенUse when surveying any program, firmware image, shellcode or bytecode in Ghidra before a request is scoped; asked to triage, survey, give an overview or say…
Об этом скилле
Binary Triage
Run the eight steps in order, then hand off. Pass the programPath from step 1 to every call. Batch independent calls. Empty result: write "none".
1. Identify
Call
list-project-fileswithfolderPath/andrecursivetrue. The file entry is the program path.- No program listed and the user named a file: call
import-filewith that path, thenanalyze-program; statusrunning: callanalysis-statuswith itsjobIduntil terminal. - Several programs: write each under Leads.
- No program listed and the user named a file: call
Call
get-memory-blocks. Format from block names:Headersand.rdatais Windows PE;.rodataand.pltis Linux ELF;__TEXTand__LINKEDITis macOS Mach-O; one block with no header is firmware, a raw image or shellcode.Architecture: the processor any tool result names, else the address width (8 hex digits 32-bit, 16 64-bit).
Call
list-importswithgroupByLibrarytrue, thenlist-exports. The entry point is the exportentry,startor_start; with none, the start of the first executable block. List all exports.Runtime signatures. Call
get-stringswithregexPatternGo build ID|panicked at|Ljava/, then match:- .NET:
mscoree.dll,_CorExeMain. - Go:
runtime.symbols,Go build ID:,.gopclntab. - Rust:
core::symbols,panicked at,.rspaths. - Java or Dalvik:
classes.dex,Ljava/strings,JNI_OnLoad. - Script in a dropper: PowerShell, VBScript, JavaScript or shell text.
- None of these: native.
- .NET:
Packing. Count the signs:
- Entry point outside the first executable block, or in a writable one.
- Packer block names:
UPX0,.aspack,.MPRESS1,.themida,.vmp0. - Under ten imports for a program over 100 KB, or only loaders (
GetProcAddress,dlsym). - One large block with few strings and no text from
read-memorywithlength64,formatascii. - An executable block of a few KB beside a large data block.
Two or more signs: record "packing: likely" with the signs; unpacking is candidate thread 1. One sign: write it under Leads. Else: "packing: no".
Call
set-bookmarkwithaddressOrSymbolthe entry point,typeNote,categorySurvey,commentthe facts so far: format, architecture, runtime, packing.
2. Memory layout
Write under Leads, with address: a block both writable and executable; one block far larger than the rest.
3. Strings
Call get-strings-count, then get-strings in pages. Sort, with addresses:
- Network: URLs, IPs, domains, user agents.
- Files and settings: paths, registry keys,
.plist,.ini. - Commands:
cmd.exe /c,/bin/sh -c,schtasks,launchctl. - Crypto: Base64 alphabets, key-like hex.
- Banners: library versions.
4. Imports by capability
Group the step 1 imports. Each line gives Windows; POSIX; macOS names:
- Network:
WinHttpSendRequest;socket;NSURLSession. - Execution:
CreateProcessW;execve;posix_spawn,NSTask. - Memory:
VirtualAlloc,WriteProcessMemory;mmap;mach_vm_allocate. - Crypto:
CryptEncrypt;EVP_EncryptInit_ex;CCCrypt. - Persistence:
RegSetValueExW,CreateServiceW,CoCreateInstance; cron or systemd paths;SMJobBless,LaunchAgentspaths. - Anti-analysis:
IsDebuggerPresent;ptrace;sysctl.
5. Functions
- Call
get-function-countwithfilterDefaultNamesfalse, then true. MostlyFUN_names: stripped. - Call
get-functionswithfilterDefaultNamestrue, in pages. - Find main:
main,WinMain,DllMain,ServiceMain,main.main,JNI_OnLoad. - Library versus own code: runtime or library names (
std::,runtime.,EVP_) are library; the rest is own.
6. Cross-references for leads
- Pick five leads: network and execution strings and imports first.
- String:
find-cross-referenceswithlocationits address,directionto,includeContexttrue. Import:find-import-referenceswithimportName. - Record the calling function and address. A function in two or more groups is a strong lead.
- Write the other strings and imports under Leads, unchecked.
7. First look at code
Decompile four functions at most:
- The entry point.
- Up to three leads: main if the entry point only calls it, then step 6's strongest.
Step 7 is one reply: its get-decompilation calls, limit 30. The next reply calls step 8.1's set-bookmark; any other function goes, undecompiled, into ## Candidate threads. Each decompiled function gets a line there too.
8. Record and hand off
- Call
set-bookmarkat the entry point, sametypeandcategory; it replaces the step 1 text.comment: a one-paragraph summary adding apparent purpose and top leads. - Write these sections in your reply:
## Survey
- Format:
- Architecture:
- Runtime:
- Packing:
- Entry points and exports:
- Library versus own code:
- Strings and imports landscape:
- Leads:
- Size: <single question | few threads | verdict or deliverable> — <why>
## Candidate threads
1. <question> —
Установить binary-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл binary-triage?
Use when surveying any program, firmware image, shellcode or bytecode in Ghidra before a request is scoped; asked to triage, survey, give an overview or say "what is this"; or sent here by `reverse-engineering`.
Как установить скилл binary-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл binary-triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic