EH-Net

Features => /root => Topic started by: don on March 18, 2009, 11:02:24 AM



Title: [Article]-Understanding Heap Overflow Exploits
Post by: don on March 18, 2009, 11:02:24 AM
Enjoy the audio and slide deck by Jack Koziol as your primer on heap overflow exploitation. Remember, if you want to learn this and much more directly from Jack, he will be teaching the CEPT course at ChicagoCon 2009s from May 4 - 8. (http://www.chicagocon.com/2009s/cept.html)

Permanent link: [Article]-Understanding Heap Overflow Exploits (http://www.ethicalhacker.net/content/view/243/2/)

Quote

(http://www.ethicalhacker.net/images/stories/vitals/chicagoconlogo.gif)
 (http://www.chicagocon.com)

Jack Koziol of Shellcoder's Handbook (http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FShellcoders-Handbook-Discovering-Exploiting-Security%2Fdp%2F0764544683%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1178082795%26sr%3D1-6&tag=thedigitalcon-20&linkCode=ur2&camp=1789&creative=9325) fame spoke at ChicagoCon last year on heap overflow exploitation, so we thought we'd share the entire audio recording and slide deck with you as an example of the type of talks you'll see at the next ChicagoCon in May 2009 (http://www.chicagocon.com/). 

As defined by Wikipedia (http://en.wikipedia.org/wiki/Heap_overflow), "A heap overflow is a type of buffer overflow that occurs in the heap data area. Like all buffer overflows, a heap overflow may be introduced accidentally by an application programmer, or it may result from a deliberate exploit. In either case, the overflow occurs when an application copies more data into a buffer than the buffer was designed to contain. A routine is vulnerable to exploitation if it copies data to a buffer without first verifying that the source will fit into the destination. A deliberate exploit may result in data at a specific location being altered in an arbitrary way, or in arbitrary code being executed."

So what does all that mean and how do you do it? Find out in Jack's talk on "the most common type of heap overflow exploits for Linux and Windows. He will briefly explain how dynamically allocated memory works, its interaction with the heap memory structure, and how a normal heap operates. Jack will then demonstrate how heap overflows occur, and how they can be exploited on Linux, Windows 2000 and Windows XP SP2 with Data Execution Prevention (DEP) enabled. Unfortunately, the Vista portion of the talk had to be withdrawn. Expect to laugh, cry, and be entertained!"


Let us know what you think.

Don


Title: Re: [Article]-Understanding Heap Overflow Exploits
Post by: NickFnord on March 18, 2009, 11:19:59 AM
definately looking forward to this - I'm slowly creeping my way through shelcoders and havn't made the time to fully understand heap overflows yet - this should be good  :-)


Title: Re: [Article]-Understanding Heap Overflow Exploits
Post by: vijay2 on March 18, 2009, 11:44:31 AM
Nice,  Thanks Don


Title: Re: [Article]-Understanding Heap Overflow Exploits
Post by: jason on March 19, 2009, 08:07:45 PM
Very nice. Thanks much Don.