DEF CON 26 - Zheng and Bai - Fasten your seatbelts We are escaping iOS 11 Sandbox
1,756 views · Published 22 October 2018 · 18:21 · Indexed 21 September 2026
Channel: DEFCONConference · 2018 · Science & Technology
Apple's sandbox was introduced as "SeatBelt" in macOS 10.5 which provided the first full-fledged implementation of the MACF policy. After a successful trial on macOS, Apple applied sandbox mechanism to iOS 6. In its implementation, the policy hooked dozens of operations. The number of hooks has been growing steadily when new system calls or newly discovered threats appeared. In the beginning, Apple's sandbox used a black list approach which means Apple originally concentrated on the known dangerous APIs and blocked them, allowing all others by default. However, with the evolution of Apple's sandbox, it applies a white list approach that denies all APIs and only allows secure ones that Apple trusts. In this talk, we will first introduce Apple's sandbox mechanism and profiles in the latest iOS. Then, we discuss iOS IPC mechanism and review several old classic sandbox escape bugs. Most importantly, we show two new zero-day sandbox escape vulnerabilities we recently discovered in the latest iOS 11.4. Besides, we share our experience of exploiting vulnerabilities in system services through OOL msg heap spray and ROP (Return-oriented programming). In addition, we discuss a task port exploit technique which can be used to control the whole remote process through Mach messages. By using these techniques, security researchers could find and exploit sandbox escape bugs to control iOS user mode system services and further attack the kernel.
More from this channel
-
48:14
DEF CON 20 - Xeno Kovah and Corey Kallenberg - No More Hooks
-
36:49
DEF CON 19 - Engebretson & Pauli - Mamma Dont Let Your BabiesGrow Up to be Pen Testers
-
43:53
DEF CON 19 - Greg Conti - The Art and Science of Security Research
-
52:08
DEF CON 18 - Panel - Meet the Feds - CSI:TCP/IP
-
52:44
DEF CON 18 - Nicole Ozer & Kevin Bankston - Big Brother on the Big Screen: Fact/Fiction?
-
48:38
DEF CON 17 - Scott Moulton - RAID Recovery Recover Your PORN
-
46:44
DEF CON 16 - Jim O'Leary: Every Breath You Take
-
42:29
DEF CON 21 - Ang Cui and Michael Costello - Stepping P3wns