~/talk

Android Parcels: The Bad, the Good and the Better - Introducing Android's Safer Parcel

Talkat Black Hat Europe 2022 · 2022-12-05..12-08· [security, android]
name:Hao Ke
links:none on file
links:none on file
links:none on file
name:Yang Yang
links:none on file
slides:none on file

Explains concrete Parcel exploits and fixes: reproduces Bundle Feng Shui self‑changing bundles that enable TOCTOU attacks, and the Android 12 chain that yields arbitrary code execution via CVE-2021-0928 by causing a deserialization exception to shift offsets into activityInfo. Demonstrates a working PoC that triggers ClassNotFound/PackageManager exceptions inside nested ClipData, and describes mitigations implemented in Android 13: lazy bundle length prefixes, new type-checked parcel APIs, enforceNoDataAvail, and automated migration of ~700 call sites.

AI-written summary · about

  1. 0:00Android Parcels vulnerabilities
  2. 1:28Android Parcels risks
  3. 3:16Parcel read-write mismatches
  4. 4:19Self-changing bundle technique
  5. 8:35TOCTOU attacks with bundles
  6. 10:20Mitigating parcel mismatches in Android 13
  7. 16:58Android VRP insights
  8. 23:38Exploit chain for arbitrary code execution
  9. 33:14Security hardening in Android 13
  10. 37:54Android VRP process
~/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.