Doublefantasy

Category: backdoor · Aliases: Backdoor.DoubleFantasy, EquationGroup.DoubleFantasy, Trojan.Win32.DoubleFantasy · Sample count (EMBER 2018): 1 · Enrichment: insufficient_information · Updated: 2026-07-02T06:41:13Z
Category: BackdoorActor: Unknown / CybercriminalIndustry: Global / OpportunisticMotivation: Opportunistic

Overview

Executive Summary

DoubleFantasy is a highly sophisticated, stealthy Backdoor and loader component widely attributed to the Equation Group (an extremely advanced, nation-state level Advanced Persistent Threat, likely associated with the NSA). It functions as a first-stage implant, designed to covertly confirm the identity and value of a compromised target before downloading and deploying the group's heavier, more complex espionage platforms (such as the EquationDrug or GrayFish platforms).

Infection Vector and Technical Capabilities

DoubleFantasy was distributed through highly targeted operations, including zero-day exploits, watering hole attacks, and even physical interdiction of hardware (e.g., intercepting CD-ROMs in the mail). The overarching goal of its design is absolute stealth. Upon execution, DoubleFantasy prioritizes verification and establishing a covert communications channel:

Threat Assessment

A DoubleFantasy infection is a catastrophic security incident. It indicates that the organization has been successfully targeted by a tier-one, nation-state intelligence agency. The presence of DoubleFantasy means the network has been breached for the purpose of long-term cyber espionage and data exfiltration.

Incident Response and Remediation

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: T1014 T1057 T1071.001 T1105

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

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_DOUBLEFANTASY {
    meta:
        description = "Detects Doublefantasy (backdoor)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "doublefantasy" ascii wide nocase
        $s2 = "backdoor.doublefantasy" ascii wide nocase
        $s3 = "equationgroup.doublefantasy" ascii wide nocase
        $s4 = "trojan.win32.doublefantasy" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Doublefantasy Activity
id: 356f8172d62619abef9ad3f2f2dc0c64
status: experimental
description: Detects generic indicators of the doublefantasy malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*doublefantasy*"
            - "*backdoor.doublefantasy*"
            - "*equationgroup.doublefantasy*"
            - "*trojan.win32.doublefantasy*"
    condition: selection
level: medium

References & External Analysis

Frequently Asked Questions

How do I remove the Doublefantasy Backdoor from Windows?

Manual removal of Doublefantasy 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 Doublefantasy a virus or a Backdoor?

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

What are the main symptoms of a Doublefantasy infection?

Symptoms of Doublefantasy 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: backdoor)

Explore other malware families in the same category:

Protect Your Network Against Backdoors

Want to prevent Doublefantasy and similar threats from compromising your organization? Read our comprehensive defensive guide: Backdoor & RAT Protection.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/doublefantasy.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.