~/talk

Striptease of the Android permission system

Talkat droidcon Berlin 2015 · 2015-06-15..06-17· [security, android]
links:none on file
slides:none on file

Explains how Android maps app signatures to unique UIDs and GIDs at install time, how the zygote fork drops root and sets those IDs, and how PackageManager maps dangerous permissions (example: SD card write) to Linux groups so apps get those GIDs. Traces a vibrator request from manifest through NotificationManager to VibratorService, showing the UID/GID mapping, Binder calling UID check, and JNI C code toggling the device. Demonstrates a real bug: an exported receiver without permission plus sharedUserId=system lets ADB am trigger a shell command as system, then shows protecting the receiver as the fix; notes Android M refactors may change details.

AI-written summary · about

  1. 0:00Start
  2. 1:18GENERIC DEFINITION
  3. 2:57LINUX FILE PERMISSIONS
  4. 3:38LINUX PROCESS PERMISSIONS
  5. 4:19LINUX PROTECTION SYSTEMS
  6. 5:34ANDROID USER DEFINITIONS
  7. 7:30ANDROID FILE PERMISSIONS
  8. 9:08ANDROID PERMISSIONS
  9. 10:00DIFFERENTS TYPES OF PERMISSIONS
  10. 10:34PERMISSIONS DEFINITION
  11. 11:36ANDROID PROCESS PERMISSIONS
  12. 13:17APPLICATION INSTALLATION PROCESSO
  13. 15:22APPLICATION START-UP PROCESSO
  14. 17:10EXAMPLE: MMS APPLICATION
  15. 17:43VIBRATOR REPRESENTATION
  16. 23:45USE CASE
  17. 24:31DIRTY CODE
~/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.