T
traeai
Sign in
返回首页
Hacker News Best

First Public macOS Kernel Memory Corruption Exploit on Apple M5

7.5Score
First Public macOS Kernel Memory Corruption Exploit on Apple M5

TL;DR · AI Summary

The article reveals the first public macOS kernel memory corruption exploit targeting Apple M5 chips, demonstrating how AI and security experts can break MIE protections in a week.

Key Takeaways

  • First public macOS kernel memory corruption exploit on M5 chip
  • AI and experts broke MIE protections in one week
  • Exploit escalates from unprivileged user to root

Outline

Jump quickly between sections.

  1. The article introduces the first public macOS kernel memory corruption exploit targeting Apple M5 chips.

  2. Memory corruption is a common vulnerability type, and Apple enhances security with MIE.

  3. MIE is a hardware-level memory protection system based on ARM MTE, designed to prevent memory corruption attacks.

  4. The attack starts from an unprivileged user and achieves kernel privilege escalation using two vulnerabilities.

  5. From vulnerability discovery to exploit development took only six days, showcasing AI and expert collaboration efficiency.

  6. This exploit shows that even the strongest protections can be broken, and future attention should focus on AI's role in vulnerability discovery.

Mindmap

See how the topics connect at a glance.

查看大纲文本(无障碍 / 无 JS 友好)
  • M5芯片上的macOS内核漏洞利用
    • 漏洞背景
      • 内存破坏是常见漏洞类型
      • 苹果通过MIE增强安全性
    • MIE机制
      • 基于ARM MTE的硬件级防护
      • 旨在阻止内存破坏攻击
    • 攻击过程
      • 从普通用户权限开始
      • 利用两个漏洞实现内核提权
      • 仅用6天完成开发
    • 结论
      • 最强防护也可能被突破
      • AI在漏洞发现中作用显著

Highlights

Key sentences worth saving and sharing.

  • This is the first public macOS kernel memory corruption exploit targeting Apple M5 chips, demonstrating how AI and experts can break MIE protections in a week.

    Paragraph 1

    ⬇︎ 下载 PNG𝕏 分享到 X
  • MIE is a hardware-level memory protection system based on ARM MTE, designed to prevent memory corruption attacks.

    Paragraph 3

    ⬇︎ 下载 PNG𝕏 分享到 X
  • The exploit starts from an unprivileged user, uses two vulnerabilities to achieve kernel privilege escalation, and was developed in just six days.

    Paragraph 4

    ⬇︎ 下载 PNG𝕏 分享到 X
#Security#Exploit#Apple#M5#Memory Corruption
Open original article

Title: First public macOS kernel memory corruption exploit on Apple M5

URL Source: https://blog.calif.io/p/first-public-kernel-memory-corruption

Published Time: 2026-05-14T14:59:54+00:00

Markdown Content:

Earlier this week, we had a meeting at Apple Park in Cupertino. While there, we also shared with Apple our latest vulnerability research report: the first public macOS kernel memory corruption exploit on M5 silicon, bypassing MIE. It was laser printed, in honor of our hacker friends.

We wanted to report it in person, instead of getting buried in the submission flood that some unfortunate Pwn2Own participants just experienced. Most respected hackers avoid human interaction whenever possible, so this physical strategy may give us a slight edge in the eternal race for five minutes of fame and glory on Twitter.

This is the story of the exploit and our field trip. Full technical details will be shared after Apple fixes the vulnerabilities and attack path. Hopefully it won’t take our beloved company too long. We only budgeted one year of domain registration fees for this attack.

Image 1

Memory corruption remains the most common vulnerability class everywhere, including iOS and macOS. In security, if you can’t fully prevent something, you ~~accept the risk~~ mitigate it by making exploitation more expensive.

But mitigations are not cheap. If performance didn’t matter, many security problems would be easy to solve. Apple is smart and controls the full stack, so they pushed many of these defenses directly into hardware and made bypassing them significantly harder. Many security experts consider Apple devices to be the most secure consumer platform.

The latest flagship example is MIE (Memory Integrity Enforcement), Apple’s hardware-assisted memory safety system built around ARM’s MTE (Memory Tagging Extension). It was introduced as the marquee security feature for the Apple M5 and A19, specifically designed to stop memory corruption exploits, the vulnerability class behind many of the most sophisticated compromises on iOS and macOS.

Apple spent five years building it. Probably billions of dollars too. According to their research, MIE disrupts every public exploit chain against modern iOS, including the recently leaked Coruna and Darksword exploit kits.

We’ve been on a fun journey exploring how AI can help build exploits that still work under MTE. While Apple’s focus is primarily iOS, they also brought MIE to the M5, the chip powering the latest MacBooks.

Our macOS attack path was actually an accidental discovery. Bruce Dang found the bugs on April 25th. Dion Blazakis joined Calif on April 27th. Josh Maine built the tooling, and by May 1st we had a working exploit.

The exploit is a data-only kernel local privilege escalation chain targeting macOS 26.4.1 (25E253). It starts from an unprivileged local user, uses only normal system calls, and ends with a root shell. The implementation path involves two vulnerabilities and several techniques, targeting bare-metal M5 hardware with kernel MIE enabled.

PoC video:

Video 3

We didn’t build the chain alone. Mythos Preview helped identify the bugs and assisted throughout exploit development.

Mythos Preview is powerful: once it has learned how to attack a class of problems, it generalizes to nearly any problem in that class. Mythos discovered the bugs quickly because they belong to known bug classes. But MIE is a new best-in-class mitigation, so autonomously bypassing it can be tricky. This is where human expertise comes in.

Part of our motivation was to test what’s possible when the best models are paired with experts. Landing a kernel memory corruption exploit against the best protections in a week is noteworthy, and says something strong about this pairing.

To the best of our knowledge, this is the first public macOS kernel exploit on MIE hardware. Again, we’ll publish our 55-page report after Apple ships a fix.

MIE was never meant to be hacker-proof. With the right vulnerabilities, it can be evaded. As we’ve shown throughout the MAD Bugs series, AI systems are already discovering more and more vulnerabilities. It’s inevitable that some of those bugs will eventually be powerful enough to survive even advanced mitigations like MIE. This is exactly what we just discovered.

This work is a glimpse of what is coming. Apple built MIE in a world before Mythos Preview. We’re about to learn how the best mitigation technology on Earth holds up during the first AI bugmageddon.

Epilogue

The Apple spaceship is every bit as breathtaking as people say. It has a lot of apple trees, obviously. We wanted to check out the infamous Infinite Loop too, but were afraid it could take a long time.

Our hosts shared that Apple spent $5 billion building this “office”, then asked about our office. We said, well, ours definitely cost *less* than $1 billion.

But this is the fun part about AI. Small teams can suddenly do things that used to require entire organizations. With the right strategy and people, even a tiny company can become mighty enough that the world’s largest companies start asking for its help.

In Vietnamese, we say, “nhỏ mà có võ”.

AI may generate inaccurate information. Please verify important content.