Hi , I have created a custom encoded payload.exe , how can I embed it into a file using msfvenom??
Forum Thread: Using Custom Payloads with Files
- Hot
- Active
-
Forum Thread: How to Track Who Is Sms Bombing Me . 4 Replies
1 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
1 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
4 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
5 mo ago -
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
6 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
6 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
7 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
9 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
9 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
9 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
9 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
11 mo ago
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Buy the Best Wireless Network Adapter for Wi-Fi Hacking in 2019
-
Hack Like a Pro: Networking Basics for the Aspiring Hacker, Part 2 (TCP/IP)
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Extract Bitcoin Wallet Addresses & Balances from Websites with SpiderFoot CLI
-
How To: Phish for Social Media & Other Account Passwords with BlackEye
-
How To: Unlock Facial Detection & Recognition on the Inexpensive ESP32-Based Wi-Fi Spy Camera
-
Hacking Pranks: How to Flip Photos, Change Images & Inject Messages into Friends' Browsers on Your Wi-Fi Network
-
How To: Fix Bidirectional Copy/Paste Issues for Kali Linux Running in VirtualBox
-
How To: Get Root with Metasploit's Local Exploit Suggester
-
How To: Run USB Rubber Ducky Scripts on a Super Inexpensive Digispark Board
-
How To: Build an Off-Grid Wi-Fi Voice Communication System with Android & Raspberry Pi
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
How To: Pick an Antenna for Wi-Fi Hacking
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Create & Obfuscate a Virus Inside of a Microsoft Word Document
-
How To: Exploit Java Remote Method Invocation to Get Root
-
How To: Hack WPA & WPA2 Wi-Fi Passwords with a Pixie-Dust Attack Using Airgeddon
4 Responses
Allot more information is needed to fully answer your question.
But....
Something like this should get things started....
root@Kali:~# msfvenom -p - /root/Desktop/some_file.txt -a x86 --platform windows -f exe -o /root/Desktop/test.exe
Explanation
-p payload "-" specifies custom payload
-a architecture
-- platform
-f format
-o output
It will all depend on what your trying to do, msfvenom might not be able to do what your looking for...
So I just read your exact same question on
https://null-byte.wonderhowto.com/how-to/hack-like-pro-exploit-ms-word-embed-listener-your-roommates-computer-0140868/
Are you trying to simply set a custom payload inside of an exploit? If so
msf exploit(ms10_087_rtf_pfragments_bof) > set payload generic/custom
Then set the option:
Name Current Setting Required Description
---- --------------- -------- -----------
FILENAME msf.rtf yes The file name.
Set custom payload:
msf exploit(ms10_087_rtf_pfragments_bof) > set FILENAME /root/Desktop/some_file
Note: Payload will have to be compatible with the exploit
Thanks for replying. I have used a script to encod my payload . So now I have one on the desktop, the problem is that I want to embed it with pdf file to be undetectable
Encoded? How? Either way you can try following OTW's
https://null-byte.wonderhowto.com/how-to/hack-like-pro-embed-backdoor-connection-innocent-looking-pdf-0140942/
Just use your payload...
Share Your Thoughts