Fantasy
- Type
- Wiper
- Capabilities
- Defense evasion
- Delivery
- Spearphishing
- Platforms
- Windows
Fantasy is a destructive malware family associated with the Iran-aligned Agrius threat group. It is best known as a wiper used in a 2022 supply-chain intrusion in which a trusted Israeli software developer was compromised and downstream victims in multiple sectors were impacted, including organizations beyond Israel. Fantasy has also been referenced in a separate context as the name of a shellcode-based deployment component used to install Goldbackdoor in an APT37 campaign against journalists, where it functioned as one of two stealthy process-injection mechanisms. Because the same name has been used for distinct malicious components in different operations, attribution and classification should be handled carefully by context.
In the Agrius activity, Fantasy is characterized as a destructive payload deployed after initial compromise, consistent with the group’s broader use of disruptive malware in retaliation-oriented operations. Its operational role was sabotage rather than monetization, and its use in a software supply-chain compromise marked an escalation in Agrius tradecraft by leveraging trusted third-party access to reach multiple downstream environments. Fantasy is part of a broader cluster of Iranian disruptive tooling that includes Apostle and later cross-platform wipers used against enterprise targets.
In the APT37 reporting, Fantasy refers to a shellcode payload retrieved during a spearphishing-driven infection chain targeting journalists covering North Korea. In that operation, the payload was used to deploy Goldbackdoor through stealthy process injection after execution of a malicious shortcut and PowerShell stages. That Fantasy component served as a loader or deployment mechanism rather than the primary espionage backdoor itself.
Given the supplied facts, the strongest high-confidence identification for Fantasy as a named malware entry is the Agrius-associated wiper used in supply-chain attacks, while noting that the same label has also been applied to a Goldbackdoor deployment payload in unrelated North Korean espionage activity.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This payload is called “Fantasy,” and according to Stairwell, it’s the first of the two deploying mechanisms of Goldbackdoor, both relying on stealthy process injection.
Supply chain exploitation: The deployment of the Fantasy wiper represented a significant escalation in Agrius’s targeting methodology. By compromising a trusted third-party Israeli software developer, the threat actors executed a supply-chain attack that impacted downstream victims across multiple global verticals.
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
The second script downloads and executes a shellcode payload stored on Microsoft OneDrive, a legitimate cloud-based file hosting service... The malware utilizes legitimate cloud services for the exfiltration of files, with Stairwell noticing the abuse of both Google Drive and Microsoft OneDrive.
Agonizing Serpens frequently exploited publicly available one-day vulnerabilities in public-facing web applications to drop custom web shells.
By compromising a trusted third-party Israeli software developer, the threat actors executed a supply-chain attack that impacted downstream victims across multiple global verticals.
Execution
4 techniques
Execution
Upon execution, a PowerShell script launches... The second script downloads and executes a shellcode payload stored on Microsoft OneDrive
Upon execution, a PowerShell script launches and opens a decoy document (doc) for distraction while decoding a second script in the background.
Upon execution, a PowerShell script launches and opens a decoy document (doc) for distraction while decoding a second script in the background.
The emails sent to the journalists contained a link to download ZIP archives that had LNK files... The LNK file (Windows shortcut) is masqueraded with a document icon... Upon execution, a PowerShell script launches
Persistence
2 techniques
Persistence
The second script downloads and executes a shellcode payload stored on Microsoft OneDrive, a legitimate cloud-based file hosting service... The malware utilizes legitimate cloud services for the exfiltration of files, with Stairwell noticing the abuse of both Google Drive and Microsoft OneDrive.
Agonizing Serpens frequently exploited publicly available one-day vulnerabilities in public-facing web applications to drop custom web shells.
Privilege Escalation
1 technique
Privilege Escalation
This payload is called “Fantasy,” and according to Stairwell, it’s the first of the two deploying mechanisms of Goldbackdoor, both relying on stealthy process injection.
Stealth
1 technique
Stealth
This payload is called “Fantasy,” and according to Stairwell, it’s the first of the two deploying mechanisms of Goldbackdoor, both relying on stealthy process injection.
Impact
1 technique
Impact
The sudden spike in wiper malware began early in the year with numerous new wiper samples targeted at Ukraine. It displayed a side of cyberattacks we rarely see: pure destruction.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.