Getting ready
In order to emulate firmware, we will be using a script called Firmware Analysis Toolkit (FAT) written by the authors of this book. FAT uses Firmadyne in order to perform the emulation of firmware images.
The underlying utility used in Firmadyne is QEMU, which allows users to emulate the entire system architecture and run content on top of it. It also takes advantage of additional scripts written by the tool authors, such as the NVRAM emulator located at https://github.com/firmadyne/libnvram. It also uses tools such as Binwalk, which we discussed earlier, to extract a filesystem from firmware which is then emulated.
Let's go ahead and clone the FAT GitHub repo and set it up to make the lab ready for emulation. It is highly recommended ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access