Dark Side of the ELF
summary
Shows a concrete exploit technique called Leakless that corrupts ELF dynamic headers so the loader resolves and calls any libc function (for example system()) without leaking addresses, bypassing ASLR. Implements four variants that require up to four tiny ROP gadgets, works against glibc, major BSD libs and uClibc, and auto-generates either a JSON patch list or a ROP chain; demo on a Wireshark stack overflow yields a shell. Limitations include huge pages, symbol versioning and RELRO hardening; tool is open source. single-stage no memory leaks
AI-written summary · about
chapters (21)
- 0:00The exploitation process
- 2:20Code execution is not enough
- 2:42Code reuse attacks
- 3:43The typical situation
- 4:16The need for a memory leak
- 4:58The problem
- 9:20The Procedure Linkage Table (PLT)
- 9:37Lazy loading
- 14:45Sections recap
- 15:21The attack scenario
- 15:47Naive approach
- 17:03The dynamic section
- 19:56Another idea
- 22:45Symbol versioning
- 24:18Is it doable?
- 25:10Another option
- 28:27DT_DEBUG to the rescue
- 34:00Gadgets
- 36:29What loaders are vulnerable?
- 41:12Pidgin example
- 42:13Countermeasures
