~/talk

How to Steal a JWT and How to Protect From It

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [security]
slides:none on file

Shows an end‑to‑end exploit: extract a Firebase JWT from the app file com.google.firebase.auth.api.store on a rooted/emulator or repackaged APK, use APKTool to inject a small payload that reads shared prefs and exfiltrates tokens to a C2 server, grab the Firebase API key from app strings, then call the backend and get 200 OK — short JWT lifetimes don’t stop this. Defenses shown are runtime checks and attestation using FreeRASP (used in 1,000+ apps) and a server‑side cryptogram AppiCrypt that blocks requests without a valid proof.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:46How to steal a JWT
  3. 19:31How to protect from JWT theft
  4. 36:36Backend protection with integrity proofs
  5. 40:50Conclusion 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.