~/talk

All in the timing: How side channel attacks work

Talkat PyCon 2018 · on Friday, 2018-05-11· [security, python]
slides:none on file

Shows that Python string == compares left to right so an attacker can recover an 8‑char secret in 144 tries by measuring response time, that Google Keysar HMAC check gets fixed in 2009 by switching to a constant‑time compare (use hmac.compare_digest), that gzip compression lets an attacker guess a CSRF token in under 30 seconds with ~95% accuracy by length leakage, that randomized hash seeds (PEP 456) and Meltdown’s speculative‑execution cache timing are practical exploits.

AI-written summary · about

  1. 0:00Start
  2. 0:50Overview of What Side Channel Attacks Are
  3. 2:53Login Forum
  4. 7:30Constant Time Operation
  5. 10:54Disable Gzip Compression
  6. 11:33Django's Cross-Site Request Forgery Protection
  7. 11:44Cross-Site Request Forgery
  8. 14:02How To Figure Out the Cross-Site Request Forgery Token
  9. 16:05Attack on Timing
  10. 19:47Virtual Memory
  11. 23:07Speculative Execution
  12. 25:05Philip James
  13. 27:09Cryptographic Hash Function
~/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.