binary-forensics
12 Binary/Forensics MCP tools: entropy triage, ELF/PE/WASM disasm, PCAP, EXIF, SQLite, ZIP.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 disassemble_wasm_or_hex 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"binary-forensics": {
"url": "https://api.quickcoderhub.com/mcp/binary-forensics"
}
}
}遠端端點
https://api.quickcoderhub.com/mcp/binary-forensicsstreamable-http它能做什麼
工具清單
工具(12)
🟢binary_triage(filePath, base64Data, hexData, minLen, maxStrings)
Inspect a binary for magic header signature, Shannon entropy (packing/encryption detection), UPX markers, and ASCII/UTF-16LE strings.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"hexData": {
"type": "string"
},
"minLen": {
"type": "integer",
"default": 4
},
"maxStrings": {
"type": "integer",
"default": 200
}
}
}🟢executable_inspect(filePath, base64Data)
Parse Linux ELF32/64, Windows PE32/PE32+, and macOS Mach-O / Universal binary headers, sections, entry points, and exploit mitigations (PIE, ASLR, NX, RELRO, CFG).
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪disassemble_wasm_or_hex(filePath, base64Data, hexData, arch, baseAddress)
Disassemble WebAssembly (.wasm) bytecode into .wat text or decode x86-64, AArch64, and RISC-V machine code hex bytes.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"hexData": {
"type": "string",
"description": "Hex machine code bytes (e.g. \"55 48 89 e5 ...\")."
},
"arch": {
"type": "string",
"enum": [
"x86_64",
"aarch64",
"riscv"
],
"default": "x86_64"
},
"baseAddress": {
"type": "string",
"default": "0x1000"
}
}
}🟢wasm_inspect(filePath, base64Data)
Inspect a WebAssembly (.wasm) binary module for sections, function signatures, imports, exports, and linear memory page allocations.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}🟢archive_join_and_verify(filePath, outputPath, base64Data, partsBase64, expectedSha256)
Stitch split multi-part archive chunks, detect magic file header, compute & verify SHA-256 checksum, and peek ZIP Central Directory entries.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"partsBase64": {
"type": "array",
"items": {
"type": "string"
}
},
"expectedSha256": {
"type": "string"
}
}
}🟢hexdump_inspect(filePath, base64Data, offset, length, bytesPerRow)
Generate an annotated hex + ASCII dump of a binary range with Shannon entropy classification and multi-endian int/float data inspection at offset.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"offset": {
"type": "integer",
"default": 0
},
"length": {
"type": "integer",
"default": 256
},
"bytesPerRow": {
"type": "integer",
"enum": [
8,
16,
32
],
"default": 16
}
}
}🟢archive_peek_central_dir(filePath, base64Data)
Inspect ZIP Central Directory headers (filenames, compression method, CRC-32, sizes) or POSIX USTAR TAR entry headers without full extraction.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}🟢pcap_inspect(filePath, base64Data, maxPackets)
Parse libpcap (.pcap) packet capture headers and decode Ethernet, IPv4, TCP, UDP, and DNS/HTTP packet summaries.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"maxPackets": {
"type": "integer",
"default": 100
}
}
}🟢exif_inspect_and_strip(filePath, outputPath, base64Data, stripMetadata)
Inspect JPEG APP1 EXIF/XMP/ICC segments for GPS coordinates, camera Make/Model, and timestamps, and optionally strip metadata cleanly.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"stripMetadata": {
"type": "boolean",
"default": false
}
}
}🟡sqlite_header_inspect(filePath, base64Data)
Inspect a SQLite3 database binary header (page size, schema cookie, encoding, WAL/journal version) and scan root B-tree SQL CREATE statements.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}🟢sourcemap_analyze(filePath, text)
Audit a JavaScript SourceMap (.js.map) v3 JSON file to break down bundled byte attribution per source module and spot bloated dependencies.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Raw SourceMap v3 JSON."
}
}
}🟢unicode_inspect(filePath, text)
Inspect every Unicode code point in text for zero-width joiners, bidirectional Trojan Source overrides, homoglyph spoofing, and UTF-8/UTF-16 byte encodings.
輸入結構描述
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string",
"description": "Text string to audit at code-point level."
}
}
}社群
證據