Firmware

Firmware is a set of software that takes control of the device's hardware. Analyzing the firmware is a critical step for IoT penetration testing. In order to achieve that, you can use a lot of tools and utilities. One of them is binwalk, which is a great tool developed also by Craig Heffner that helps pentesters to analyze the firmware of an IoT device. You can simply grab it from this GitHub link: https://github.com/ReFirmLabs/binwalk/blob/master/INSTALL.md. Let's run the following commands:

# git clone https://github.com/ReFirmLabs/binwalk/# cd binwalk# ./deps.sh

Then, install it by using the following command:

# sudo ./setup.py install

If you are using Kali Linux Distribution, you can use binwalk directly by typing binwalk in ...

Get Advanced Infrastructure Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.