11 May 2011 | 7,141 views

peepdf – Analyze & Modify PDF Files

Prevent Network Security Leaks with Acunetix

peepdf is a Python tool to explore PDF files in order to find out if the file can be harmful or not. The aim of this tool is to provide all the necessary components that a security researcher could need in a PDF analysis without using 3 or 4 tools to make all the tasks. With peepdf it’s possible to see all the objects in the document showing the suspicious elements, supports all the most used filters and encodings, it can parse different versions of a file, object streams and encrypted files.

With the installation of Spidermonkey and Libemu it provides Javascript and shellcode analysis wrappers too. Apart of this it’s able to create new PDF files and to modify existent ones.

Features

Analysis

  • Decodings: hexadecimal, octal, name objects
  • More used filters
  • References in objects and where an object is referenced
  • Strings search (including streams)
  • Physical structure (offsets)
  • Logical tree structure
  • Metadata
  • Modifications between versions (changelog)
  • Compressed objects (object streams)
  • Analysis and modification of Javascript (Spidermonkey): unescape, replace, join
  • Shellcode analysis (sctest wrapper, Libemu)
  • Variables (set command)
  • Extraction of old versions of the document

Creation/Modification:

  • Basic PDF creation
  • Creation of PDF with Javascript executed wen the document is opened
  • Creation of object streams to compress objects
  • Embedded PDFs
  • Strings and names obfuscation
  • Malformed PDF output: without endobj, garbage in the header, bad header…
  • Filters modification
  • Objects modification

With all the recent PDF security scares and PDF hacking it’s important to have adequate tools for PDF analysis.

There are some other tools for dealing with PDF Analysis like:

PDFResurrect v0.9 Released – PDF Analysis and Scrubbing Utility & Origami – Parse, Analyze & Forge PDF Documents.

You can download peepdf here:

peepdf-0.1.zip

Or read more here.



Recent in Forensics:
- HoneyDrive Desktop v0.2 Released – Honeypot LiveCD
- Mobius Forensic Toolkit 0.5.10 – Forensics Framework To Manage Cases & Case Items
- Rec Studio 4 – Reverse Engineering Compiler & Decompiler

Related Posts:
- Origami – Parse, Analyze & Forge PDF Documents
- NSDECODER – Automated Website Malware Detection Tool
- EFIPW – Modify Apple EFI Firmware Passwords

Most Read in Forensics:
- NetworkMiner – Passive Sniffer & Packet Analysis Tool for Windows - 65,626 views
- raw2vmdk – Mount Raw Hard Disk (dd) Images As VMDK Virtual Disks - 29,462 views
- sslsniff v0.6 Released – SSL MITM Tool - 26,882 views

Advertise on Darknet

Comments are closed.