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
Detect it EasyFile inspection utility
ImHexAnalyze binary data
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
LIEFWork with executable and binary formats
RetDecRetargetable machine-code decompiler

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 Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments