~/talk

Overwriting the Exception Handling Cache

Talkat DEF CON 20 · 2012-07-26..07-29· [compilers-and-language-design, security]
name:Branco
links:none on file
name:Oakley
links:none on file
name:Bratus
links:none on file
slides:none on file

Technique overwrites libgcc’s cached pointer to the eh_frame/LSDA and redirects unwinding to attacker-controlled DWARF bytecode, which runs in a stack‑based VM that DWARF VM is Turing-complete. Exploit requires a memory leak plus a write primitive (partial or 4‑byte overwrite); demos use a fake program header + fake tables to build a “bring‑your‑own‑linker” and spawn a shell. Tooling: Katana tool edits DWARF; practical limits include a 64‑word DWARF VM stack and version-specific offsets, but the demos work. overwrite EH cache pointer

AI-written summary · about

  1. 0:00Intro
  2. 0:18Motivation
  3. 2:19A Bit of Theory
  4. 8:17Software Exploitation
  5. 10:03Exploiting Additional Computation
  6. 11:45nix Exception Handling
  7. 14:00ELF layout of process space
  8. 14:57Linux Exception Handling
  9. 16:35Size Limitations
  10. 16:58eh frame
  11. 19:23Dwarf Instructions
  12. 22:43Dwarf Programming
  13. 23:27Dwarf Expressions
  14. 31:12Exception Handling Flow
  15. 32:20Proving (assembly)
  16. 39:57Caching
  17. 43:50Other possibilities
  18. 47:03THE END! Really!?
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.