~/talk

Booting the iOS Kernel to an Interactive Bash Shell on QEMU

Talkat Black Hat Europe 2019 · 2019-12-02..12-05· [security, ios]
links:none on file
slides:none on file

Boots an unpatched iOS kernel (iOS 12.1 for iPhone 6s Plus) on QEMU, runs the secure monitor in EL3 and the kernel in EL1, and presents a working interactive bash shell over the emulated serial console with GDB kernel debugger attached. Implements unsigned-executable support by injecting a static trust cache (must be sorted), fixes kernel base/MAHO placement to avoid panics, enables serial input via a kernel boot-arg bit, and demonstrates a voucher_swap use-after-free live-debugged on the emulator. Current limits: single CPU, RAM-disk root, serial-only I/O.

AI-written summary · about

  1. 0:00Introduction to iOS research
  2. 0:26Current iOS research methods
  3. 4:03Project goals and background
  4. 4:41Previous emulation work
  5. 5:41Project objectives
  6. 7:24Demo and current status
  7. 9:14Kernel booting challenges
  8. 12:38Secure monitor implementation
  9. 18:01Executing custom binaries
  10. 23:32Bash shell setup
  11. 28:24Enabling serial input
  12. 29:23Debugging vulnerabilities
  13. 36:03Future work and Q&A
  14. 38:26Conclusion and legal talk
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.