┌──(root㉿W1sh)-[~/firmware-analysis-plus]
└─# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:8a:fa:e7 brd ff:ff:ff:ff:ff:ff
inet 172.30.36.124/20 brd 172.30.47.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe8a:fae7/64 scope link
valid_lft forever preferred_lft forever
启动命令:
┌──(root㉿W1sh)-[~/firmware-analysis-plus]
└─# ./fap.py -q qemu-builds/2.5.0/ -b 0 testcases/testbin.tar.gz
______ _ ___
| ___| (_) / _ \
| |_ _ _ __ ___ / /_\ \ _ __ ___
| _| | | | '_ ` _ \ | _ | | '_ \ / __| ++
| | | | | | | | | | | | | | | | | | \__ \
\_| |_| |_| |_| |_| \_| |_/ |_| |_| |___/
Welcome to the Firmware Analysis Plus - v2.3.1
By lys - https://github.com/liyansong2018/firmware-analysis-plus
[+] Firmware: testbin.tar.gz
[+] Extracting the firmware...
[+] Cleaning previous images and created files by firmadyne
[+] All done. Go ahead and run fap.py to continue firmware analysis
[+] Image ID: 1
[+] Identifying architecture...
[+] Architecture: armel
[+] Building QEMU disk image...
[+] Setting up the network connection, please standby...
[+] Network interfaces: []
[+] Using qemu-system-arm from /root/firmware-analysis-plus/qemu-builds/2.5.0
[+] All set! Press ENTER to run the firmware...
回车继续启动qemusystem后似乎卡住,显示信息
[ 0.260989] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.261106] Bridge firewalling registered
[ 0.261188] Ebtables v2.0 registered
[ 0.261877] 8021q: 802.1Q VLAN Support v1.8
[ 0.262164] Registering SWP/SWPB emulation handler
[ 0.263458] rtc-pl031 9010000.pl031: setting system clock to 2024-03-21 03:27:16 UTC (1710991636)
[ 0.268190] EXT4-fs (vda1): couldn't mount as ext3 due to feature incompatibilities
[ 0.268955] EXT4-fs (vda1): mounting ext2 file system using the ext4 subsystem
[ 0.275663] EXT4-fs (vda1): warning: mounting unchecked fs, running e2fsck is recommended
[ 0.277810] EXT4-fs (vda1): mounted filesystem without journal. Opts: (null)
[ 0.278291] VFS: Mounted root (ext2 filesystem) on device 254:1.
[ 0.281975] Freeing unused kernel memory: 180K (c05c7000 - c05f4000)
[ 0.286852] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 0.287043] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.1.17+ #1
[ 0.287133] Hardware name: Generic DT based system
[ 0.287296] [<c001c99c>] (unwind_backtrace) from [<c0019d30>] (show_stack+0x10/0x14)
[ 0.287384] [<c0019d30>] (show_stack) from [<c0410b78>] (panic+0x70/0x1c8)
[ 0.287480] [<c0410b78>] (panic) from [<c040f33c>] (kernel_init+0xb8/0xe4)
[ 0.287551] [<c040f33c>] (kernel_init) from [<c0016da8>] (ret_from_fork+0x14/0x2c)
[ 0.287745] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
运行环境:WSL2 kali-linux 网络为默认NAT模式:
启动命令:
回车继续启动qemusystem后似乎卡住,显示信息