~/talk

Hiding Behind Android Runtime (ART)

Talkat Black Hat Asia 2015 · 2015-03-24..03-27· [android, security]
links:none on file
slides:none on file

Claim: Android Runtime (ART) can host a user-mode rootkit by editing framework or app bytecode, regenerating oat files with dex2oat, and patching dex file location and checksum in the resulting oat/boot.art. The attack replaces framework.jar or a target APK, needs root to write dalvik-cache, and persists until OTA/app recompile; Google Nexus/Lollipop (Android 5.x) is shown. Demo hides a malicious APK from Settings’ installed-apps and running-process lists by removing entries from getInstalledApplications/getRunningAppProcesses.

AI-written summary · about

  1. 0:00Introduction to Art Rootkits
  2. 2:29Art Architecture Overview
  3. 7:15Understanding Art File Formats
  4. 10:45Parsing the Oat File Format
  5. 13:30Deeper Look into Oat Headers
  6. 16:52Method Compilation and Offsets
  7. 22:31User-Mode Rootkit Approach
  8. 26:16Framework Code Modification
  9. 36:07Replacing Specific App Code
  10. 44:03Rootkit Demonstration
  11. 48:05Conclusion and Q&A
~/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.