Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
oppo-ghostlock — OPPO Find N2 GhostLock (CVE-2026-43499) exploit adaptation | Kitploit
Tools/GitHubGitHub/pubglite55/oppo-ghostlock
Android SecurityPrivilege EscalationExploit FrameworksMemory ForensicsVulnerability AnalysisExploitationReverse EngineeringMobile SecurityLearning & EducationBinary Exploitation
GitHub
6024140Oct 30, 2026Reviewed by Kitploit
Share
pubglite55/oppo-ghostlock

oppo-ghostlock

OPPO Find N2 GhostLock (CVE-2026-43499) exploit adaptation

View Repository

English | 简体中文

findn2-ksu-chain

KernelSU late-load on a locked OPPO Find N2 — full chain, self-built LKM, no unlocked bootloader.

futex-PI write primitive → cred overwrite → ADRP overflow fixed → kernelsu.ko live

root KMI SoC SELinux


✨ What is this

A complete, working research chain that loads a self-compiled KernelSU kernel module into a stock, OTA-locked OPPO Find N2 (PGU110 / SM8475) — ending with su -c id → uid=0 … context=u:r:ksu:s0 while SELinux stays Enforcing.

Everything in lkm-build/ (the loader, the symbol-wall shim, the build system) is original work from this repo; the userland exploit is a GPL-3.0 port of the matisse framework adapted to this device (see NOTICE).

🏗️ How it works

 ① futex PI requeue race      →  kernel write primitive  (GhostLock, CVE-2026-43499)
 ② task->cred = &init_cred    →  CapEff 0000000000000000 → 000001ffffffffff
 ③ gate check                 →  capable() ✓ SELinux ✓ domain ✓  (the wall was never here)
 ④ finit_module               →  R_AARCH64_ADR_PREL_PG_HI21 overflow  ← the real wall
                                fixed by -mcmodel=large: reloc-275 1497 → 0
 ⑤ kernelsu.ko live           →  /system/bin/su · u:r:ksu:s0 · SELinux Enforcing

📊 Results

Write primitiveCapEff: 000001ffffffffff observed on-device (3/3 runs)
Relocation fixtype-275 count 1497 → 0 (ELF .rela histogram verified)
Symbol wallTRIM_UNUSED_KSYMS cut 49 symbols → kprobe bootstrap + forward defs → 0 undefined
SCM gatescmversion pinned to g74d132f4467a, byte-exact
Stabilitypreflight gate + reduced-pressure recipe; final uptime 27h+ zero crash

🚀 Quick start

Build & run (click to expand)
# 1) kernel modules are built by GitHub Actions (build-lkm.yml) — download artifacts,
#    or build locally:
KSRC=<vendor-tree> KSU=<KernelSU> CLANG=<clang12> CONFIG=config-5.10.236 \
    bash lkm-build/build-lkm.sh

# 2) stage-A write primitive (userland)
adb push exploit-v29/build/oppo-find_n2/bin/preload.so /data/local/tmp/preload29.so
adb shell "LD_PRELOAD=/data/local/tmp/preload29.so /system/bin/toybox id"   # uid=0

# 3) stage-B late-load
adb push lkm-build/out/ksu_min_load.ko lkm-build/out/kernelsu.ko /data/local/tmp/

# 4) verify
adb shell "su -c id"                     # uid=0 … context=u:r:ksu:s0
adb shell "grep kernelsu /proc/modules"  # kernelsu … Live

📁 Repository map

exploit-v29/     userland exploit (matisse port, GPL-3.0) + Find-N2 offsets
lkm-build/       ★ original build system: loader · symbol shim · CI scripts
analysis-scripts/  ELF / symbol / offset tooling
test-programs/   standalone PoC probes (C sources only)
docs/            research notes · evidence logs · handoff snapshots
RESEARCH.md      ★ full technical write-up (§1–§10)

📜 The full story

Every dead end, dmesg line and fix is documented in RESEARCH.md — including why the permission gate was never the problem, how the ADRP overflow was found and killed, and what changed after the 5.10.246 OTA.

🙏 Credits

  • NebuSec/CyberMeowfia — GhostLock (CVE-2026-43499) research & exploit framework
  • ihamn/matisse-public (GPL-3.0) — upstream of exploit-v29/
  • Dere3046/ElevateMe — rb_erase cred-overwrite mechanism
  • JoinChang/ghostlock-oneplus — same-SoC offset cross-validation
  • DirtyFrag / DFRoot community (CVE-2026-43284) — ideas only (page-cache clean-up, DEFEX stubs, STATIC_USERMODEHELPER bypass); no code was taken — lkm-build/minload/ is an original implementation, comparison in RESEARCH.md §8
  • lspromise & kanxue community discussions

⚖️ License & disclaimer

  • lkm-build/, docs, scripts: GPL-2.0-only · exploit-v29/: GPL-3.0 (upstream)
  • Research/education only, on your own device, at your own risk. Bricking, data loss and warranty loss are real possibilities. No OPPO proprietary firmware is included in this repo.
Download Tool

Related Tools

  • Mobile-Security-Framework-MobSF

    Automated mobile application security testing framework for Android, iOS, and Windows. Performs static and dynamic analysis, malware detection, and API security testing with CI/CD integration.

  • jadx

    Command-line and GUI tool for decompiling Android Dex and APK files into readable Java source code, with resource decoding, deobfuscation, and Smali debugging capabilities.

  • Apktool

    A tool for reverse engineering Android apk files

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    843
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    446
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    359
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    332

Explore all tools

Browse our collection of tools

View all tools →