Skip to content

Glossary

bootloader — The first code a device runs: it initialises the hardware and loads the kernel. Usually the first member of a firmware image.

carve — To copy a member out of an image into a file of its own, bytes unchanged, without unpacking it. Binwalk's -z mode carves only; -e carves and then unpacks where it can.

CPIO — An archive format that moonlights as a filesystem: the initramfs packed beside a Linux kernel is usually a gzip-compressed cpio archive.

entropy — Per block of a file, a score from 0 to 1 for how unpredictable the bytes are. Near 0: padding, repetition. Near 1: compressed, encrypted, or random data — the score cannot tell those three apart.

extract — Carve, plus unpack: run the member's own tool over the carve so its contents appear as files. Written -e; matryoshka extraction (-Me) extracts recursively.

false positive — A signature hit where the format isn't: short magic patterns occur by chance, especially inside compressed or random regions. The plain scan hides hits binwalk's validators marked invalid; -I shows them.

firmware image — One file containing a device's whole software world: bootloader, kernel, root filesystem, and whatever is nested inside those.

initramfs — The small first root filesystem a Linux kernel unpacks into memory to get started, before mounting the real one.

invalid — Binwalk's verdict when a signature matched but its validation — parsing the format's header fields for sanity — failed. Invalid results are computed, then hidden unless -I is given.

JFFS2 — A journalling filesystem for raw flash, written as a log of nodes rather than a fixed table. Unpacked with jefferson.

kernel — The operating system's core, usually the largest single member of an image, often compressed.

magic bytes — The characteristic first bytes by which a format announces itself: \x1f\x8b for gzip, hsqs for SquashFS. Binwalk's signatures are magic bytes plus the rules for reading what follows them.

matryoshka — Recursive extraction: scan what you extracted, extract what you find, repeat to a depth limit (8 by default). Named for the nesting dolls.

member — One embedded file or filesystem inside an image, at a known offset.

offset — How far into a file, in bytes, a member begins. Binwalk prints it in decimal and hexadecimal and names carves by the hex value.

opcode — The byte patterns of machine instructions. An opcode scan (-A) guesses a headerless code blob's architecture from characteristic instruction sequences — signatures cover the embedded families (ARM, MIPS, PowerPC…), not desktop processors.

root filesystem (rootfs) — The device's directory tree, packed as one member — usually SquashFS. Where configuration, programs, and the web interface live.

sasquatch — A patched unsquashfs that tolerates vendor-modified SquashFS variants — the usual fix when a real router filesystem carves cleanly but won't unpack.

signature — A pattern binwalk matches at each offset: magic bytes, plus optional validation and a recipe for turning header fields into the printed description. The shipped set numbered 411 on the build machine.

SquashFS — A compressed, read-only filesystem; the standard root filesystem of small Linux devices. Unpacked with unsquashfs (or sasquatch).

superblock — A filesystem's master header block: its version, sizes, counts, and dates. Binwalk's SquashFS description is a reading of the superblock — including a size that counts the filesystem's data, not its padded footprint in the image.

UBI / UBIFS — The flash stack on newer raw flash: UBI manages the physical flash and wear, UBIFS is the filesystem inside it. Unpacked with ubi_reader.