zyw-200 / FirmAFL

FIRM-AFL is the first high-throughput greybox fuzzer for IoT firmware.
GNU General Public License v3.0
432 stars 90 forks source link

how to get information about ;Linux Kernel 3.2.1 mipsel into procinfo.ini??? #2

Open minifish120 opened 5 years ago

zyw-200 commented 5 years ago

You can follow Part 3: VMI configuration for Linux from DECAF instructions(https://github.com/decaf-project/DECAF/wiki/Startup) to get Linux kernel information.

minifish120 commented 5 years ago

but in the emulated firmware, i can't execute "insmod ./procinfo.ko" because of one of the following:

  1. it misses the command insmod, or
  2. it can't execute the command "make" to produce the procinfo.ko when encountering the errors above, what should I do?
zyw-200 commented 5 years ago

If for the first reason, since Busybox utilities contains insmod command, you can make it into an image, and then you can use it. Actually, to make it simple, you can run any filesystems(MIPSEL Arch) with Linux kernel 3.2.1 in order to get kernel information, not just IoT firmware.

minifish120 commented 5 years ago

So, what had you changed the linux kernel 3.2.1 in order to support the firmware emulation? Can you release the your changed kernel(3.2.1) into this project?