~/talk

Attacking the Linux PRNG on Android

Talkat Black Hat Europe 2014 · 2014-10-14..10-17· [security, android]
github:sagi
slides:none on file

Claim: a practical attack reconstructs the Linux non-blocking pool seed on many Android devices given a leaked 16-byte at_random (from zygote) or a leaked IPv6 fragment ID. A proof-of-concept app exfiltrates the leak to a cloud service that runs a cloud-based seed search by simulating millions of RNG states (observed entropy ≈ 24 bits on S4, ≈ 19 bits on S2 — ~16M and ~500k seeds). Result: keystore stack canaries become guessable (≈1% per boot for keystore) and IPv6 fragment IDs are predictable; the PoC works.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13Outline
  3. 1:02Story
  4. 2:38Stack Canaries
  5. 7:20Summary
  6. 12:37Boot Timeline
  7. 14:08Contributions
  8. 15:03Teaser
  9. 15:58Whitepaper
  10. 18:25Problems
  11. 20:36Segmenting
  12. 22:09Leaks
  13. 22:29Theoretic
  14. 23:01Disclaimer
  15. 25:03What we found
  16. 25:35Zygote
  17. 26:26Other
  18. 27:34Leak
  19. 29:49Early Boot
  20. 30:28Probability
  21. 31:35Demo
  22. 34:37Cat
  23. 35:23Boot time leak
  24. 35:36Kernel boot time leak
  25. 38:12ipv6 segmentation
  26. 39:24Scenario
  27. 40:53Results
  28. 42:07What can we attack
  29. 43:11Mitigations
  30. 45:08Hard R
  31. 47:07Wrapup
  32. 49:42Discussion
~/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.