I was watching Kevin Mitnick demonstrate the results of an exploit via Heap Spray in a PDF https://www.youtube.com/watch?v=0EKTCg7yQ_Y and was wondering what exactly is going on in the PDF and whether there where any resources to replicate what he did?

My Google skills are lacking because each time I search for Heap Spray PDF, I get PDFs about all variations of heap spray including some gardening tips!

1 Answer 1


Search engines

Around 2:19 you can see the file name in the top of the pdf reader. Putting this between double quotes let's the search engine search for that exact phrase:


I also tried Bing and Duckduckgo, but they don't give anything either.

Meta search engines

If we try meta search engines (special search engines that combine the results of multiple normal search engines):


I also used Excite and Deeperweb, but they don't result in anything either. Besides using the exact phrase method, I used the following:

"inurl:no inurl:malware inurl:here filetype:pdf"

(without double quotes), but that also gives nothing. Because of this I think an exact copy of the document he uses isn't available on the internet.

Let's mess around

Wikipedia tells us that heap sprays can be implemented using JavaScript and/or images. Both of which can be used inside a pdf file. If you're really interested, you could search for general tutorials on heap spraying and on using JavaScript inside pdf documents and try something out yourself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.