Login Papers Register

Need an account to vote? Register to attend at gsec.hitb.org/sg2018/
Deadline is 30th June 2018!

<< previous next >>

The Road to iOS Sandbox Escape

Rani Idan

4 vote(s)

Apple’s sandbox may seem the “safest”, We decided to research interesting and not well known IPC. Among the history of iOS vulnerabilities, many vulnerabilities were discovered mostly on XPC, we decided to reveal the mach messages mechanism Apple still uses and poorly designed daemons based on mach message IPC.

With all of this in mind, we started to research all the mach ports accessible from within the sandbox and it revealed a new world to explore.
In order to have better understanding on the different mach message handlers, we created several research tools we are willing to share with the community. Those scripts were the key and the breakthrough to better reveal the backend of most of Apple’s API between the sandbox and the daemons. Nevertheless, we will share several vulnerabilities that were found during the research, mainly focus on the vulnerability that leads to execution of arbitrary code on most of the daemons outside the sandbox, for example, sharingd, coreduetd, SpringBoard, mDNSResponder, aggregated, wifid, Preferences, CommCenter, iaptransportd, findmydeviced, routined, UserEventAgent, carkitd, mediaserverd, bluetoothd and so on.

The vulnerability is giving full control on PC and on several registers on the vulnerable daemons and exists on all of Apple mobile devices (iOS, WatchOS and tvOS).

Moreover, We will cover possible exploitation and reveal necessary gadgets that may be used for full chain.

===

Rani Idan (@raniXCH) is a mobile security researcher at Zimperium. Glutton for every challenge, Hacking since youth for fun and profit. Having experience in vulnerability research, network security and always seeking to study.