JNISleuth

•
17
•

Bridge the gap between Java and native ARM64 code in Android reverse engineering by automating RegisterNatives recovery, type reconstruction, and cross-boundary analysis.

JNISleuth-MCP is a specialized reverse-engineering tool and Model Context Protocol (MCP) server engineered to streamline Android native code analysis. It overcomes the common hurdles of analyzing stripped C/C++ native libraries (`lib*.so`) by automatically mapping dynamically registered JNI methods through static heuristics or stealth dynamic tracing via Dobby. By integrating seamlessly with Jadx, Ghidra, and IDA Pro 9.0, JNISleuth reconstructs `JNIEnv*` vtables, deobfuscates OLLVM indirect dispatchers, and provides AI agents with a continuous, unified data flow from Android DEX bytecode directly into decompiled ARM64 native functions.

Características Principales

01Automatically applies JNIEnv* vtable types and method signatures in Ghidra and IDA Pro 9.0.
02Exposes standard MCP endpoints and function-calling schemas for all major LLMs and agent frameworks.
03Recovers dynamic RegisterNatives bindings using static triplet scanning or stealth Dobby hooks.
04Provides unified cross-boundary code slices from Java callers down to native ARM64 routines.
05Resolves and patches OLLVM indirect branch dispatchers (CSEL + BR X8) in JNI_OnLoad.
0617 GitHub stars

Casos de Uso

01Analyzing obfuscated Android malware and banking trojans that hide payloads in stripped native libraries.
02Automating JNI boundary cross-referencing and struct typing during mobile application security audits.
03Powering AI coding and security assistants with unified DEX-to-native execution context.