frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JNISleuth-MCP – Recover Stripped JNI Bindings and Ollvm Branches for Ghidra/Ida

2•akdapunk•5h ago
Hi HN, I’m a security engineer focused on Android anti-malware and reverse engineering. When reversing hardened Android apps or wild malware, one of the most tedious parts is crossing the Java-to-Native (JNI) boundary when `.so` binaries are stripped, methods are bound dynamically via `RegisterNatives` inside an OLLVM-flattened `JNI_OnLoad`, and `JNIEnv` vtable calls decompile as raw pointer offsets like `(*(code *)(param_1 + 0x548))`. I built JNISleuth-MCP to automate that workflow: 1. It parses multi-DEX APKs for `native` declarations and sweeps `.rodata` / `.data.rel.ro` (or section-header-stripped `PT_LOAD` segments) for `(char* name, char* sig, void* fnPtr)` triplets. 2. It statically resolves ARM64 OLLVM `CSEL` + `BR X8` indirect branches and `.rodata` jump tables in `JNI_OnLoad` (and can patch them in-place with direct `B.cond` / `B` instructions). 3. For runtime-packed samples that detect Frida, it includes a C++/NDK Dobby collector that hooks `RegisterNatives` mid-function. 4. It syncs the full 233-slot `JNIEnv*` vtable types and recovered C signatures into headless Ghidra and IDA Pro 9.0 (`idalib`/`idat64`), and exposes a model-agnostic MCP server + OpenAI/Gemini/Ollama tool schemas. The repo includes a synthetic multi-DEX + stripped ARM64 `.so` crackme so you can test the entire pipeline in 30 seconds without needing a live malware sample. Would love feedback from anyone doing mobile RE or binary analysis!

Ask HN: How do you review code nowadays?

4•waylandsmithers•1h ago•3 comments

Ask HN: Do you want a router that has DD-WRT pre-installed?

152•Ixander•2d ago•145 comments

JNISleuth-MCP – Recover Stripped JNI Bindings and Ollvm Branches for Ghidra/Ida

2•akdapunk•5h ago•0 comments

Ask HN: Anyone using Jev / other decision models? What for?

4•simonw•5h ago•4 comments

Free and Open-Source Facebook Scraper – Lightweight, No Headless Browser

20•mhloo•1d ago•2 comments

Tell HN: GitHub refuses to remove cracked copies of my software after a month

579•IvanK_net•1w ago•347 comments

Tell HN: I've been paying for a rural Tanzanian's education for 10 years

776•lukehandcool•5d ago•245 comments

Ask HN: What do you run on a $5 VPS that's worth keeping online 24/7?

424•mariocesar•6d ago•667 comments

Ask HN: CAD for wood working with LLM support?

3•reacharavindh•14h ago•3 comments

ChatGPT Plugin in Review for Weeks

3•dthedavid•19h ago•2 comments

Ask HN: What's your favorite children's books?

26•lgregg•2d ago•39 comments

Ask HN: How does your organization make build vs. buy decisions now?

7•bigblind•1d ago•2 comments

In-car display of surrounding environment in AVs

3•ajahso4•1d ago•0 comments

Ask HN: What to Build in the AI Era?

13•le_curious•1d ago•22 comments

Ask HN: How do swarms of AI agents work?

10•dsrtslnd23•2d ago•7 comments

Ask HN: Are there AI models for generating sounds based on a text and reference?

35•onemiketwelve•1w ago•18 comments

Ask HN: How do you build a reputation without social media?

7•unbeholden•1d ago•5 comments

Ask HN: Fake abuse reports keep auto-blocking my site on Cloudflare

8•Kamabz•3d ago•2 comments

Ask HN: Is voice becoming your main input? What happens to open-plan offices?

4•ProblemExplorer•1d ago•10 comments

Ask HN: What is the most obscure book you own?

8•Kovah•1d ago•12 comments

Chatcasting, an Alternative to Podcasting

7•tsydenzhap•2d ago•3 comments

A hub that controls all your coding agents in one place

4•mubashir1osmani•1d ago•0 comments

I don't think image containers supporting both lossless and lossy is good

5•functionmouse•2d ago•1 comments

Ask HN: Would you support a law banning filming people in public?

9•dfps•2d ago•25 comments

You've reached the end!