~/talk

Programming Weird Machines with ELF Metadata

Talkat DEF CON 20 · 2012-07-26..07-29· [security]
links:none on file
links:none on file
slides:none on file

Shows a concrete method to program the loader by crafting ELF symbol and relocation metadata to perform arbitrary computation before memory protections are set, bypassing ASLR. Implements the eight Brainfuck primitives using relocation entries and indirect-function symbols, relying on only three relocation types plus GOT/PLT and link_map manipulation. Uses ERESI/elfsh and the RCToolkit to inject writable relocation/symbol sections, compiles metadata on GitHub, and demonstrates a ping backdoor that invokes exec to spawn a root shell.

AI-written summary · about

  1. 0:00Start
  2. 23:12Memory layout of ping (partial)
  3. 24:20Layout of Executable in Memory
  4. 29:10Relocation Entry Type Primer
  5. 31:07Brainfuck Primer
  6. 33:03ELF Brainfuck Configuration
~/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.