Malicious PDF Generator

superior_hosting_service

Malicious

Generate a bunch of malicious pdf files with phone-home functionality. Can be used with Burp Collaborator or Interact.sh

Used for penetration testing and/or red teaming etc. I created this tool because i needed a third party tool to generate a bunch of PDF files with various links.

Usage

git clone https://github.com/jonaslejon/malicious-pdf.git
cd malicious-pdf
python3 malicious-pdf.py burp-collaborator-url

Output will be written as: test1.pdf, test2.pdf, test3.pdf etc in the current directory.

Do not use the https:// etc prefix on the url argument.

Purpose

  • Test web pages/services accepting PDF-files
  • Test security products
  • Test PDF readers
  • Test PDF converters

Credits

The Malicious PDF is a github repository by Jonas Lejon