/drbinary-chat-plugin:binary-analysisfrom drbinary-chat-plugin
Analyzes binary files for malware, performs decompilation, extracts strings/imports/exports, and provides threat assessment.
Ships in drbinary-chat-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill performs deep analysis of suspicious binaries using the remote Dr. Binary MCP server. The server runs analysis remotely and has no access to your local filesystem, so a local file must first be uploaded into the remote workspace before any analysis tool can read it.
The upload is done with a short-lived curl command that you (Claude) run from your own shell via the Bash tool — the file's bytes stream directly to the server and never pass through the model context.
Use this skill when you need to:
Call prepare_upload with the name to store the file under. It returns a ready-to-run curl command containing a single-use upload link (valid for 10 minutes), with an <ABSOLUTE_LOCAL_PATH> placeholder.
prepare_upload(file_name="suspicious.exe")
Run the returned command yourself with the Bash tool, substituting <ABSOLUTE_LOCAL_PATH> with the absolute path to the local file. Do not print the command for the user to run — execute it directly. For example:
curl -f -F 'file=@/Users/me/Downloads/suspicious.exe' 'https://chat.deepbits.com/api/workspace/upload?upload_token=...'
On success the file is stored in the remote workspace under the chosen filename. The sandbox/analysis CWD is the workspace root, so you can refer to the file by its bare filename (e.g. suspicious.exe) in subsequent tool calls.
If the upload fails (expired or already-used token), call prepare_upload again to mint a fresh link.
inspect_binaryCall inspect_binary with the stored filename for fast, lightweight triage (powered by rz-bin / Rizin). It returns bounded file info, entrypoints, sections, imports, exports, linked libraries, symbol-derived functions, and strings — without full decompilation.
inspect_binary(filepath="suspicious.exe")
Use this first to understand what the file is before deciding where to dig deeper.
run_sandbox + RizinFor focused, deeper analysis, use run_sandbox to execute Rizin commands against the workspace file:
run_sandbox(command="rizin -qc '<rizin commands>' suspicious.exe")
Useful rizin -qc command strings (separate multiple with ;):
aaa; afl — analyze all, then list functionsaaa; pdf @ main — decompile/disassemble the main functioniz — strings in data sections; izz — strings in the whole fileii — imports; iE — exports; is — symbolsie — entrypoints; iS — sections; iI — binary infoThe sandbox image also includes radare2, binwalk, xxd, clang, python3 (with angr, pwntools, qiling), qemu (for qemu-{arch} -strace ...), apktool, jadx, and more — use run_sandbox for any of these when triage points to a specific need. run_sandbox takes an optional timeout (default 120s, max 600s).
dump_dataFor broad Ghidra-based decompilation across all functions, call dump_data(filepath="suspicious.exe"). It returns a folder path of dumped decompiled/disassembled output, which you can then explore with list_files and read_file. This is heavier than inspect_binary and targeted rizin runs — reach for it when you need wide decompilation coverage.
Analysis tools write text artifacts (decompiled .c files, JSON reports) into the workspace. Use list_files to see them and read_file to read their contents.
Provide a comprehensive analysis including:
prepare_upload(file_name, size?) — mint a one-time curl upload commandinspect_binary(filepath) — lightweight rz-bin triagerun_sandbox(command, timeout?) — run shell/Rizin/analysis commands in the sandboxdump_data(filepath) — full Ghidra decompilation dumplist_files(folder?) / read_file(filepath) — inspect workspace artifactsLook for:
Common categories:
run_sandbox only## Binary Analysis Report
**File Information**
- Name: [filename]
- Size: [bytes]
- MD5: [hash]
- SHA256: [hash]
**Analysis Summary**
[Brief overview of findings]
**Detailed Findings**
1. [Finding category]
- Evidence: [specific data]
- Significance: [what it means]
**Threat Assessment**
- Severity: [Critical/High/Medium/Low]
- Classification: [malware type]
- Confidence: [High/Medium/Low]
**Recommendations**
1. [Action item]
2. [Action item]
User: "I found a suspicious file called setup_installer.exe. Can you analyze it?"
Response:
prepare_upload(file_name="setup_installer.exe"), then run the returned curl (with the file's absolute path) via Bashinspect_binary(filepath="setup_installer.exe") for triagerun_sandbox(command="rizin -qc 'aaa; izz; ii; afl' setup_installer.exe") and decompile suspicious functions as neededWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub deepbitstechnology/claude-plugins --plugin drbinary-chat-plugin2 skills in this plugin
Other plugins' skills for the same job