Skip to content

Automatically exported from code.google.com/p/pdf-grapher

Notifications You must be signed in to change notification settings

fbruzzaniti/pdf-grapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 

Repository files navigation

pdf-grapher is a Python script that utilises the pydot library and Dider Stevens pdf-parser script to graph basic elements of a PDF file. pdf-grapher helps analysts understand the relationships of objects to each other and to suspicious elements of a malicious PDF file. The graph nodes represent PDF objects (Obj). Red nodes contain or reference elements that are commonly used in malicious PDF's. Yellow nodes denote suspicious elements, which may be malicious. The edges (arrows) represent References from one Obj to another. The graphs can be created as svg, png, vmrl and .dot files. If your viewer supports html links then clicking on nodes within the svg and dot graphs will display an ascii dump of the obj (node) clicked.

Basic Example, malicious elements in red, suspecious yellow and normal green: https://github.com/raw/fbruzzaniti/pdf-grapher/wiki/test-js.png

Complex Example, viewing a graph produced by pdf-grapher using ZRGViewer: https://github.com/raw/fbruzzaniti/pdf-grapher/wiki/zgrviewer.png

Install Instructions:
https://github.com/fbruzzaniti/pdf-grapher/blob/wiki/Installation.md

Usage Instructions:
https://github.com/fbruzzaniti/pdf-grapher/blob/wiki/Usage.md

Graph Colour Refrence:
https://github.com/fbruzzaniti/pdf-grapher/blob/wiki/GraphReference.md

About

Automatically exported from code.google.com/p/pdf-grapher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages