a simple project that uses Frida+QBDI to do tricks like JNI_OnLoad tracing on Android(AArch64).
Prequisitories:
- an Android device(physical)
- libQBDI.so compiled and pushed into /data/local/tmp/
setenforce 0
through adb shell in superuser- installing frida script development env for easier scripting: https://github.com/oleavr/frida-agent-example
- frida
Currently working on:
- hook_JNI_OnLoad.js: a script that instruments QBDI to trace JNI_OnLoad. Still quite unstable right now, not sure whether it's facing anti-frida tricks or wrong scripting.
Usage:
- open frida-server in the Android device through adb shell superuser
frida-compile <script.js> -o <script_compiled.js>
frida -U -f <package_name> -l <script_compiled.js>