89 matches found
xnu
What is XNU? XNU kernel is part of the Darwin operating system for use in macOS and iOS operating systems. XNU is an acronym for X is Not Unix. XNU is a hybrid kernel combining the Mach kernel developed at Carnegie Mellon University with components from FreeBSD and a C++ API for writing drivers...
CVE-2018-4407
CVE-2018-4407 CVE-2018-4407 is a buffer overflow vulnerability in the XNU kernel's ICMP error code. It causes IOS devices to crash both laptops and mobiles upon receival of one yes 1! single bad packet. The bug was originally disclosured by Kevin Backhouse on his lgtm blogpost on October 30th 201...
rootsh
rootsh rootsh is a local privilege escalation targeting OS X Yosemite 10.10.5 build 14F27. It exploits CVE-2016-1758 and CVE-2016-1828, two vulnerabilities in XNU that were patched in OS X El Capitan 10.11.4 and 10.11.5. rootsh will not work on platforms with SMAP enabled. CVE-2016-1758...
MacDirtyCow
MacDirtyCow Example of CVE-2022-46689 aka MacDirtyCow. What? MacDirtyCow is a privilege escalation vulnerability in macOS, similar to the Dirty COW vulnerability in Linux. The vulnerability resides in the copy-on-write COW mechanism used by macOS's XNU kernel. The vulnerability allows an attacker...
blanket
blanket Blanket is a sandbox escape targeting iOS 11.2.6, although the main vulnerability was only patched in iOS 11.4.1. It exploits a Mach port replacement vulnerability in launchd CVE-2018-4280, as well as several smaller vulnerabilities in other services, to execute code inside the ReportCras...
CVE-2018-4407
CVE-2018-4407 Massive IOS/MAC Attack Exploit CVE-2018-4407 is a Simple and Very Fast BOF attack Against IOS/MAC that can lead to DOS. The vulnerability is a heap buffer overflow in the networking code in the XNU operating system kernel. XNU is used by both iOS and macOS, which is why iPhones,...
CVE-2024-27815
CVE-2024-27815 XNU kernel buffer overflow. Introduced in xnu-10002.1.13, fixed in xnu-10063.121.3. Writeup: https://jprx.io/cve-2024-27815 gcc TURPENTINE.c -o TURPENTINE ./TURPENTINE Hash $ sha256sum TURPENTINE.c f7160a6ad7d52f32d64b86cf3006c98a217954d80c3fc71a8f27595e227d0fa0 TURPENTINE.c Hash...
CVE-2018-4407-IOS
CVE-2018-4407-IOS CVE ? Common Vulnerabilities and Exposures TLDR 이 취약점은 XNU 운영체제 커널의 네트워킹 코드에서 발생하는 힙 버퍼 오버플로 입니다. XNU는 iOS와 macOS 모두에서 사용되므로 iPhone, iPad, MacBook이 모두 영향을 받습니다. 제 익스플로잇 PoC는 힙을 쓰레기로 덮어써서 즉각적인 커널 크래시 및 장치 재부팅을 일으킵니다. 설치 bash install.sh 사용법 python3 exploit.py POC...
SockFuzzer
SockFuzzer: XNU 커널 퍼징 프레임워크 프로젝트 현황 SockFuzzer는 원래 macOS 및 iOS에서 사용되는 XNU 커널을 위한 네트워킹 중심 퍼저로 설계되었지만, 현재는 포괄적인 커널 퍼징 프레임워크로 발전했습니다. 원래 이름을 그 기원을 기리는 의미로 유지하면서, SockFuzzer는 이제 BSD, Mach, 가상 메모리 등을 포함한 광범위한 커널 서브시스템을 다룹니다. 이 프로젝트는 XNU 커널을 사용자 공간에서 "부팅"되고 퍼징될 수 있는 라이브러리로 변환하는 독특한 접근 방식을 구현하여, 여러 서브시스...
iOS-Kernel-Crash
CVE-2018-4407 Memory Corruption The vulnerability is a heap buffer overflow in the networking code in the XNU operating system kernel. XNU is used by both iOS and macOS, which is why iPhones, iPads, and Macbooks are all affected. My exploit PoC just overwrites the heap with garbage, which causes ...
Pishi
Pishi Pishi는 XNU 커널과 임의의 macOS 커널 확장kext에서 basic blocks을 계측하도록 설계된 정적 바이너리 재작성 도구입니다. XNU 커널의 경우, Pishi는 함수, 파일 또는 폴더 수준에서 계측할 수 있게 해줍니다. 예를 들어 /bsd/net/ 디렉터리의 모든 것을 계측하거나 contentfilter.c만 집중적으로, 또는 XNU 소스 코드의 특정 함수 하나, 예를 들어 vnodegetfromfd만 계측할 수 있습니다. 이를 통해 타겟형 퍼징이 가능합니다. Pishi를 빌드하고 설치한 후에는...
CVE-2026-65330
CVE-2026-65330 — tmpfs setxattr PAC Bypass Component: XNU VFS — defaultsetxattrdoubleagent tmpfs VNOP Affected: iOS / iPadOS 26.6 23G71 and earlier Fixed in: iOS / iPadOS 26.6.1 23G83 Type: Fixed PAC diversifier in xattr handler pointer signing Impact: PC control from kernel context; full privile...
CVE-2026-20698-PF_ROUTE-Heap-Overflow
CVE-2026-20698 — PFROUTE RTAGENMASK를 통한 XNU 커널 힙 오버플로 개요 routemsg에서 RTAGENMASK를 처리할 때 XNU의 라우팅 소켓PFROUTE에서 힙 버퍼 오버플로가 발생합니다. 권한이 없는 프로세스에서 자격entitlement 없이 커널 패닉을 유발합니다. CVE : CVE-2026-20698 DARKNAVY에 귀속 영향 : iOS 26.4, macOS 26.4 패치됨 : iOS 26.4 과도한 크기의 genmask를 처리하는 대신 ENOBUFS 반환 영향 범위 : 커널 패닉 /...
CVE-2018-4407-iOS-exploit
CVE-2018-4407 iOS 공격 익스플로잇 CVE-2018-4407은 iOS/mac을 대상으로 하는 간단하고 매우 빠른 BOF 공격으로, DOS로 이어질 수 있습니다. 이 취약점은 XNU 운영 체제 커널의 네트워킹 코드에서 발생하는 힙 버퍼 오버플로우입니다. XNU는 iOS와 macOS 둘 다에서 사용되므로 iPhone, iPad, Macbook 모두 영향을 받습니다. 테스트 환경 macOS High Sierra 10.13.6 Python 3.6 iOS 11.2.6 참고: scapy를 Github 저장소에서 다운로드한 후...
Look-at-The-XNU-Through-A-Tube-CVE-2018-4242-Write-up-Translation-
XNU를 관을 통해 살펴보기: CVE-2018-4242 분석 Zhuo Liang, Qihoo 360 Nirvan 팀 목차 1 소개 1 1.1 CVE-2018-4242 . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 XNU 커널 2 2.1 시스템 콜 . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.2 MIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2.1...
CVE-2024-27815
CVE-2024-27815 sbconcatmbufsbsd/kern/uipcsocket2.c의 XNU 커널 힙 버퍼 오버플로우로, AFUNIX 데이터그램 소켓 계층을 통해 비특권 로컬 사용자가 도달할 수 있습니다. 최대 SOCKMAXADDRLEN255 바이트의 소켓 주소가 길이가 MLEN224 바이트에 불과한 mbuf 데이터 영역에 복사되어, 인접한 mbuf의 헤더mhdr를 최대 31바이트까지 덮어씁니다. 해당 헤더의 모든 필드는 mhflags의 상위 바이트를 제외하고 공격자가 제어할 수 있게 되어, 커널 패닉이 발생합니다. 영...
Exploit for Out-of-bounds Write in Apple Ipados
CVE-2024-27815 XNU kernel heap buffer overflow in sbconcatm...
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...