~/talk

CSRF: not all defenses are created equal

slides:none on file

Compares concrete defenses and shows which actually break or preserve functionality: synchronizer token pattern versus double submit cookies versus referrer checks and captchas, with real tools named (antiforgerytoken, viewstateuserkey, Tomcat filter, F5 ASM, OWASP CSRF Guard, Imperva Securesphere, Hdiv). Claims most solutions work about 80% of cases, points out Tomcat keeps only five tokens by default, F5 uses a timebased expiry (≈10 minutes), and referrer checks cause many false positives so they rarely run blocking.

AI-written summary · about

  1. 0:00Intro
  2. 3:51If you can predict all the parameters for an action, you can fake it
  3. 6:50High Level Defenses (Design Patterns)
  4. 7:41Primary Defense is the Synchronizer Token Pattern
  5. 9:07Second Defensive Option is Double Submit Cookies This option used less often, but useful for things like REST
  6. 12:29A Third Option is Any Form of Challenge Response System Rarely Used Exclusively for CSRF Defense
  7. 23:37CSRFGuard Implements the Synchronizer Token Pattern and Makes a New Token For Each Session
  8. 30:47Tomcat 7 Includes a CSRF Prevention Filter
  9. 33:19F5's ASM Can Insert a Token in All Links and Forms to Implement the Synchronizer Token Pattern
  10. 35:07Imperva Secure Sphere Can Detect CSRF Attacks by Checking the Referrer Header
  11. 39:45CSRF Token Names Can Reveal What Library You Are Using
~/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.