~/talk

The Anatomy of an Exploit

Talkat ACCU 2019 · 2019-04-10..04-13· [security]
slides:none on file

Walks through a real C/x86_64 exploit: a deliberately vulnerable program using gets buffer overflow is compiled, debugged with gdb and objdump, and repeatedly hardened or weakened by toggling ASLR, NX and stack canaries and by binary-patching constants to force “42” missiles. Uses Metasploit pattern_create/offset, strace and hand‑written shellcode (77 then 30 bytes), achieves a live shell via return jump and proves a pipeable exploit works; notes modern defenses push attackers toward return-oriented programming and info‑leaks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52Patricia Aas
  3. 1:45The Weird Machine
  4. 2:35The Weird State
  5. 4:32The Mental Model
  6. 5:08Exploit Development
  7. 5:52Target Program
  8. 6:18Program
  9. 7:17CWE
  10. 7:47Use of inherently dangerous function
  11. 8:19Happy day scenario
  12. 8:51Unhappy day scenario
  13. 10:26Global Thermonuclear War
  14. 10:38Stack Canary
  15. 12:49Debug Build
  16. 13:22Prefer C
  17. 14:15Debug
  18. 14:46Stack variables
  19. 15:01Short string
  20. 16:15Control
  21. 16:51Automate
  22. 17:59Fixing C
  23. 19:23Stack Buffer Overflow
  24. 23:52SLR Address Layout
  25. 25:10Pattern Offset
  26. 27:03Shellcode
  27. 27:39Exploit Framework II
  28. 29:03Code Size
  29. 29:53STrace
  30. 30:44Shell Code
  31. 31:17Shut Sea
  32. 32:17Inline Assembly
  33. 32:36Calling Convention
  34. 36:20Character Buffers
  35. 36:49Shell
  36. 37:45Pipe
  37. 38:04Cheating
  38. 40:41Weird States
  39. 47:43deterministically correct
~/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.