~/talk

iOS Dual Booting Demystified

Talkat Black Hat Asia 2019 · 2019-03-26..03-29· [security, embedded-and-hardware]
speakerdeck:mbazaliy
slides:none on file

Describes how to boot a custom iOS firmware image by loading a modified bootloader (uploaded over USB with iRecovery/minicom) that assembles a RAM disk, device tree, trust cache and kernel then issues boot x; uses kloader/coolbooter techniques and tools like kloader64 and a RAM-disk running dropbear server to get SSH. Demonstrates iOS 11.4.1 and 12.1 on iPhone 7, disables KASLR/KTRR and code-sign checks, shows writable kernel memory, and notes SEP incompatibilities and A12 hardening as limits.

AI-written summary · about

  1. 0:00Introduction
  2. 0:51What is Dual Boot
  3. 2:56Apple Secure Boot
  4. 4:51Boot ROM
  5. 6:50Boot Loaders
  6. 8:27Hardware Mappings
  7. 9:01Kernel
  8. 9:48RAM Disk
  9. 12:02Reverse Engineer
  10. 12:31Common Handler
  11. 13:32Supported Commands
  12. 15:22Booting
  13. 15:52Kloader
  14. 17:28Kernel Patch Protector
  15. 20:51IBoot
  16. 22:12Debug
  17. 23:35Relocate KLR
  18. 23:51Go
  19. 24:46KTR
  20. 26:34KPP
  21. 26:48XNU
  22. 27:44Additional Mitigation
  23. 28:48Code Sign
  24. 28:59MCC
  25. 30:18Sleep Mode
  26. 30:57Static Maps
  27. 31:31Patching
  28. 32:26RAM Disk Patches
  29. 34:42Physical Storage
  30. 35:33Trust Cache
  31. 36:09Combining all components
  32. 36:40Booting the whole system
  33. 37:29Demo
  34. 46:00Discussion
  35. 49:40Thanks
~/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.