A new way to bypass Windows heap protections

by Nicolas Falliere Sept. 1, 2017 via Symantec

Windows heap overflows have become increasingly popular over the last couple of years. Papers like, "Third Generation Exploitation" or, "Windows Heap Overflows" introduced the internal structure and handling mechanisms of Windows heaps, and presented ways to exploit heap-based buffer overflows. Techniques to make highly reliable exploits were presented in the paper, "Reliable Windows Exploits". Heap exploitation is now mastered for systems such as Windows XP, Windows XP SP1 and Windows 2000. However, the introduction of Windows 2003 -- and later, Windows XP SP2, brought another level of protection hackers would have to bypass in order to exploit heap overflows on these systems. In this paper, we'll remind readers of the principles of classic heap overflow exploitation, and explain why these techniques do not work with the newest Windows platforms. Then, we'll present a way to bypass a first level of protection, to trigger a memory overwrite.


2flash 3 weeks, 1 day ago

The author here has a very interesting approach on the Windows heap protections... I recommend it.