Binwalk

ReFirmLabs (Craig Heffner / devttys0 and contributors) · also known as Binwalk v3

Open sourceActive

The latest GitHub release is v3.1.0 (2024-10-31) and crates.io lists only 3.1.0 (2024-10-31), but the maintainer's account (devttys0, the LICENSE copyright holder) pushed commits to master through 2026-08-11; master's Cargo.toml already reads 3.1.1, which is not released. Not tested. Included for completeness as a firmware tool, not a phone-forensics tool.

Binwalk is a command-line tool, rewritten in Rust for version 3, that identifies and optionally extracts files and data embedded inside other files. The README names firmware analysis as its primary focus and describes entropy analysis for spotting unknown compressed or encrypted regions. It is a firmware and embedded-device security tool; the README describes no phone, mobile-forensics or evidence-handling workflow, so it is listed here only as a general-purpose carving utility.

Facts

Websitegithub.com
VendorReFirmLabs (Craig Heffner / devttys0 and contributors)
LicenceOpen source (MIT (LICENSE file; Cargo.toml also declares MIT))
CategoryRecovery and carving
FunctionsCarving, Analysis
TargetsIoT
Runs onLinux
PricingFree
UsersResearch, Open-source DFIR community
Last activity2026-08-11 · Latest commit to master (Clippy/fmt fixes); latest release remains v3.1.0 (2024-10-31) [github.com]
GitHub activityReFirmLabs/binwalk · 14,655 stars · last push 2026-08-11 · latest release v3.1.0 (2024-10-31) · checked 2026-11-10

Capabilities

  • The README states that Binwalk can identify, and optionally extract, files and data embedded inside other files, and that its primary focus is firmware analysis while supporting a wide variety of file and data types. [github.com]
  • The wiki describes generating an entropy graph of a file, with the y-axis running from 0 (not random) to 8 (very random), and states that this is useful for identifying sections of a file that may be compressed or encrypted. [github.com]
  • The wiki documents scanning a file (binwalk file.bin), extracting (-e), recursive extraction (-Me) and including or excluding signatures by name, and colour-codes results by confidence: green for high confidence (metadata and some file data checked), yellow for medium, red for low (magic bytes only, little further validation). [github.com]
  • The wiki documents a --carve option that writes sections of an input file to disk, producing separate files for both known and unknown sections, with or without extraction. [github.com]
  • The README states that Binwalk can be customised and integrated into Rust projects through a library. [github.com]

Limitations

  • The wiki states that Binwalk is officially supported only on 64-bit Linux, preferably Ubuntu or Ubuntu-based systems, and that Windows and macOS are largely untested. [github.com]
  • The wiki states that results are only as good as the list of known signatures, and that Binwalk needs at least as much free memory as the size of the files analysed, making it unsuitable for excessively large files or severely resource-constrained systems. [github.com]
  • The README describes file identification, extraction and entropy analysis only; it lists no device acquisition, mobile-app or phone-specific parsing, or reporting features. [github.com]

Related tools

Sources

  1. GitHub: ReFirmLabs/binwalk (README) (github.com)
  2. binwalk LICENSE (MIT) (github.com)
  3. binwalk Cargo.toml (version 3.1.1, license MIT) (github.com)
  4. binwalk wiki: File Analysis and Extraction (github.com)
  5. binwalk wiki: Carving File Data (github.com)
  6. binwalk wiki: Generating Entropy Graphs (github.com)
  7. binwalk wiki: Supported Platforms (github.com)
  8. binwalk wiki: Limitations (github.com)
  9. GitHub: binwalk releases (v3.1.0, 2024-10-31) (github.com)
  10. GitHub: binwalk master commit history (github.com)
  11. crates.io API: binwalk (3.1.0, 2024-10-31) (crates.io)

Reviewed . Spotted an error? See the corrections policy.