Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
Sign up Reseting focus
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
jesparza / peepdf Public
Powerful Python tool to analyze PDF documents
License
Notifications You must be signed in to change notification settings
jesparza/peepdf
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go to file
Folders and files
Last commit message
Last commit date
Latest commit
History
View all files
Repository files navigation
- 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 (PyV8): unescape, replace, join
- Shellcode analysis (Libemu python wrapper, pylibemu)
- Variables (set command)
- Extraction of old versions of the document
- Easy extraction of objects, Javascript code, shellcodes (>, >>, $>, $ >>)
- Checking hashes on VirusTotal
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
Execution modes:
- Simple command line execution
- Powerful interactive console (colorized or not)
- Batch mode
TODO:
- Embedded PDFs analysis
- Improving automatic Javascript analysis
- GUI
Related articles:
- Spammed CVE-2013-2729 PDF exploit dropping ZeuS-P2P/Gameover
- New peepdf v0.2 (Version Black Hat Vegas 2012)
- peepdf supports CCITTFaxDecode encoded streams
- Explanation of the changelog of peepdf for Black Hat Europe Arsenal 2012
- How to extract streams and shellcodes from a PDF, the easy way
- Static analysis of a CVE-2011-2462 PDF exploit
- Analysis of a malicious PDF from a SEO Sploit Pack
- Analysing the Honeynet Project challenge PDF file with peepdf Part 1Part 2
- Analyzing Suspicious PDF Files With Peepdf
Included in:
You are free to contribute with feedback, bugs, patches, etc. Any help is welcome. Also, if you really enjoy using peepdf, you think it is worth it and you feel really generous today you can donate some bucks to the project ;) Thanks!