~/talk

Compiler Bugs And Bug Compilers

links:none on file
slides:none on file

Shows concrete compiler modifications that reliably insert exploitable behavior into Linux binaries using GCC plugins and direct GCC changes. Demo replaces a printf argument so a hello world prints “hail Satan,” removes SQLite sanitizers to reintroduce a memcopy overflow that spawns a shell/abacus, flips a tail-call jump into a call to smuggle a return address, and extends an inlined memcpy by one byte to flip an auth flag. Uses GCC 7, RTL/CHiMP/ASM dumps and the init_array constructor trick; all demos compile and run.

AI-written summary · about

  1. 0:00Introduction to compiler attacks
  2. 1:42Why GCC and compiler internals
  3. 10:14Debugging GCC representations
  4. 15:53Demo: Malicious compiler plugin
  5. 27:23Demo: Unpatching SQLite bug
  6. 35:25ELF format and init array attacks
  7. 37:49Demo: init array manipulation
  8. 45:40Tail call optimization attacks
  9. 53:47Built-ins and stealthy bugs
  10. 58:24Demo: Configurable mem copy bug
  11. 1:03:19Mitigations and recommendations
~/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.