New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fuzzing pal_MemFree symbol not found: Examples fuzzing? #16
Comments
Hi, Thanks for reporting. The modem files themselves don't have any symbols, we use patternDB to reconstruct them. Locally, when I run Regarding the commands in the paper: Unfortunately, we still need to hold back from publishing the experiment code, which is not by our choice. However, the command line we used for fuzzing was:
|
it seems afl-fuzz works only when --fuzz-triage is used, weirdly, but with --fuzz it remans stuck for more than the TMOUT=100000 and dies |
Did you start fuzzing from a snapshot, as in my CLI example above, or just trying to run it from the very beginning? |
Similar Issue was in #19, with the following solution: #19 (comment) Hence, closing this issue for now. If the problem still exists after following the instructions above, feel free to reopen/post below. |
Hello!
I am trying to reproduce some of the paper fuzzing results. Unfortunately I have not much luck with getting any fuzzing to work.
AFL++ version v3.13C
Running FirmWire inside Docker container.
Using the following command:
AFL_DEBUG=1 afl-fuzz -i in -o out -U -- ./firmwire.py --fuzz gsm_cc --fuzz-input @@ ShannonFirmware/modem_files/CP_G973FXXU9FUCD_CP18513696_CL21324211_QB39036441_REV01_user_low_ship.tar.md5.lz4
I get:
[ERROR] firmwire.vendor.shannon.machine: Unable to resolve requested dynamic modkit symbol pal_MemFree [ERROR] firmwire.vendor.shannon.machine: Failed to inject task into OS
When checking, it indeed seems like the firmware itself is missing these symbols. I got the firmware from https://github.com/grant-h/ShannonFirmware.
Removing the registration in shanon.h works, but breaks the emulation. (Setting AFL_FORKSRV_INIT_TMOUT very high does not help, it hangs at
[INFO] firmwire.hw.peripheral.ShannonSOCPeripheral.SOC: CHIP_ID read: 50000000)
What are the commands used in the paper? Any help would be appreciated.
Thank you very much!
The text was updated successfully, but these errors were encountered: