~/talk

Attacking iPhone XS Max

Talkat Black Hat USA 2019 · 2019-08-03..08-08· [security, ios]
links:none on file
name:Hao Xu
links:none on file
slides:none on file

Identifies an XNU Unix domain socket race that creates a use‑after‑free via UNP bind temporary unlock and shows a concrete exploit chain: close sockets, trigger zone GC, spray controllable OSData and pipe buffers, replace freed memory with OOL port descriptors to build a fake kernel task/TFP0, then achieve arbitrary kernel read/write and KASLR leak. Shows PAC on A12 blocks direct ROP, and bypasses it by abusing saved thread context and invoking a PPL entry to load a trust cache, yielding a working iPhone XS Max jailbreak and SSH.

AI-written summary · about

  1. 0:00Intro
  2. 1:10Outline
  3. 2:03Unix Domain Socket
  4. 5:41Race Condition
  5. 9:56The fix
  6. 10:39The pattern
  7. 11:45UAF, let's look at the USE
  8. 12:32Binary version may be better
  9. 17:40PAC (Pointer Authentication Code)
  10. 21:51UAF, let's look at the second USE
  11. 25:49Got troubles while adding trust caches
  12. 27:42tfpo's write capability for kernel image
  13. 29:04Look for unprotected control flow transfer points
  14. 32:07What can we do
  15. 33:18Got ssh on iPhone XS Max
  16. 33:40Black Hat Sound Bytes
~/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.