~/talk

D1T2 - Rooting Android 8 with a Kernel Space Mirroring Attack

Talkat Hack In The Box Amsterdam 2018 · 2018-04-09..04-13· [security]
name:Yong Wang
links:none on file
name:Yang Song
links:none on file
slides:none on file

Details an out‑of‑bounds write in the media codec that writes 0x80-bytes into process memory when decoding a crafted 0x80-filled mp4, uses shared memory padding to bypass ASLR, escapes the mediacodec SECCOMP sandbox and gains control of one mediaserver thread with ~100% reliability. Describes a kernel rooting chain ReVent that turns a TOCTOU UAF (affects kernels ≥3.18) into stable arbitrary kernel writes via the pipe subsystem, and a new Kernel Space Mirroring Attack that abuses ARM translation descriptors to r/w kernel virtual addresses from user mode, bypassing PXN and PAN on Android 8.0; demos show full root on Oreo devices.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:26Android 8 security challenges
  3. 5:29Kernel space mirroring attack overview
  4. 13:42Exploiting codec vulnerabilities
  5. 24:47Bypassing Android 8 mitigations
  6. 28:25Color space mirroring technique
  7. 37:23Root shell via SMA
  8. 40:08Demo and conclusion
~/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.