Blog|Login|Chinese German Japanese|Follow @imperva
July 08, 2011
 Shellcode Anatomy: Part IV of IV

This is our fourth and final part of our series focusing on the analysis of a PDF hack. In this entry we at last get around to present the shellcode’s flow graph.

You can see Part IPart II and Part III for further context. 

Part 4: The Shellcode’s Flow Graph

Using the tool graphviz, we are able to create the flow graph for this shellcode:

Command 1:

sctest -Sgs 100000000 -v -G shellcode.dot < util_printf_sc.txt

Command 2:

dot shellcode.dot -Tpng -o shellcode.png

(To see the full graph, please click on the photo, we swear it's safe).

Graph


Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

« Shellcode Anatomy: Part III of IV | Main | Military Password Analysis »