A Journey Through Exploit Mitigation Techniques in iOS
Max Bazaliy reviews the evolution of Apple's exploit mitigations in iOS 9 and 10, detailing modern bypasses against sandbox restrictions, KPP, and code signing.
Summary
Architecture and Background
Over the past year, Apple has consistently added features to prevent exploitation of the iOS kernel. These features, while largely misunderstood, provide a path for understanding of the iOS security model going forward. This talk will examine the history of iOS’s exploit mitigations from iOS 8 to iOS 9.3 in order to teach important features of the architecture.
Vulnerability Analysis
This talk will cover various enhancements that stop attackers from dynamically modifying the functionality of system services, but also resulted in the defeat of all known exploitation through function hooking. Additionally, we will explore how the ability to use PLT interception and the use of direct memory overwrite are no longer options for exploit writers because of recent changes. Finally, we will cover the code-signing mechanism in depth, user land and kernel implementations and possible ways to bypass code-sign enforcement.
Exploitation and Demonstrations
Max Basally is a security researcher at Lookout. He has over 9 years of experience in the security research space. Max has experience in native code obfuscation, malware detection and iOS exploitation.
Remediation and Defensive Strategies
Before joining Lookout Max was working in malware research and software protection areas, most recently at Bluebook Security. Currently he is focused on mobile security research, XNU and LLVM internals. Max holds a Master’s degree in Computer Science.
Related talks
Main Stage·18 min
Zheng · Bai
Zheng and Bai presents fasten your seatbelts we are escaping ios 11 sandbox: Apple's sandbox was introduced as "SeatBelt" in macOS 10.5 which provided the first full-fledged implementation of the MACF policy.
Main Stage·21 min
Ava Latrope
Ava Latrope explores exercise in messaging and presence pwnage at DEF CON 17, examining mobile-security and practical defenses.
Black Hat·39 min
Zuozhi Fan
Engineers explore architecture and security mechanisms for Everything has Changed in iOS 14, but Jailbreak is Eternal.


