Hello all! I have a question about veil-evasion. I'am trying to make a malware with veil-evasion + trying to use msfvenom extra options like -x ( a custom executable file to use as a template ) and -k ( preserves the template behavior and inject the payload as a new thread ).It just don't apply these options. So, If i'm doing something wrong or I misunderstood something? Thank you. :)
Forum Thread: Help Needed with Veil-Evasion
- Hot
- Active
-
Forum Thread: Free Proxy Servers? 9 Replies
17 hrs ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 32 Replies
1 day ago -
Forum Thread: 12 Ways How to Hack Any Social Network and Protect Yourself 2018 1 Replies
2 days ago -
Metasploit Error: Handler Failed to Bind 40 Replies
5 days ago -
Forum Thread: How to Know if You Are a Script Kiddie? 9 Replies
2 wks ago -
Forum Thread: How to Identify and Crack Hashes 8 Replies
2 wks ago -
Forum Thread: How to Hack School Website 8 Replies
3 wks ago -
Forum Thread: Whenever I Try "Airmon-Ng Start wlan0" There's an Error? 16 Replies
3 wks ago -
Forum Thread: How to Fix 'Failed to Detect and Mount CD-ROM' Problem When Installing Kali Linux 14 Replies
3 wks ago -
Forum Thread: Awesome Keylogging Script - BeeLogger 30 Replies
1 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 27 Replies
1 mo ago -
Forum Thread: Complete Guide to Creating and Hosting a Phishing Page for Beginners 48 Replies
1 mo ago -
Forum Thread: Create and Use Android/Meterpreter/reverse_tcp APK with Msfvenom? 121 Replies
1 mo ago -
How to: Minecraft DoS'Ing with Python. 1 Replies
2 mo ago -
Forum Thread: HELP I Created an Apk for Hacking My Phone Using Kali Linux in Virtual Box How Can I Install That Apk on My Phone 17 Replies
2 mo ago -
Forum Thread: Tools for Beginner Hacker 3 Replies
2 mo ago -
Forum Thread: How to Embed an Android Payload in an Image? 9 Replies
3 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 46 Replies
3 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 11 Replies
3 mo ago -
Forum Thread: Fix Initramfs Problem 5 Replies
3 mo ago
-
Android for Hackers: How to Turn an Android Phone into a Hacking Device Without Root
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
BT Recon: How to Snoop on Bluetooth Devices Using Kali Linux
-
How To: Scan Websites for Interesting Directories & Files with Gobuster
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How to Hack Wi-Fi: Creating an Evil Twin Wireless Access Point to Eavesdrop on Data
-
How To: Find Anyone's Private Phone Number Using Facebook
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
How To: Create Custom Wordlists for Password Cracking Using the Mentalist
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Hack Web Browsers with BeEF to Control Webcams, Phish for Credentials & More
-
How To: Buy the Best Wireless Network Adapter for Wi-Fi Hacking in 2019
-
Hacking Windows 10: How to Dump NTLM Hashes & Crack Windows Passwords
-
How To: Write an XSS Cookie Stealer in JavaScript to Steal Passwords
-
How To: 4 Ways to Crack a Facebook Password & How to Protect Yourself from Them
-
How To: Upgrade a Normal Command Shell to a Metasploit Meterpreter
-
How To: Map Wardriving Data with Jupyter Notebook
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
5 Responses
In the Veil menu, once you type use #, and go through to the point when it asks you for the payload type and the IP/Port - well after that, it asks you for any special parameters (msfvenom). The way you specify a different template is by typing "-x=/root/MyTemplate.exe" . Of course, change the directory to wherever you want, but the = sign must be there. Now hit enter. It will once more ask you for special parameters.Same goes with -k but since it hasn't got any possible parameters you just type "-k=" . Of course exclude the "" in both.Then Just hit enter two more times and it will continue the creation. Good Luck. -Ne-py
Thanks for answering, but no luck, http://i.imgur.com/U1Vrhvb.jpg
Tried also editing msfvenom option in /etc/veil/settings.py but still it wont generate with these options. Any thoughts?
From the image you provided - it suceeded. It should be in /usr/share/veil-evasion/compiled (or raw depends if you compiled it).
I don't think that it suceeded because template size is about 12mb and veil evasion generated file is 3mb and it don't have same icon and even doesn't execute as original file.
Yeah, I know. Faced that myself. What I figured is that veil can't take (for example) an installation executable with packed data(one file .exe) or such as a template. It can only use an executable that is meant to start a program or call specific link libraries or files in its directory. For example, a good idea is to use chrome.exe (frome chrome's directory) as a template. Veil will then spit out the same thing but with a separate thread in the exe containing the shell code. Now you must only replace the chrome executable with the infected one in Program Files on your PC, and once you open chrome via a shortcut on the desktop it should open chrome and issue no warnings or AV action while of course connecting to your listening server.
Share Your Thoughts