项目
在 GitHub 查看
evilpan/jni_helper
关于
在 APK 中查找 JNI 函数签名,并将其应用于逆向分析工具。
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文JNI Helper
Find JNI function signatures in APK and apply to reverse tools.
Basic Usage
- Use extract_jni.py to generate
signature.json - Load
signature.jsoninto Ghidra/IDA/BinaryNinja
extract_jni.py
Install dependences:
pip3 install -r requirements.txt
Usage:
$ ./extract_jni.py -h
usage: extract_jni.py [-h] [-j WORKERS] [-o OUTFILE] apk
positional arguments:
apk /path/to/apk
optional arguments:
-h, --help show this help message and exit
-j WORKERS parse apk with multiple workers(processes) (default: 8)
-o OUTFILE save JNI methods as formatted json file (default: stdout)
Example:
./extract_jni.py app-debug.apk -o signature.json

Ghidra Plugin
See Ghidra.
| Before | After |
|---|---|
![]() |
![]() |
IDA Plugin
See IDA.
| Before | After |
|---|---|
![]() |
![]() |
Binary Ninja Plugin
see Binary Ninja.
| Type | Image |
|---|---|
| Before | ![]() |
| After | ![]() |
Radare2 Plugin
WIP, see Radare2
Demo
Tested with demo APK.
cd demo_apk
./gradlew assembleDebug
TODO
- support both C/C++ JNI functions
- support overloaded JNI functions
- remove Jadx dependence, all in Python
- Add BinaryNinja plugin
- support env->RegisterNatives JNI functions
LINKS
探索相关项目
加载中…





