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: 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
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Install & Lock Down Kali Linux for Safe Desktop Use
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Make Your Own Bad USB
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How To: Use Metasploit's WMAP Module to Scan Web Applications for Common Vulnerabilities
-
How To: Build a Beginner Hacking Kit with the Raspberry Pi 3 Model B+
-
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: Set Your Wi-Fi Card's TX Power Higher Than 30 dBm
-
How To: Manually Exploit EternalBlue on Windows Server Using MS17-010 Python Exploit
-
How To: Detect When a Device Is Nearby with the ESP8266 Friend Detector
-
Hack Like a Pro: Reconnaissance with Recon-Ng, Part 1 (Getting Started)
-
How To: Hack Windows 7 (Become Admin)
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