pr0v3rbs / FirmAE

Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis
MIT License
603 stars 117 forks source link

Given no Network #57

Open yhsnihao opened 1 year ago

yhsnihao commented 1 year ago

Hey there, I tried run my firmwork with FirmAE like following:

sudo ./run.sh -c auto ~/Desktop/IoT/TOTOLINK/TOTOLINK_C8189R-1C_A3000RU_IP04325_8197F_SPI_16M128M_V5.9c.5185_B20201128_ALL.web 
[*] /home/kali/Desktop/IoT/TOTOLINK/TOTOLINK_C8189R-1C_A3000RU_IP04325_8197F_SPI_16M128M_V5.9c.5185_B20201128_ALL.web emulation start!!!
[*] extract done!!!
[*] get architecture done!!!
mke2fs 1.46.5 (30-Dec-2021)
find: /sbin: No such file or directory
e2fsck 1.46.5 (30-Dec-2021)
[*] infer network start!!!

But it given no IP and break off here. After wait for a long time(half an hour at least),sometimes I input Ctrl-C ,it gives me a IP 192.168.31.1 and sometimes nothing given. Can you help me to solve this problem?Thanks.

g543fdg commented 1 year ago

me too

Facker007 commented 1 year ago

me too,i don't know this problem。Can you help me

phgg7 commented 1 year ago

so am i

image
pr0v3rbs commented 1 year ago

Thank you for the issues.

Looks the firmware that shows an issue is not in FirmAE's test set. Thus, the problems cannot be resolved without the firmware. If you can upload the firmware file and log files in the scratch directory, It will be a very good reference to find the root cause.

Thank you.

pr0v3rbs commented 1 year ago

@yhsnihao I tested A3000RU_V5.9c.5185_B20201128.zip firmware on ubuntu 18.04. And it was successfully emulated 15 minutes after with the /etc/init.d/preInit.sh init binary and IP 192.168.0.1 address. My command was FirmAE# ./run.sh -c totolink A3000RU_V5.9c.5185_B20201128.zip.