CommunityNews

CommunityNews

Modern iOS Security Features -- A Deep Dive into SPTM, TXM, and Exclaves

The XNU kernel is the basis of Apple’s operating systems. Although labeled as a hybrid kernel, it is found to generally operate in a monolithic manner by defining a single privileged trust zone in which all system functionality resides. This has security implications, as a kernel compromise has immediate and significant effects on the entire system. Over the past few years, Apple has taken steps towards a more compartmentalized kernel architecture and a more microkernel-like design. To date, there has been no scientific discussion of SPTM and related security mechanisms. Therefore, the understanding of the system and the underlying security mechanisms is minimal. In this paper, we provide a comprehensive analysis of new security mechanisms and their interplay, and create the first conclusive writeup considering all current mitigations. SPTM acts as the sole authority regarding memory retyping. Our analysis reveals that, through SPTM domains based on frame retyping and memory mapping rule sets, SPTM introduces domains of trust into the system, effectively gapping different functionalities from one another. Gapped functionality includes the TXM, responsible for code signing and entitlement verification. We further demonstrate how this introduction lays the groundwork for the most recent security feature of Exclaves, and conduct an in-depth analysis of its communication mechanisms. We discover multifold ways of communication, most notably xnuproxy as a secure world request handler, and the Tightbeam IPC framework. The architecture changes are found to increase system security, with key and sensitive components being moved out of XNU’s direct reach. This also provides additional security guarantees in the event of a kernel compromise, which is no longer an immediate threat at the highest trust level.

Read in full here:

Where Next?

Popular Ios topics Top

First poster: bot
Meet distributed actors in Swift - WWDC22 - Videos - Apple Developer. Discover distributed actors — an extension of Swift’s actor model ...
New
New
First poster: bot
Implementing Parts of the Swift Compiler in Swift. Hi all, In the past few years, some components of the Swift compiler have started be...
New
First poster: bot
The Urtopia Carbon is a decent bike that tries to do a lot with its software.
New
First poster: bot
The Dynamic Island might come to all iPhone 15 models. The Dynamic Island may not be limited to Pro models.
New
CommunityNews
Raw identifiers, backtraces, task naming, and more.
New
CommunityNews
After 4 years with Apple’s TextKit 2: The promised ‘better’ text engine has unstable scrolling, unreliable height estimates, and viewport...
New
CommunityNews
iTorrent’s developer has been blocked from distributing apps on alternative iOS stores.
New
CommunityNews
A reaction and assorted observations about Apple’s September 9 Awe-Dropping event.
New
CommunityNews
Apple and Samsung continued to capture the Top 10 spots. These 10 models contributed 19% of annual smartphone sales.In terms of compariso...
New

Other popular topics Top

brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
New
PragmaticBookshelf
A masterclass in the fundamentals and principles of functional programming. Minh Quang Tran The Art of Functional Programming is a ma...
New