advanced memory protection bypasses, part 1: bypassing ASLR

tl;dr ROP (Return Oriented Programming) techniques made many stack buffer overflows exploitable, despite DEP (Data Execution Prevention), leading to the introduction of ASLR (Address Space Layout Randomization) as a countermeasure (that randomizes memory addresses). to bypass ASLR + DEP, you need three elements: exploiting a logic flaw to bypass ASLR&rsquo;s randomization. using ROP chains to work…