Replies: 11 comments
-
Looks like you are not on an arm64 machine... |
Beta Was this translation helpful? Give feedback.
-
@YeJZ you cannot fuzz a different architecture with frida. so x64 => x64, or aarch64 => aarch64. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer, assuming I am on an AARCH64 device, do I need to port the source code of AFL++ to the AARCH64 device to compile and execute "make frida"? |
Beta Was this translation helpful? Give feedback.
-
Yes, I compiled AFL++ on an x86 PC, and tried to use Frida mode to Fuzz the unsourced binary on the Anroid device (AARCH64). The reason for not using the QEMU mode is that the data object construction is very complicated, so I want to use an in-process passive fuzz method like Frida-Fuzzer. |
Beta Was this translation helpful? Give feedback.
-
No, it already has been ported for AARCH64-Linux, so no porting work necessary from your side. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. Now I downloaded the source code of AFL++ and need to test the binary running on the Android device using AFL-Frida mode. Based on your experience, should I execute AFL++ compilation commands on X86? Can you briefly describe the process of running AFL++ on Raspberry Pi? thank you very much |
Beta Was this translation helpful? Give feedback.
-
Sorry, I have no experience with fuzzing on Android nor do I use frida myself. As for the Raspberry Pi 4, I have two of them, one with Raspberry Pi OS (32-bit) and one with Manjaro Linux (64 bit). What you want to know is probably first hand experiences on fuzzing binaries on Android, so I would suggest asking @joeyjiaojg |
Beta Was this translation helpful? Give feedback.
-
Sorry, no good input from my side. Optionally, try libafl frida mode, cross compiling that for android is well tested https://github.com/AFLplusplus/LibAFL/tree/main/fuzzers/frida_libpng |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer,I will try it out according to your suggestion. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to use AFL's Frida mode to FUZZ unsourced binaries. At present, I have successfully executed the make command in the frida-mode directory, but when I use "make ARCH=ARM64",I got this:
collect2: error: ld returned 1 exit status
GNUmakefile:171: recipe for target '/home/XXXXX/AFLplusplus/AFLplusplus/frida_mode/build/afl-frida-trace.so' failed
make: *** [/home/xxxxxx/AFLplusplus/AFLplusplus/frida_mode/build/afl-frida-trace.so] Error 1
I don't know what command I should use to test AARCH64 binaries or SO files .Please help me ,thank you !
Beta Was this translation helpful? Give feedback.
All reactions