Binwalk is a “firmware analysis tool designed for analyzing, reverse engineering and extracting data contained in firmware images”. This tool written in python supports Linux, and somewhat Mac OS X, can scan firmware files for files signature, and can be useful for hacking firmware files, and finding hidden information. Let’s install binwalk first. It’s very easy in a Debian or Ubuntu machine, as you just have to download the package, and run a script for installation:
1 2 3 4 |
wget https://binwalk.googlecode.com/files/binwalk-1.2.2-1.tar.gz tar xzvf binwalk-1.2.2-1.tar.gz cd binwalk-1.2.2-1/src sudo ./debian_quick_install.sh |
If you have another Linux ditributions, it’s just a little more complicated. You still need to download and extract the release package as above, but you’ll have to install the following package depending on the features your need: Minimal installation – python 2.6 or greater, and python-magic To generate entropy plot graphs – python-matplotlib For automated extraction: Packages – mtd-utils zlib1g-dev liblzma-dev gzip bzip2 tar unrar arj p7zip p7zip-full openjdk-6-jdk Build and install […]