Extract Firmware
extract_firmwareExtracts caller-selected firmware bytes into a new output directory and returns verified paths, digests, and diagnostics for safe binary analysis without executing extracted code.
Instructions
Extract caller-selected firmware bytes with Unblob 26.6.x (verified with 26.6.4) into an absent output directory. Returns verified child paths/digests, task derivations, unknown chunks and extraction diagnostics inline. Preserves the default sandbox; publishes regular files only. Linux, caller-supplied tool, format-specific extractors and util-linux prlimit required. No mounts or extracted-code execution. Select a returned native file with open_binary for Ghidra analysis; decompressed offsets are not original-file addresses.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "/tmp/firmware.bin",
"range": {
"length": 4096,
"offset": 64
},
"output_directory": "/tmp/firmware-output"
},
"name": "extract_firmware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute local firmware file; never executed. Relative paths are rejected. | |
| range | No | Explicit file-byte interval; omit to extract the whole file | |
| max_depth | No | Extraction depth; reaching it yields partial analysis | |
| max_output_bytes | No | Staging file-byte budget, checked during extraction; transient overshoot is possible | |
| max_output_files | No | Staging entry budget, including directories and links | |
| output_directory | Yes | Absolute, absent output directory; parent must exist |