~/talk

The Price of Compatibility: Defeating macOS Kernel Using Extended File Attributes

Talkat Black Hat Asia 2021 · 2021-05-04..05-07· [security]
links:none on file
slides:none on file

Finds two macOS kernel flaws in the FAT compatibility layer that parses AppleDouble ._ files, turning malformed extended-attribute headers into an out-of-bounds read and an out-of-bounds slab write. Uses source audit and a timed exploit that writes a 64 MB xattr dump to enlarge a file write window, precise kernel-heap grooming of ipc_key_message objects to create a UAF, and converts primitives to arbitrary kernel read/write and privilege escalation. Demonstrates reproducible zero‑click panic on mount, provides exploit code, and notes iOS is not affected; fix ships in macOS 10.15.2.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Who am I
  3. 1:10Agenda
  4. 1:56Finder
  5. 2:35File
  6. 3:25XML
  7. 5:03Disk Utility
  8. 5:35File System
  9. 7:18xctr
  10. 7:39AmpleFile
  11. 8:09File Parsing
  12. 9:25Code Audit
  13. 10:43The Problem
  14. 13:42Memory Disclosure
  15. 14:41Location Kernel
  16. 15:22Kernel Privilege Exclusion
  17. 17:21What can ob slam do
  18. 19:52Ob slam side effects
  19. 22:57Perfect UAF
  20. 25:54Slapback Operation
  21. 28:14Exploit Strategy
  22. 29:12Key erqc
  23. 29:58Impact on iOS
  24. 31:47The vulnerability
  25. 33:13Exploit process
  26. 34:18Flash drive attack
  27. 35:06File C vulnerability
  28. 36:08Outro
~/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.