https://github.com/0xbitx/dedsec_m2pdf
embed binary or ELF malware into PDF files without corrupting the original document.
https://github.com/0xbitx/dedsec_m2pdf
dropper elf inject malware obfuscation payload pdf
Last synced: 5 months ago
JSON representation
embed binary or ELF malware into PDF files without corrupting the original document.
- Host: GitHub
- URL: https://github.com/0xbitx/dedsec_m2pdf
- Owner: 0xbitx
- License: mit
- Created: 2025-01-21T10:22:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-20T02:28:45.000Z (about 1 year ago)
- Last Synced: 2025-05-29T11:54:44.353Z (about 1 year ago)
- Topics: dropper, elf, inject, malware, obfuscation, payload, pdf
- Homepage:
- Size: 15.6 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DEDSEC_M2PDF
hide payload inside pdf file
### DESCRIPTION
M2PDF is a powerful tool designed to embed binary or ELF malware into PDF files without corrupting the original document. The injected PDF looks and behaves like a normal PDF file but contains hidden malicious code that can be executed under specific conditions. The tool generates a Python script that demonstrates how the malware is extracted from the PDF. This script can be integrated into your own code or dropper for further use. This tool is intended for educational and research purposes only.
### Features
* Stealthy Injection: Embeds malware into a PDF file without altering its appearance or functionality.
* Preserves Original PDF: The injected PDF remains fully functional and visually identical to the original.
* Payload Extraction: Generates a Python script (extract.py) to extract the embedded payload from the PDF file.
* Cross-Platform: Works on Windows, Linux, and macOS.
### INSTALLATION
git clone https://github.com/0xbitx/DEDSEC_M2PDF.git
cd DEDSEC_M2PDF
chmod +x dedsec-m2pdf
./dedsec-m2pdf
or
sudo apt install ./dedsec-m2pdf.deb
dedsec-m2pdf
### TESTED ON FOLLOWING
* Kali Linux
* Parrot OS
* Ubuntu
## Support
If you find my work helpful and want to support me, consider making a donation. Your contribution will help me continue working on open-source projects.
**Bitcoin Address: `36ALguYpTgFF3RztL4h2uFb3cRMzQALAcm`**
DISCLAIMER
I'm not responsible for anything you do with this program, so please only use it for good and educational purposes.