{
  "family": "doublefantasy",
  "sample_count": 1,
  "category": "backdoor",
  "description": "<h3>Executive Summary</h3>\nDoubleFantasy is a highly sophisticated, stealthy Backdoor and loader component widely attributed to the <strong>Equation Group</strong> (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).\n\n<h3>Infection Vector and Technical Capabilities</h3>\nDoubleFantasy 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.\n\nUpon execution, DoubleFantasy prioritizes verification and establishing a covert communications channel:\n<ul>\n<li><strong>Target Validation:</strong> The backdoor's primary purpose is to act as a \"validator.\" It gathers extensive system profiling data—network configuration, running processes, installed software, and domain information—to allow the attackers to verify if the infected machine belongs to a high-value target (e.g., a foreign government, telecom, or cryptography firm) before deploying more valuable, riskier toolsets.</li>\n<li><strong>Covert C2 Communication:</strong> DoubleFantasy utilizes highly obfuscated communication protocols. It often uses custom encryption and communicates over standard ports (like HTTP 80 or HTTPS 443) but structures its packets to mimic legitimate web traffic or forum posts to bypass Intrusion Detection Systems (IDS).</li>\n<li><strong>Advanced Rootkit Capabilities:</strong> To maintain its presence undetected for months or years, the malware heavily modifies the Windows Registry and utilizes advanced rootkit techniques (often hooking undocumented Windows APIs) to hide its files, processes, and network connections from local administrators and standard antivirus.</li>\n</ul>\n\n<h3>Threat Assessment</h3>\nA 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.\n\n<h3>Incident Response and Remediation</h3>\n<ul>\n<li><strong>Engage Specialist Incident Response:</strong> Standard IT remediation is insufficient for an Equation Group breach. Organizations must immediately engage specialized, third-party Incident Response (IR) firms experienced in nation-state hunting and eradication.</li>\n<li><strong>Extensive Network Forensics:</strong> Isolate the affected segments, but do not immediately wipe the machines. Comprehensive network traffic analysis and memory forensics are required to identify what secondary implants (like GrayFish) DoubleFantasy may have downloaded, and how far the attackers have pivoted laterally.</li>\n<li><strong>Complete Infrastructure Rebuild:</strong> Due to the extreme sophistication of the rootkits involved (which often infect HDD firmware or the system BIOS/UEFI), \"cleaning\" the machine is impossible. Remediation requires a complete hardware replacement or firmware flashing, followed by a total rebuild of the affected network infrastructure.</li>\n</ul>",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [
    "Backdoor.DoubleFantasy",
    "EquationGroup.DoubleFantasy",
    "Trojan.Win32.DoubleFantasy"
  ],
  "enrichment_level": "expert-seo",
  "faq": [
    {
      "@type": "Question",
      "name": "What is Doublefantasy and what threat category does it belong to?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Doublefantasy is classified as a Backdoor. Documented across security telemetry, it is engineered to execute unauthorized operations, establish persistent footholds on target endpoints, and facilitate malicious campaigns targeting enterprise and individual environments."
      }
    },
    {
      "@type": "Question",
      "name": "How does Doublefantasy establish persistence and evade defensive controls?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Doublefantasy typically establishes persistence through registry run keys, scheduled tasks, or service installations, while evading signature-based antivirus solutions through code obfuscation, memory injection, or anti-analysis sandbox checks."
      }
    },
    {
      "@type": "Question",
      "name": "What are the essential incident response steps for mitigating a Doublefantasy compromise?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Security teams responding to Doublefantasy should immediately isolate affected endpoints from the network, perform memory triage to capture volatile forensic artifacts, audit registry and startup persistence mechanisms, revoke exposed user credentials, and restore systems from verified, clean backups."
      }
    },
    {
      "@type": "Question",
      "name": "What remote administrative and surveillance capabilities does Backdoor.DoubleFantasy provide to threat actors?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "As an interactive backdoor and remote access tool, Backdoor.DoubleFantasy grants operators comprehensive control over the victim host. Common surveillance and management modules include real-time keystroke logging, desktop screen capture, remote VNC streaming, webcam and audio recording, arbitrary shell command execution, reverse proxy pivoting, and bidirectional file transfer capabilities."
      }
    },
    {
      "@type": "Question",
      "name": "How does Backdoor.DoubleFantasy traverse firewalls and sustain resilient command-and-control (C2) connections?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Backdoor.DoubleFantasy establishes persistent outbound TCP or TLS connections back to threat actor infrastructure, effectively bypassing inbound firewall filtering. To maintain connection resilience against IP takedowns, variants frequently employ dynamic DNS services, fallback command servers, encrypted dead-drop resolvers on social platforms, or DNS over HTTPS (DoH) querying."
      }
    }
  ],
  "faq_count": 5,
  "mitre_attack": [
    "T1014",
    "T1057",
    "T1071.001",
    "T1105"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-10-15",
  "type": "Backdoor / APT Loader",
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ],
  "attack_stage": [
    "persistence",
    "command_and_control",
    "remote_access"
  ],
  "ecosystem": [
    "windows_pe"
  ],
  "is_emerging": false,
  "mitre_attack_detail": [
    {
      "id": "T1014",
      "name": "Rootkit (Hiding files and processes)",
      "tactic": "Defense Evasion"
    },
    {
      "id": "T1057",
      "name": "Process Discovery",
      "tactic": "Discovery"
    },
    {
      "id": "T1071.001",
      "name": "Application Layer Protocol: Web Protocols (C2 Communication)",
      "tactic": "Command and Control"
    },
    {
      "id": "T1105",
      "name": "Ingress Tool Transfer",
      "tactic": "Command and Control"
    }
  ],
  "containment_steps": [
    "Immediately isolate the compromised host from internal LAN and WAN environments to cut off interactive remote shell sessions established by Doublefantasy.",
    "Inspect active socket listeners and outbound established network connections ('netstat -ano') to identify and sever covert TCP/UDP channels used by Doublefantasy.",
    "Scan Windows Services, Scheduled Tasks, and Startup folders to locate and eliminate persistent backdoor listeners configured by Doublefantasy.",
    "Invalidate all active VPN profiles, local administrator credentials, and session tokens that may have been harvested by the Doublefantasy operator.",
    "Re-image the affected host using a validated golden image prior to reconnecting it to enterprise network segments."
  ],
  "what_to_avoid": [
    "Do not attempt to interact with or send messages through the Doublefantasy remote terminal, as this alerts the attacker and may cause them to execute destructive anti-forensic commands.",
    "Avoid relying solely on static file signatures, as Doublefantasy payloads frequently execute reflectively in memory without writing binaries to disk."
  ],
  "target_platforms": [
    "Windows 11",
    "Windows 10",
    "Windows Server 2022",
    "Windows Server 2019"
  ]
}