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

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
InfinityCore-Android-CVE-2026-98260 — ARM64 Android proof-of-concept for CVE-2026-98260, a POSIX timer UAF in the kernel Timer subsystem, with a full race, heap spray, and root escalation chain. | Kitploit
工具/GitHubGitHub/ylh440104/infinitycore-android-cve-2026-98260
Android SecurityPrivilege EscalationMemory ForensicsExploitationMobile SecurityShellcode GenerationPayload DevelopmentBinary Exploitation
分享
GitHub
ylh440104/infinitycore-android-cve-2026-98260

InfinityCore-Android-CVE-2026-98260

ARM64 Android proof-of-concept for CVE-2026-98260, a POSIX timer UAF in the kernel Timer subsystem, with a full race, heap spray, and root escalation chain.

查看仓库
6522324天前Kitploit 审核通过

InfinityCore Android — CVE-2026-98260 (Timer)

中文

概述

Infinity Core 系列 Timer 子系统漏洞的 ARM64 实现,目标内核形态为 7.0 系(Ubuntu 26.04 7.0.0-30-generic 同源代码结构)。本仓库实现完整的触发与提权链,关键偏移已按该目标版本结构布局写死,可直接对照目标 vmlinux 修正符号地址。

漏洞原理

非 leader 线程调用 exec() 时 de_thread() 交换 TID 并 release_task(leader),POSIX timer 清理被放在多个可失败操作之后。exec 失败后,已释放的 k_itimer 的 timerqueue 节点仍留在存活任务的 timerqueue 中,后续清理再次解引用该节点造成 UAF。

利用链:oracle 线程池打竞态 → AIO ring 堆喷回收 UAF 对象 → elist 泄露 task 地址 → 受控页构造 fake timer + fake cred → timerqueue 摘除双写把 fake cred 写进 task->cred → setresuid(0) 拿 root shell。

已写死的布局常量(7.0 结构)

k_itimer.it.cpu.elist        0xe0
k_itimer.it.cpu.handling     0xf0
k_itimer.it_interval         0x68
k_itimer 大小                0x180
task_struct.cpu_timers 头    0xca0
task_struct.cred             0xd00
cred.uid/gid/euid/...        4/8/14/18/24/28/34/38
cred.cap_inh/prm/eff         0x30/0x40/0x50
cred.security                0x80
cred.user_ns                 0x90
cred 大小                    0xb8

需要按目标机修正的:符号地址(本机 KASLR 泄露会自校准,无需硬编码)。

文件

timer_lpe.c           主程序
ic_timer_target.h     结构布局(已写死)
ic_compat.h           syscall 封装、AArch64 汇编原语
ic_util.h             通用工具
ic_shellcode_arm64.c  AArch64 shellcode 生成器
ic_target.h           其他偏移

编译

export ANDROID_NDK_HOME=/path/to/ndk
$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang \
    -O2 -std=gnu11 -static -fno-stack-protector -fno-pic -no-pie \
    -I. timer_lpe.c ic_shellcode_arm64.c -o ic98260 \
    -Wl,--gc-sections -Wl,-z,norelro -pthread

English

Overview

An ARM64 implementation of the Infinity Core Timer subsystem vulnerability, targeting the 7.0-series kernel shape (same code structure as Ubuntu 26.04 7.0.0-30-generic). Complete trigger and escalation chain. Key offsets are hardcoded to that target structure layout; only symbol addresses need to be matched against the target vmlinux.

Root cause

When a non-leader thread calls exec(), de_thread() exchanges TIDs and calls release_task(leader); POSIX timer cleanup sits behind several fallible operations. After a failed exec, the freed k_itimer's timerqueue node stays in a live task's timerqueue, and later cleanup dereferences it again.

Chain: oracle thread pool races → AIO ring spray reclaims the UAF object → elist leaks the task address → fake timer and fake cred crafted in a controlled page → timerqueue unlink double-writes the fake cred into task->cred → setresuid(0) gives a root shell.

Hardcoded layout (7.0 structure)

k_itimer.it.cpu.elist        0xe0
k_itimer.it.cpu.handling     0xf0
k_itimer.it_interval         0x68
sizeof(k_itimer)             0x180
task_struct.cpu_timers head  0xca0
task_struct.cred             0xd00
cred.uid/gid/euid/...        4/8/14/18/24/28/34/38
cred.cap_inh/prm/eff         0x30/0x40/0x50
cred.security                0x80
cred.user_ns                 0x90
sizeof(cred)                 0xb8

Only symbol addresses need per-target adjustment; the in-kernel KASLR leak self-calibrates.

Files

timer_lpe.c           main program
ic_timer_target.h     structure layout (hardcoded)
ic_compat.h           syscall wrappers, AArch64 asm primitives
ic_util.h             shared helpers
ic_shellcode_arm64.c  AArch64 shellcode emitter
ic_target.h           other offsets

Build

export ANDROID_NDK_HOME=/path/to/ndk
$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android29-clang \
    -O2 -std=gnu11 -static -fno-stack-protector -fno-pic -no-pie \
    -I. timer_lpe.c ic_shellcode_arm64.c -o ic98260 \
    -Wl,--gc-sections -Wl,-z,norelro -pthread
下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

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

    786
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    429
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    262
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    256

探索所有工具

浏览我们的工具集合

查看所有工具 →