githubEdit

Firmware Analysis

Static Analysis

The following tools are useful for static analysis.

file ./firmware

binwalk ./firmware
# -M: Matryosika (recursively) scan extracted files
# -r: Delete carved files after extracting
# -e: Extract known file types
binwalk -Mre ./firmware
# -E: Calculate file entropy
# -N: Do not generate an entropy plot graph
binwalk -EN ./firmware

# firmware-mod-kit
./extract-firmware.sh ./firmware

Dynamic Analysis

Using FIRMADYNE

FIRMADYNEarrow-up-right is a platform for emulation and dynamic analysis of Linux-based firmware.

The analysis will start. Copy the ip address in the output as below.

In local machine, port forward using the ip.

Now we can access to http://127.0.0.1:8081/

Last updated