Exploitationpayloadsantivirusbypassmetasploitevasion

Veil

Veil generates Metasploit payloads designed to bypass common anti-virus solutions. It replaces the older veil-evasion package.

Description

Veil is a tool for creating payloads that evade antivirus detection. It is specifically designed to generate Metasploit payloads capable of bypassing common antivirus solutions, making it useful for penetration testing and red team operations where stealth is required.

The tool supports Kali Linux environments and includes setup scripts that detect the operating system version and architecture. Veil replaces the deprecated veil-evasion package and provides transitional packages like veil-catapult for compatibility.

Use cases include generating undetectable payloads for exploitation during security assessments, testing antivirus efficacy, and developing evasion techniques against endpoint security solutions.

How It Works

Veil operates by generating modified Metasploit payloads using various obfuscation and encoding techniques to evade signature-based antivirus detection. The setup script configures the environment, detects the OS (Kali Linux), architecture (x86_64), and installs necessary dependencies like metasploit-framework, mingw-w64, mono-mcs, and wine. It prompts for installation confirmation and sets up in /usr/share/veil.

Installation

bash
sudo apt install veil

Flags

-hShows Veil setup script help and system information including OS, version, architecture, and paths.

Examples

Installs the Veil tool and its dependencies.
sudo apt install veil
Displays the Veil setup script help, showing detected system information like OS=Kali, version=2026.1, arch=x86_64.
veil -h
Installs the transitional package for veil.
sudo apt install veil-catapult
Installs the older veil-evasion package which Veil replaces.
sudo apt install veil-evasion
Runs the Veil setup script, prompting for installation confirmation on detected Kali Linux system.
veil
Runs Veil setup with automatic yes confirmation to proceed with installation silently.
yes | veil
Updated 2026-04-16kali.org ↗