attify / firmware-analysis-toolkit

Toolkit to emulate firmware and analyse it for security vulnerabilities
MIT License
1.29k stars 251 forks source link

Doesn't give an Network IP #46

Open kolet opened 4 years ago

kolet commented 4 years ago

hey there, im not getting any Network interface ip.

i tried multiple setup.

(vmware) LTS 18.04, 20 and linux sub system. none of them are giving an ip

i tried multiple firmware i found online . and no one of them are giving an ip. not sure what to do.

image

also tried to go there https://github.com/firmadyne/firmadyne

and follow the guide , it did not work aswell.

extremecoders-re commented 4 years ago

Unfortunately, not all firmware images work out of the box. Manual modification may be needed on a case by case basis.

First try increasing the timeout value as mentioned in Additional Notes.

If that doesn't work, you can check the kernel boot log to see if at all it assigns an IP to an interface. attify/firmware-analysis-toolkit#43 (comment)

Hi, I mistakenly commented on the Firmadyne repo which I actually intended to do here. Since the same issue was in both places.

As said, you need to go though the file qemu.initial.serial.log. You can find the file under scratch/images/<image id>/

Search for occurrences of the word __inet_insert_ifa in it.