Asia Slowinska (VU)

Prospector: Accurate Analysis of Heap and Stack Overflows by Means of AgeStamps

Heap and stack buffer overflows are still among the most common attack vectors in intrusion attempts. We asked a simple question that is surprisingly difficult to answer: which bytes contributed to the overflow? By careful observation of all scenarios that may occur in overflows, we identified the information that needs to be tracked to pinpoint the offending bytes. There are many reasons why this is a hard problem. For instance, by the time an overflow is detected some of the bytes may already have been overwritten in the memory, creating gaps. Additionally, it is hard to tell the offending bytes apart from unrelated network data. In our solution, we tag data from the network with an age stamp whenever it is written to a buffer. Doing so allows us to distinguish between different bytes and ignore gaps, and provide precise analysis of the offending bytes. By tracing these bytes to protocol fields, we obtain accurate signatures that cater to polymorphic attacks.  


Last Version - $Revision: 1.1 $ / $Date: 2007/11/13 15:32:56 $
Maintained by Jaap-Henk Hoepman
Email: Email address