News for hackers. Stuff that matters.
Re:Apple Exclaves by transpute on Sunday March 09, 2025 @07:59PM (#43315271)
> SK runs on the same high speed application processors as XNU/iOS. To make this possible, additional processor privilege levels are required — likely supported by virtualization extensions, Apple specific additions to SPTM, or most likely via ARM’s TrustZone technology. The XNU source code contains several references regarding transitions to and from TrustZone’s concept of a secure world

Recent Apple phone and laptop SoCs include hardware support for nested virtualization, including the M4 iPad Pro where an exclave is used for the camera LED. Hopefully the next revision of the Apple Platform Security guide will cover SK exclaves and baseband mitigations for Wi-Fi radar sensing, https://help.apple.com/pdf/security/en_US/apple-platform-sec...

150+ TrustZone CVEs, https://www.cve.org/CVERecord/SearchResults?query=trustzone

> it’s a defensive effort on a larger scale than any other end user device manufacturer is currently attempting

Google implemented pKVM on Pixels with hardware nested virtualization a few years ago, and upstreamed the code to Linux mainline, including cooperative de-privileging of TrustZone relative to pKVM L0. But they have not announced defensive features using pKVM/AVF, outside of Debian "Linux Terminal" VM.

Re:Apple Exclaves by transpute on Monday March 10, 2025 @03:45AM (#43317903)
The author published a follow-up post and revised diagram, https://randomaugustine.medium.com/more-speculation-on-excla...

> While I speculated that TrustZone was being used, exclaves may well use the existing SPTM and GXF (Guarded Execution) privilege levels after all. One implication may be that there is no hard reason they couldn't be supported on iPhone 13 and higher, aside from RAM requirements and development effort. Make no mistake these are huge undertakings even for Apple.

Re:Apple Exclaves by als0 on Monday March 10, 2025 @09:42AM (#43320510)
> 150+ TrustZone CVEs, https://www.cve.org/CVERecord/SearchResults?query=trustzone

It’s important to note that most of those CVEs are to do with vulnerable software that manufacturers put in the TrustZone protected environment (many of which are garbage). There are very few vulnerabilities reported about the hardware itself.

Re:Apple Exclaves by michaelt on Monday March 10, 2025 @06:09PM (#43326680)
Personally, I've always thought the fact these vulnerabilities keeps happening demonstrates that TrustZone's secure execution environment just isn't designed well.

If you're a phone designer, and you're going to put unlock PIN validation into a trusted execution environment? Sure, makes sense. If you're going to put your widevine DRM code into a trusted execution environment? I guess.

But why did they make a design that means a vulnerability in the DRM code allows an attack on the PIN validation code? That means the attack surface is huge.

You gotta keep these clowns separated if you don't want them spraying each other with water and throwing pies down each other's trousers.

Re:Apple Exclaves by sly010 on Monday March 10, 2025 @10:49PM (#43328682)
Isn't that just true for vulnerabilities in general? Trust Zone is not a security mechanism, it's an isolation mechanism.