~/talk

Reversing Engineering a Web Application - For Fun, Behavior & WAF Detection

Talkat OWASP AppSecUSA 2014 · 2014-09-16..09-19· [security, web-platform]
links:none on file
slides:none on file

Describes building a whitelist-plus-behavior detection layer on top of traditional WAFs that comes from reverse-engineering CMS traffic, crawling with Burp and saving pcaps for offline analysis with pcap/tshark, and correlating logs and honeypot data. Implementation uses regex rules, header/HTTP-version heuristics, XML-RPC and wp-login signatures, and real-time file monitoring with OSSEC/inotify. Deployed on ~2,500 sites, generates 2–3 million alerts/day with low false positives, blocks mass XML-RPC pingback DDoS (162k hosts) and large brute-force spikes (tens of thousands of attempts).

AI-written summary · about

  1. 0:00Intro
  2. 1:24About Sucuri Security
  3. 2:25A Note on the Examples
  4. 2:52Motivations
  5. 3:38Agenda
  6. 4:42Reverse Engineering
  7. 5:20Whitelisting
  8. 6:30Our Scope: Waf Detection
  9. 7:46Detection steps Analyze Application Structure
  10. 10:04The HTTP Protocol
  11. 10:50Traffic Analysis
  12. 13:07GET Request
  13. 19:26Oh wait! Get a job from the headers...
  14. 21:16Full Request
  15. 24:28What's wrong here?
  16. 25:48What about here?
  17. 27:12Summary of Flow Parsing
  18. 28:14File Structure
  19. 28:41The Basic WP Structure
  20. 30:04xmlrpc.php
  21. 31:23XMLRPC Login Attempt
  22. 32:12Brute forcing New Brute Force Attacks Exploiting XMLRPC in
  23. 33:22Pingback
  24. 34:33wp-admin/ "Access"
  25. 35:44Restriction Samples: .htaccess
  26. 37:27Mitigating Attack Surface
  27. 37:48Realtime Monitoring w/ OSSEC
  28. 39:34Threshold Ideas
  29. 40:29Special File Permissions
  30. 42:21Counter Intelligence
  31. 42:51Behavior: How you look at problems
  32. 44:12GEO IP Block: Top Attack Countries
  33. 45:15Top Methods
  34. 45:36HTTP Version 1.0
  35. 46:32In summary...
~/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.