~/talk

DroidGuard: A Deep Dive into SafetyNet

Talkat Black Hat Asia 2022 · 2022-05-10..05-13· [security]
links:none on file
slides:none on file

DroidGuard implements a 256-register VM that runs a unique bytecode downloaded per attestation (updated roughly every two weeks) to check for root, Magisk, emulators and even Pegasus indicators; values are MBA‑encoded and the native layer is obfuscated (MDA, qbdl, msint). Hardware attestation uses the device key/certificate chain to report bootloader state from TrustZone. Reverse engineering required about five weeks plus two for tooling, produced code‑lifting utilities, and enabled a working bypass of the basicIntegrity flag.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why SafetyNet developed
  3. 3:59SafetyNet history bypasses
  4. 5:03Integrity and CTS flags
  5. 6:28Magisk developer joins Google
  6. 7:30SafetyNet request flow
  7. 9:39DroidGuard obfuscation role
  8. 10:22DroidGuard process updates
  9. 11:28DroidGuard VM architecture
  10. 13:59Reverse engineering DroidGuard VM
  11. 17:13Debugging root detection
  12. 18:20Root detection checks
  13. 20:10Pegasus detection telemetry
  14. 21:58Hardware attestation chain
  15. 22:40DroidGuard data summary
  16. 23:22DroidGuard beyond SafetyNet
  17. 24:05Reverse engineering challenges
  18. 26:14SafetyNet design limits
  19. 27:39Magisk bypass reasons
  20. 28:00Bytecode easter eggs
  21. 28:46Hardware attestation work
  22. 29:29Conclusion 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.