Home » Post Item » Spiderpig: A PDF JavaScript Fuzzer!

Spiderpig: A PDF JavaScript Fuzzer!

June 11, 2010

Adobe and Portable Document Format (PDF) vendors use JavaScript in their PDF formats to enhance standard work-flow for example connecting to database, spell checking, printing n viewing etc. When we open a PDF in say Adobe Reader, it executes this JavaScript code. So, the goal of Spiderpig is to find bugs in the PDF reader’s JavaScript engine.

 

Spiderpig reads the methods prototype from an input file and creates a PDF file and creates a stream of javascript code and then this stream is then added into PDF file using the makepdf module. In many PDF fuzzers that are out there on world-wide-web are file format fuzzers which try to fuzz the Adobe’s file format implementation. we didn’t discover a single fuzzer which fuzzes Adobe’s JavaScript implementation, so on those lines, we now have Spiderpig a JavaScript fuzzer for PDF file format which tries to screw up PDF reader utilizing JavaScript methods. Spiderpig uses bruteforce method to abuse reader, creating methods that use all range of evil parameters possible!

As fuzzer’s are very helpful in finding bugs and errors this one is specifically for PDF. There are other tools also which do the same things, which we have discussed earlier. This one targets only javascript engine of the reader. The source file contains a few hard-coded instructions that aide the fuzzer, which can be changed if you stumble upon something. That’s something we have always appreciated about open source applications.

Operating systems supported:

Currently supports all operating systems that allow you to use Python.

Download Spiderpig here

 

 

Posted by r00t3er at 3:50 am | permalink

All comments are moderated. Your comments will not appear here unless approved by the blog owner. Thank you.

Add a comment








     

June 2010
M T W T F S S
« May   Jul »
 123456
78910111213
14151617181920
21222324252627
282930  

About Me

A happy fellow...listen more talk less..money rules (best rules) learn daily and never underestimate a thing nor a c0de..

sign: give me d source c0de of d world if u want the world to be a better place...

Message Board

r00t3er:

hi johnson smith, add any of my id.. and tell me what you need

johnson smith:

I am from robotex. please i need your tools and teachings.

Jah bless.

johnson smith:

I am from robotex. please i need your tools and teachings.

Jah bless.

s4l1ty:

blog walking ^o^

asd:

http://hackersbay.in

asd:

http://hackersbay.in

site is better

l4zyb0i:

nice blogs dude !!!

r00t3er:

hi guns..hows devilzc0de doing..i need some of ya scripts ..talk to you on ym if ur not always invisible lol heheh:d

mr. guns:

hello

r00t3er:

ok

aLeXH2L:

bro come to ym i got stuff waht u want

r00t3er:

dont forget to leave comments

support:

Congratulations, you’ve just completed the installation of this shoutbox.

support:

Hi! Your shoutbox is working fine!

Leave a message ▼