Doubleagent
Overview
Executive Summary
DoubleAgent is not a traditional malware family, but rather a highly sophisticated, open-source code injection and persistence technique. It exploits a legitimate feature of the Windows operating system—the Application Verifier—to inject a malicious DLL into *any* process during its initialization. While originally documented by researchers as a proof-of-concept, the DoubleAgent technique is actively abused by advanced threat actors and APT groups to establish completely invisible persistence and bypass next-generation endpoint security controls.Technical Architecture and Exploitation
The Windows Application Verifier is a developer tool designed to monitor applications for memory corruption and handle leaks. It works by loading a specific "verifier provider DLL" into the target process as it starts. The DoubleAgent technique abuses this mechanism:- Registry Manipulation: The attacker modifies a specific, legitimate Windows Registry key (`HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
`). They create a subkey named `VerifierDlls` and point it to their malicious DLL payload. - Universal Injection: Once the registry key is set, the Windows OS itself will automatically load the attacker's malicious DLL into the target process (e.g., `explorer.exe`, `chrome.exe`, or even the antivirus engine's process like `MsMpEng.exe`) every single time that process is launched.
- Absolute Stealth: Because the injection is performed natively by the OS loader *before* the application even begins executing its own code, traditional antivirus hooks and user-mode EDR agents are completely blind to the injection.
Threat Impact
The DoubleAgent technique is a critical threat. It allows an attacker to gain full control over any application on the system. By injecting into the antivirus process itself, the attacker can silently neutralize the endpoint's primary defense mechanism, rendering it incapable of detecting subsequent malicious activity.Defense and Resilience Strategies
- Registry Monitoring (FIM): Traditional file scanning cannot stop DoubleAgent. Defenses must rely on strict File Integrity Monitoring (FIM) and EDR rules that monitor the `Image File Execution Options` (IFEO) registry keys for unauthorized modifications.
- Protected Processes: Utilize Windows Protected Process Light (PPL) technology. Processes running as PPL (which should include enterprise EDR agents) prevent unsigned or unauthorized DLLs from being loaded, even via the Application Verifier mechanism.
- Privilege Management: The initial execution of the DoubleAgent technique requires administrative privileges to modify the HKLM registry hive. Enforcing the Principle of Least Privilege (PoLP) and strict UAC controls prevents the initial registry modification required to set up the attack.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1546.012 T1055.001 T1562.001
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_DOUBLEAGENT {
meta:
description = "Detects Doubleagent (advanced_threat)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "doubleagent" ascii wide nocase
$s2 = "hacktool.doubleagent" ascii wide nocase
$s3 = "exploit.applicationverifier" ascii wide nocase
$s4 = "riskware.doubleagent" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Doubleagent Activity
id: 1a67104b65bddf1ed7526854c8946418
status: experimental
description: Detects generic indicators of the doubleagent malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*doubleagent*"
- "*hacktool.doubleagent*"
- "*exploit.applicationverifier*"
- "*riskware.doubleagent*"
condition: selection
level: mediumReferences & External Analysis
- Search "doubleagent" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Doubleagent Advanced_Threat from Windows?
Manual removal of Doubleagent 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 Doubleagent a virus or a Advanced_Threat?
Doubleagent is classified as a Advanced_Threat. Unlike traditional viruses that infect files, modern malware like Doubleagent typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Doubleagent infection?
Symptoms of Doubleagent 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.
Related Families (Category: advanced_threat)
Explore other malware families in the same category:
Protect Your Network Against Advanced_Threats
Want to prevent Doubleagent and similar threats from compromising your organization? Read our comprehensive defensive guide: Suspect an Infection? What to do.
Machine-readable
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/doubleagent.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.