Drinking from LETHE: Exploiting Memory Corruption Vulns
Daniel Selifonov explores advanced memory corruption exploitation primitives, demonstrating deterministic heap layout manipulation and mitigation bypasses.
Summary
Architecture and Background
Memory corruption vulnerabilities have plagued computer systems since we started programming software. Techniques for transforming memory corruption primitives into arbitrary code execution exploits have evolved significantly over the past two decades, from "smashing the stack for fun and profit" to the current apex of "just in time code reuse" while playing a cat and mouse game with similarly evolving defensive mitigations: from PaX/NX-bit to fine-grained ASLR and beyond.
Vulnerability Analysis
By contextualizing this battle between attack and defense, I will demonstrate new defense strategies based on augmenting fine-grained ASLR with memory disclosure mitigations to render existing exploitation techniques unreliable. Modifications to the Xen hypervisor exploiting hardware accelerated virtualization extensions on the modern Intel platform enable realizing these new defense strategies without imposing significant runtime CPU overhead.
Exploitation and Demonstrations
Daniel Selifonov is currently an engineer focused on information security, and in prior consultancies has built systems for information technology where security was considered throughout design and implementation, rather than as an afterthought. His research interests in security include reverse engineering, applied cryptography, client side security, and user acceptable information system design.
Remediation and Defensive Strategies
Related talks
Main Stage·36 min
Hadrian Barral
Introduces modern shellcoding techniques that survive ASLR, NX, and common AV detection by combining gadget chaining with runtime resolution.
Main Stage·22 min
Bramwell Brizendine
Introduces JOP ROCKET, an open-source tool for discovering Jump-Oriented Programming gadgets to build control-flow hijacking exploits.
Main Stage·57 min
Atlas
Atlas details atlas: Remedial Heap Overflows: dlmalloc style Sometimes even the top dudes need a refresher course.


