~/talk

Skeletons in the App Sandbox: 5+ Ways to Escape

Talkat Black Hat Europe 2021 · 2021-11-08..11-11· [security]
links:none on file
slides:none on file

LaunchServices logic bugs (CVE-2021-30677, CVE-2021-30783 and others) let a sandboxed app control environment variables and escape the macOS App Sandbox via five distinct exploits and three upstream patches. Proofs use a Hopper dyld-cache plugin, a custom XPC client and NSWorkspace open configuration to set dyld_insert_libraries (works on unsigned cocoapplet), overwrite preference-pane cache via CF_FIXED_USER_HOME to load bundles, drop a .profile to spawn Terminal, abuse PERL5DB for fileless code execution, and exploit Electron’s node options require; several patches land in Big Sur 11.5/11.6 but bypasses remain.

AI-written summary · about

  1. 0:00Introduction to sandbox escapes
  2. 1:03App sandbox background
  3. 2:29Launch services capability
  4. 4:35Reversing dyld shared cache
  5. 5:15Root cause of the bug
  6. 7:24Exploiting environment control
  7. 8:07Dyld insert libraries bypass
  8. 9:54Bypassing system preferences patch
  9. 12:59Removing bundle requirement
  10. 13:40Terminal app exploit
  11. 15:23Fileless zero-interaction escape
  12. 18:13Electron process injection
  13. 20:19Macro sandbox escape
  14. 21:23Remaining attack surface
  15. 22:27Defending against escapes
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.