provocativo_
back to the arsenal
// arsenal·Forensics & REIntermediateFOSS

binwalk

Firmware analysis tool — identifies and extracts embedded files.

Forensics & RE

$ binwalk --help

binwalk

// what it is

Description

ReFirm Labs' tool for picking apart firmware images. Identifies and extracts embedded archives (gzip, zip, tar, JFFS2, SquashFS) and executables. The first step in any router/IoT firmware analysis.

// use cases

What people use it for

  • Firmware extraction
  • Embedded file recovery
  • Identifying file types in unknown binaries

// commands

The commands you'll type

Identify embedded files

$ binwalk firmware.bin

Extract everything

$ binwalk -e firmware.bin

// facts

category
Forensics & RE
platforms
LIN · WIN · MAC
license
FOSS
difficulty
Intermediate

// related in Forensics & RE