~/talk

Dive into Apple UserFS (Userspace Filesystem)

Talkat Black Hat USA 2023 · 2023-08-05..08-10· [security]
links:none on file
slides:none on file

Apple moves FAT/exFAT handling into a user-space framework where a USB mount flows: lockd triggers UserFSD, UserFSD calls UVFS service which loads plugins and delegates to Live File Provider D and the userland tool mount_lif_fs; kernel RIFS forwards syscalls to user space via Mach messages (notably message ID 0x285) with per-request IDs. Reverse engineering finds XATTR offset checks missing, allowing attribute-overwrite primitives; a one-bit overwrite primitive yields a root shell on macOS 10.10.1 and the bug affects iOS <16.2 (CVE-2022-42861 related).

AI-written summary · about

  1. 0:00Introduction
  2. 2:18What is Apple UserFS
  3. 7:58Mounting UserFS volumes
  4. 12:24Accessing files via UserFS
  5. 15:34UserFS vulnerabilities
  6. 21:04Exploiting UserFS for kernel attacks
  7. 22:12Filesystem security changes
  8. 23:41Advantages and disadvantages of UserFS
  9. 24:46UserFS performance impact
  10. 25:08Conclusion
~/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.