Filippo Bigarella

@fb
608 Followers
150 Following
72 Posts
 Security Engineering and Architecture 🇪🇺🇮🇹🇫🇷🌉
Websitehttps://fbiga.com
Twitter@FilippoBiga

Adopting Memory Integrity Enforcement means protecting your users using best-in-class technologies when it comes to memory safety.

Check out our talk to learn more about MIE, its security model, and how to make the best out of it to protect your users

https://www.youtube.com/live/UZeSyodAszc?t=5252&si=WVmGadfosPk0Rjrt

Fortify your app: Essential strategies to strengthen security | Meet with Apple

YouTube

If you’re an iOS app developer, there’s no better time than now to secure your app against memory safety vulnerabilities.

We had a great developer event yesterday where we talked about all the technologies that we use, which are now available for you to take advantage in your own apps.

Check out the recording on YouTube. https://www.youtube.com/live/UZeSyodAszc

Fortify your app: Essential strategies to strengthen security | Meet with Apple

YouTube

And it comes with some pretty great documentation as well: https://github.com/apple-oss-distributions/libmalloc/blob/libmalloc-792.41.1/doc/xzone_malloc.md

Start from here if you want to understand the overall design of xzone malloc, what are the security features it implements and in general what a modern, performant yet security-focused allocator looks like.

libmalloc/doc/xzone_malloc.md at libmalloc-792.41.1 · apple-oss-distributions/libmalloc

Contribute to apple-oss-distributions/libmalloc development by creating an account on GitHub.

GitHub

xzone malloc is now open source! 🎉
https://github.com/apple-oss-distributions/libmalloc/tree/libmalloc-792.41.1/src/xzone_malloc

This is our new system allocator, built from the ground up to deliver state-of-the-art security mitigations (including full MTE support). It’s used by all user-space processes across all platforms and serves as a key cornerstone of MIE.

Even better, it achieves all this while improving performance over the previous implementation.

Working on it with such an exceptional team has been an absolute thrill and an honor.

libmalloc/src/xzone_malloc at libmalloc-792.41.1 · apple-oss-distributions/libmalloc

Contribute to apple-oss-distributions/libmalloc development by creating an account on GitHub.

GitHub

Are you interested in bleeding-edge microarchitecture offensive security research, with a concrete impact on user security?
We have just opened a Microarchitecture Security Internship position at Apple, in SEAR LASER! ❤️‍🔥

Apply here: https://jobs.apple.com/en-us/details/200624069/microarchitecture-security-internship

Microarchitecture Security Internship - Jobs - Careers at Apple

Apply for a Microarchitecture Security Internship job at Apple. Read about the role and find out if it’s right for you.

“Memory Integrity Enforcement (MIE) is the culmination of an unprecedented design and engineering effort [which] represents the most significant upgrade to memory safety in the history of consumer operating systems.”

I’m deeply grateful and proud to be part of this team.

And we're not stopping here. Onward we go, hope you will tag along!

https://security.apple.com/blog/memory-integrity-enforcement/

Memory Integrity Enforcement: A complete vision for memory safety in Apple devices - Apple Security Research

Memory Integrity Enforcement (MIE) is the culmination of an unprecedented design and engineering effort spanning half a decade that combines the unique strengths of Apple silicon hardware with our advanced operating system security to provide industry-first, always-on memory safety protection across our devices — without compromising our best-in-class device performance. We believe Memory Integrity Enforcement represents the most significant upgrade to memory safety in the history of consumer operating systems.

Memory Integrity Enforcement: A complete vision for memory safety in Apple devices - Apple Security Research

kalloc_type was really only the fist step, of a much larger protection.

We call it Memory Integrity Enforcement.

https://security.apple.com/blog/memory-integrity-enforcement/

Memory Integrity Enforcement: A complete vision for memory safety in Apple devices - Apple Security Research

Memory Integrity Enforcement (MIE) is the culmination of an unprecedented design and engineering effort spanning half a decade that combines the unique strengths of Apple silicon hardware with our advanced operating system security to provide industry-first, always-on memory safety protection across our devices — without compromising our best-in-class device performance. We believe Memory Integrity Enforcement represents the most significant upgrade to memory safety in the history of consumer operating systems.

Memory Integrity Enforcement: A complete vision for memory safety in Apple devices - Apple Security Research
If your app crashes on 0x400000000000bad0 when running on the new stuff, it means you have an ObjC strong variable/property being concurrently mutated. https://developer.apple.com/documentation/xcode-release-notes/xcode-26-release-notes#Objective-C-Runtime
Xcode 26 Beta Release Notes | Apple Developer Documentation

Update your apps to use new features, and test your apps against API changes.

Apple Developer Documentation

Hear about new ways to interoperate between languages without fear in Safely mix C, C++, and Swift

https://developer.apple.com/videos/play/wwdc2025/311/

#swift #swiftlang #wwdc

Safely mix C, C++, and Swift - WWDC25 - Videos - Apple Developer

Learn how to mix C, C++, and Swift while improving the safety of your apps. We'll show you how to find where unsafe C and C++ APIs are...

Apple Developer

🆕⚛️🔐 Starting with iOS 26, CryptoKit gets support for quantum-secure cryptography with algorithms such as ML-KEM, ML-DSA and HPKE with X-Wing:

https://developer.apple.com/documentation/cryptokit/using-the-quantum-secure-apis

👉 Join us for a session on how to protect your app's user data from the emerging threat of quantum computing!
https://developer.apple.com/videos/play/wwdc2025/314

Using the quantum-secure APIs | Apple Developer Documentation

Enhance your app’s privacy and security by using quantum-secure workflows.

Apple Developer Documentation