Veil

Category: virtool · Aliases: VirTool:Win32/Veil, HackTool:Win32/Veil, Win32/Veil, Veil-Evasion, Veil Framework, Tool:Win32/Veil · Sample count (EMBER 2018): 19 · Enrichment: curated_sourced · Updated: 2026-10-15
Category: VirtoolStatus: Automated SignaturePlatform: WINDOWS_PE, POWERSHELLStage: Execution, Defense Evasion, Privilege EscalationFirst seen: 2013Motivation: Defense Evasion & Security Tool Bypass🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows 8.1
Executive Summary
Veil (most prominently recognized as the Veil Framework and Veil-Evasion, classified across endpoint security databases under designations including VirTool:Win32/Veil, HackTool:Win32/Veil, and Tool:Win32/Veil) is an evasion framework designed to generate weaponized, obfuscated Windows payloads that defeat signature-based antivirus and endpoint detection systems.

Table of Contents

Overview

Veil (most prominently recognized as the Veil Framework and Veil-Evasion, classified across endpoint security databases under designations including VirTool:Win32/Veil, HackTool:Win32/Veil, and Tool:Win32/Veil) is an evasion framework designed to generate weaponized, obfuscated Windows payloads that defeat signature-based antivirus and endpoint detection systems. Veil incorporates polymorphic encryption wrappers, custom memory execution stubs, and dynamic shellcode injection modules authored in C, Python, PowerShell, and C#. The framework utilizes dynamic Windows API resolution via memory hashing (avoiding direct references to LoadLibraryA and GetProcAddress), allocates executable memory pages with PAGE_EXECUTE_READWRITE permissions (VirtualAlloc, VirtualProtect), and leverages thread injection or Asynchronous Procedure Call (QueueUserAPC) hijacking to execute shellcode directly within legitimate host processes without writing unencrypted artifacts to disk.

Known aliases

Threat reports may refer to this family under multiple names:

Family Pedigree & Lineage

Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:

Known Derivatives & Downstream Variants: Virtool:Win32/Veil.A · Hacktool:Win32/Veil.B · Veil-Catapult · Veil-Pillage

MITRE ATT&CK Techniques

This family has been observed using the following ATT&CK techniques: T1027.002 · T1055.001 · T1055.004 · T1106 · T1140

→ Explore the complete 226-Technique ATT&CK Threat Matrix

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-EDAExecutable Deobfuscation AnalysisDetectT1027.002Deploy static entropy scanners and dynamic memory-unpacking heuristics to identify obfuscated and packed PE structures.
D3-DIADLL Injection AnalysisDetectT1055.001Monitor remote thread creation (CreateRemoteThread) and unauthorized DLL loading into core Windows processes (svchost.exe, explorer.exe).
D3-PIADProcess Injection Analysis & DetectionDetectT1055.004Monitor cross-process thread creation (CreateRemoteThread) and asynchronous procedure calls (QueueUserAPC).
D3-SCASystem Call AnalysisDetectT1106Leverage kernel-mode EDR sensors to detect unhooked direct system calls (Syscalls) designed to circumvent user-mode API monitoring.

Tiered Detection Rules (Cisco CAIRN Model)

Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_VEIL_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Veil"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "veil" ascii wide nocase
        $s2 = "virtool:win32/veil" ascii wide nocase
        $s3 = "hacktool:win32/veil" ascii wide nocase
        $s4 = "win32/veil" ascii wide nocase
        $s5 = "veil-evasion" ascii wide nocase
        $s6 = "veil framework" ascii wide nocase
        $s7 = "tool:win32/veil" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.

title: SystemHelpDesk Detection - Veil (Virtool) Execution & Triage
id: 28485214-977f-57e7-8686-e5be2bb9771f
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Veil malware family. Detects suspicious execution from temporary user directories
  with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/veil
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.virtool
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1027_002
- attack.t1055_001
- attack.t1055_004
- attack.t1106
- attack.t1140
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \cmd.exe
    - \powershell.exe
    - \cscript.exe
    - \wscript.exe
    CommandLine|contains:
    - AppData\Local\Temp
    - -WindowStyle Hidden
    - /e:jscript
    - bitsadmin /transfer
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_VEIL_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Veil tradecraft"
        tier = "T3 - Attribution Fingerprint"
        confidence = "High (Confirmed Family Signature)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        // Core family identifier & heuristic payload signatures
        $attrib_str = "veil" ascii wide nocase
        $pe_magic = "MZ" ascii
        $net_marker = "http" ascii nocase
    condition:
        uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

References & External Analysis

Frequently Asked Questions

What is VirTool:Win32/Veil (Veil-Evasion)?

Veil is an evasion framework used to generate polymorphic, memory-injected payloads designed to bypass antivirus detection.

How does Veil evade traditional signature-based detection?

It uses dynamic API hashing, in-memory execution stubs, payload encryption, and process injection (such as QueueUserAPC) to avoid disk writes.

In which programming languages can Veil generate payloads?

Veil supports payload compilation across C, Python, PowerShell, C#, and Ruby environments.

How do adversaries deploy Veil payloads in red-team and attack scenarios?

Attackers deploy Veil payloads as post-exploitation stagers, phishing attachments, and droppers for secondary remote access tools.

How can security operations teams detect Veil-generated payloads?

Deploy behavioral EDR monitoring that inspects memory allocations with RWX permissions and detects reflective code injection and API unhooking.

How do I remove the Veil Virtool from Windows?

Manual removal of Veil is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Veil a virus or a Virtool?

Veil is classified as a Virtool. Unlike traditional viruses that infect files, modern malware like Veil typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Veil infection?

Symptoms of Veil can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Protect Your Network Against Virtools

Want to prevent Veil and similar threats from compromising your organization? Read our comprehensive defensive guide: Think You've Been Hacked? What To Do First.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

Need help with an active incident? Published by the SystemHelpdesk Threat Intelligence Team.

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/veil.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.