the most trusted source for computer security training, certification and research


Stack Based Overflows: Detect & Exploit

Cenzic - 2
Abstract
Buffer overflows remain some of the most serious and widespread vulnerabilities that exist, often giving an attacker complete control over the compromised system. Thus, in depth knowledge of how these vulnerabilities and exploits work is of utmost importance to penetration testers and incident handlers. This report provides the reader with a basic understanding of how stack based overflows work in practice. The most accurate way of detecting stack based overflows is described. Finally, it is shown how to exploit a sample vulnerable program on the Linux platform. Notably, the report locates a number of stack overflow vulnerabilities in the latest version of Microsoft Windows XP SP2. While by themselves low risk vulnerabilities, the finding of them does question the quality of code provided to us today. When even the most widespread OS in the world suffers from stack overflows, chances are that exhaustive penetration testing of many other products will show the same type of vulnerabilities.
<<Reading Room Home     <<Back to Category

Contact us: (301) 654-SANS(7267)
Monday - Friday 9am-8pm EST/EDT