82 matches found
MacDirtyCow
MacDirtyCow CVE-2022-46689(又名 MacDirtyCow)的示例。 这是什么? MacDirtyCow 是 macOS 中的一个权限提升漏洞,类似于 Linux 中的 Dirty COW 漏洞。该漏洞位于 macOS 的 XNU 内核所使用的写时复制(COW)机制中。该漏洞允许攻击者修改只读的 root 所有文件,这可能导致攻击者在受影响系统上获得 root 权限。 该漏洞是由 macOS 的 XNU...
xnu
什么是 XNU? XNU 内核是 Darwin 操作系统的一部分,用于 macOS 和 iOS 操作系统。XNU 是 X is Not Unix 的缩写。 XNU 是一个混合内核,结合了卡内基梅隆大学开发的 Mach 内核与 FreeBSD 的组件,以及一个用于编写驱动程序的 C++ API,称为 IOKit。 XNU 运行在 x8664 和 ARM64 上,支持单处理器和多处理器配置。 XNU 源代码树 config - 配置用于导出API的体系结构和平台 SETUP - 用于配置内核、版本控制和 kextsymbol 管理的基本工具集。 EXTERNALHEADERS -...
CVE-2018-4407
CVE-2018-4407 CVE-2018-4407 是 XNU 内核 ICMP 错误代码中的一个缓冲区溢出漏洞。它会导致 IOS 设备在收到一个(是的,1 个!)恶意数据包时崩溃(包括笔记本和移动设备)。 该漏洞最初由 Kevin Backhouse 在其 lgtm 博客文章 中于 2018 年 10 月 30 日披露。 此仓库中的代码是 CVE-2018-4407 漏洞利用的概念验证,使用 Python 实现,并基于 scapy 和 nmap。 调试 我的调试过程中的一些步骤。查看 XNU 内核代码可以得出可能触发缓冲区溢出的 iphlen 和 tcphlen 的值。正如...
rootsh
rootsh rootsh 是一个针对 OS X Yosemite 10.10.5 build 14F27 的本地权限提升工具。它利用了 CVE-2016-1758 和 CVE-2016-1828,这两个 XNU 中的漏洞已在 OS X El Capitan 10.11.4 和 10.11.5 中修补。rootsh 无法在启用了 SMAP 的平台上运行。 CVE-2016-1758 CVE-2016-1758 是一个信息泄露漏洞,由于将内核栈中未初始化的字节复制到用户空间导致。通过比较泄露的内核指针与固定参考地址,可以恢复内核偏移(kernel slide)。 CVE-2016-1828...
CVE-2018-4407
CVE-2018-4407 大规模 IOS/MAC 攻击利用 CVE-2018-4407 是一种针对 IOS/MAC 的简单且非常快速的 BOF 攻击,可导致 DOS。该漏洞是 XNU 操作系统内核中网络代码的堆缓冲区溢出。XNU 同时用于 iOS 和 macOS,因此 iPhone、iPad 和 MacBook 均会受到影响。 用法 root@kitploit: apt-get install nmap git clone https://github.com/r3dxpl0it/CVE-2018-4407.git && cd CVE-2018-4407 && pip install ...
CVE-2023-41992
CVE-2023-41992 这是 CVE-2023-41992 的概念验证。首先,这与 越狱 无关!并且它仍在开发中。 感谢到目前为止帮助过我的每个人。出于隐私考虑,我可能不在此列出你们。如果想让我列出,请私信我! 补丁 据我所知,补丁位于 ipcrightdestroy 中。也有人曾在 X(或 Twitter)上指出这一点。 root@kitploit: diff --git a/osfmk/ipc/ipcright.c b/osfmk/ipc/ipcright.c index a81ac21..32a9a3e 100644 --- a/osfmk/ipc/ipcright.c ++...
CVE-2024-27815
CVE-2024-27815 Desbordamiento de búfer en el kernel XNU. Introducido en xnu-10002.1.13, corregido en xnu-10063.121.3. Análisis: https://jprx.io/cve-2024-27815 root@kitploit: gcc TURPENTINE.c -o TURPENTINE ./TURPENTINE Hash root@kitploit: $ sha256sum TURPENTINE.c...
CVE-2018-4407-IOS
CVE-2018-4407-IOS CVE ?(通用漏洞披露) TLDR 该漏洞是 XNU 操作系统内核网络代码中的堆缓冲区溢出。XNU 被 iOS 和 macOS 使用,因此 iPhone、iPad 和 Macbook 均受影响。我的 PoC 漏洞利用仅用垃圾数据覆盖堆,导致内核立即崩溃并重启设备。 安装 root@kitploit: bash install.sh 使用 root@kitploit: python3 exploit.py POC...
SockFuzzer
SockFuzzer:XNU 内核模糊测试框架 项目状态 SockFuzzer 最初是面向 XNU 内核(用于 macOS 和 iOS)的网络模糊测试工具,现已发展成为一个全面的内核模糊测试框架。虽然保留了原名以纪念其起源,SockFuzzer 现在覆盖了广泛的内核子系统,包括 BSD、Mach、虚拟内存等。该项目实现了一种独特的方法,将 XNU 内核转换为可在用户空间中“启动”并进行模糊测试的库,从而能够在多个子系统中高效地发现和重现漏洞。 项目目标 1. 在受控环境中全面测试 XNU 内核 2. 发现并重现各种 XNU 子系统中的漏洞 3. 为 XNU 安全的持续模糊测试和改进提供框...
iOS-Kernel-Crash
CVE-2018-4407 内存破坏 该漏洞是 XNU 操作系统内核中网络代码的一个堆缓冲区溢出。XNU 同时被 iOS 和 macOS 使用,因此 iPhone、iPad 和 MacBook 均受影响。我的漏洞利用 PoC 仅用垃圾数据覆盖堆,从而立即导致内核崩溃和设备重启。...
Pishi
Pishi Pishi is a static binary rewriting tool designed to instrument basic blocks in XNU kernel and in arbitrary macOS kernel extensions kexts. for XNU kernel, Pishi allows you to instrument at a function, file, or folder level. For example, you can instrument everything in the /bsd/net/ director...
CVE-2026-20698-PF_ROUTE-Heap-Overflow
CVE-2026-20698 — XNU 内核通过 PFROUTE RTAGENMASK 导致的堆溢出 概述 XNU 路由套接字(PFROUTE)在处理 routemsg 中的 RTAGENMASK 时存在堆缓冲区溢出。该漏洞可由无权限且无任何授权的非特权进程触发内核崩溃。 CVE :CVE-2026-20698(归功于 DARKNAVY) 受影响版本 :iOS 26.4,macOS 26.4 已修复版本 :iOS 26.4(返回 ENOBUFS 而非处理超大的 genmask) 影响 :内核崩溃 / 拒绝服务,潜在的堆破坏 Apple 报告...
CVE-2026-65330
CVE-2026-65330 — tmpfs setxattr PAC 绕过 组件: XNU VFS — defaultsetxattrdoubleagent(tmpfs VNOP) 受影响版本: iOS / iPadOS 26.6 23G71 及更早版本 修复版本: iOS / iPadOS 26.6.1 23G83 类型: xattr 处理器指针签名中的固定 PAC 多样化器 影响: 从内核上下文控制 PC;结合内核写入原语可实现完全提权 致谢 发现者:Bhaswanth Chigurupati 、Billy Jheng Bing Jhong 、Pan Zhenpeng...
CVE-2018-4407-iOS-exploit
CVE-2018-4407 iOS 攻击利用 CVE-2018-4407 是一种简单且非常快速的 BOF 攻击,针对 iOS/mac,可导致 DOS。该漏洞是 XNU 操作系统内核网络代码中的堆缓冲区溢出。XNU 被 iOS 和 macOS 共同使用,因此 iPhone、iPad 和 Macbook 均受影响。 测试环境 macOS High Sierra 10.13.6 Python 3.6 iOS 11.2.6 注意:scapy 需要从 Github 仓库下载并运行 shell 命令 'python3 setup.py install'...
Look-at-The-XNU-Through-A-Tube-CVE-2018-4242-Write-up-Translation-
Mira a XNU a Través de un Tubo: Análisis de CVE-2018-4242 Zhuo Liang de Qihoo 360 Nirvan Team Contenido 1 Introducción 1 1.1 CVE-2018-4242 . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 El Kernel XNU 2 2.1 Llamada al Sistema . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.2 MIG...
CVE-2026-49418 Use-after-free in device pager page list
When msyncMSINVALIDATE is called on a mapping of an unmanaged device object, the physical pages in the mapping range are marked invalid but remain in the pager's page list. A subsequent page fault will cause the fault handler to re-insert the page into the object's list. This corrupts the list, a...
One (Thread) Can Keep a (PRNG) Secret, but Not Two
We present a novel, practical attack on the IPv6 Fragment ID generation algorithm of XNU, which is the kernel used by Apple products such as macOS and iOS. This attack exploits a race-condition vulnerability in the algorithm's pseudorandom number generator PRNG to cryptanalytically break, learn t...
Exploit for Out-of-bounds Write in Apple Ipados
CVE-2026-20698 — XNU Kernel Heap Overflow via PFROUTE RTAGEN...
📄 macOS 10.13.4 (17E199) fgetattrlist Heap Overflow
Proof of concept Metasploit module that exploits a macOS version 10.13.4 heap overflow vulnerability. A kernel heap overflow exists in fgetattrlist due to missing lower-bound buffer size validation when writing returned attributes to caller-supplied memory...
📄 macOS 10.12.2 XNU Kernel Privilege Escalation
This proof of concept targets a race‑condition vulnerability in the XNU kernel affecting macOS/iOS. By forcing a use‑after‑free condition on kernel ports, the exploit manipulates freed memory through a controlled spray, allowing a user‑controlled replacement object. Successful exploitation yields...