Documentation

binwalk – search a given binary image for embedded files

binwalk is a command-line utility designed for analysing binary files and firmware images. It scans binary data to identify embedded files, executable code, compressed archives, and filesystem images hidden inside firmware or other binary blobs.

The tool works by scanning files for known signatures and patterns that indicate the presence of embedded data structures. It can locate and optionally extract these components, making it widely used in reverse engineering, firmware analysis, and security research.

Recent versions of binwalk have been re-implemented in Rust to improve performance, accuracy, and reliability when analysing large binary datasets.

This is free and open source software.

Key Features

  • Scans binary images to identify embedded files and executable code.
  • Designed primarily for firmware analysis and reverse engineering.
  • Detects compressed archives, filesystem images, kernels, and bootloaders within binaries.
  • Supports automatic extraction of discovered embedded files.
  • Performs entropy analysis to help detect compressed or encrypted data.
  • Signature-based scanning identifies many common file formats and structures.
  • Command-line interface suitable for scripting and automation. It can be customised and integrated into Rust projects.

Website: github.com/ReFirmLabs/binwalk
Support:
Developer: ReFirmLabs
License: MIT License

binwalk is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Binary Analysis Tools
GhidraSoftware reverse engineering framework
Radare2Portable reversing framework
CutterGraphical reverse engineering platform
CapstoneLightweight multi-architecture disassembly framework
Detect it EasyFile inspection utility
ImHexAnalyze binary data
MiasmReverse engineering framework for analysing and emulating binaries
RekoGeneral-purpose decompiler for machine-code binaries
capaCommand line malware analysis tool
binwalkSearch a given binary image for embedded files
FLOSSFLARE Obfuscated String Solver
unblobExtraction suite for working with unknown binary blobs
RizinUNIX-like reverse engineering framework
REDasmCross-platform disassembler with an extensible graphical interface
PharosFramework for automated static analysis of binary programs
LIEFWork with executable and binary formats
RetDecRetargetable machine-code decompiler
knifeStatic binary triage, disassembly and vulnerability analysis toolkit

Read our verdict in the software roundup.

Alternatives to file
filUnix file command written in Go
mimetypeDetermines the MIME type of files
xdg-mimePart of xdg-utils
TrIDIdentify file types from their binary signatures
binwalkSearch a given binary image for embedded files

Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted