This is just a Dockerfile for the firmware-analysis-toolkit which only seems to work on Ubuntu.
- Clone the repository
$ git clone https://github.com/sadeli413/fat.git
$ cd fat
- Build the image for the firmware-analysis-toolkit.
$ docker build . -t fat
- Download example firmware
$ wget https://www.downloads.netgear.com/files/GDC/WNAP320/WNAP320 Firmware Version 2.0.3.zip
- Run the image. In order for the networking to work, it needs to be run as privileged on the host.
$ docker run --privileged --rm -v $PWD:/work -w /work -it --net=host fat
- When you're in the container, I recommend extracting the firmware image to get an idea of what it is.
# unzip WNAP320\ Firmware\ Version\ 2.0.3.zip
# tar -xvf WNAP320_V2.0.3_firmware.tar
# binwalk -e rootfs.squashfs --run-as=root
- Run the firmware-analysis-toolkit
# cd /root/firmware-analysis-toolkit
# ./fat.py /work/rootfs.squashfs
- It should give you an IP address (probably
192.168.0.100
) on a new interface (probablytap1
) - If it doesn't work then:
- Exit the container
- Run a new one (do steps 5. and 6.).