GammaWorm
- Type
- Worm
- Capabilities
- ExfiltrationPersistenceLateral movementPost exploitationDefense evasionReconnaissance
- Delivery
- SpearphishingUSB
- Platforms
- Windows
GammaWorm is a heavily obfuscated VBScript worm in the Gamaredon (Armageddon) malware ecosystem. It targets Windows systems and supports Russia-linked cyberespionage operations against Ukrainian government, military, and critical-infrastructure organizations. GammaWorm conceals its modules in NTFS Alternate Data Streams, persists through scheduled tasks and a RunOnce registry entry, and modifies Explorer settings to reduce visibility of malicious artifacts. It propagates through removable USB media and network shares by hiding legitimate directories and substituting malicious Windows shortcut files that open the expected directory while also executing the worm. GammaWorm uses dead-drop resolver infrastructure, including public messaging and web services, to obtain command-and-control configuration. It collects and exfiltrates host fingerprinting data in HTTP headers and can retrieve and execute additional VBScript payloads, providing a resilient backdoor-like mechanism for sustained access and further operations.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
GammaWorm copies itself into NTFS Alternate Data Streams, creates three scheduled tasks, and writes a RunOnce registry key. It then propagates to USB drives and network shares by hiding legitimate directories and replacing them with malicious LNK shortcuts.
Techniques & procedures
25 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
It then propagates to USB drives... by hiding legitimate directories and replacing them with malicious LNK shortcuts that carry Ukrainian-language social-engineering lures.
Execution
5 techniques
Execution
GammaWorm copies itself into NTFS Alternate Data Streams, creates three scheduled tasks, and writes a RunOnce registry key.
resulting in the execution of arbitrary code retrieved from a command-and-control (C2) server
The group also leverages public Telegram channels as dead drops, pulling HTML with curl.exe and parsing embedded IP addresses that act as active C2 nodes.
We recovered multiple VBScript loaders from the compromised hosts. It seems that these loaders operate in a continuous cascade, with four distinct execution stages observed during our analysis.
hide authentic directories in network shares and USB drives and replace with infected Windows Shortcut (LNK) files. This causes the launch of arbitrary code
Persistence
4 techniques
Persistence
GammaWorm copies itself into NTFS Alternate Data Streams, creates three scheduled tasks, and writes a RunOnce registry key.
Next, to mask its future propagation activities, GammaWorm alters several registry keys within HKEY_USERS\[SID]\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\.
The hidden HTA payload is silently placed into the Windows Startup folder... GammaWorm... writes a RunOnce registry key. UAC-0226 places a Windows Shortcut (LNK) file directly into the Startup folder.
It hides real folders by setting their attributes to Hidden and System, then drops malicious LNK shortcut files in their place using the same folder name and icon. Clicking the LNK opens the real folder in Explorer so the user sees nothing wrong, while silently executing ~.gif, the worm file that sits at the root of every infected drive.
Privilege Escalation
3 techniques
Privilege Escalation
GammaWorm copies itself into NTFS Alternate Data Streams, creates three scheduled tasks, and writes a RunOnce registry key.
The hidden HTA payload is silently placed into the Windows Startup folder... GammaWorm... writes a RunOnce registry key. UAC-0226 places a Windows Shortcut (LNK) file directly into the Startup folder.
It hides real folders by setting their attributes to Hidden and System, then drops malicious LNK shortcut files in their place using the same folder name and icon. Clicking the LNK opens the real folder in Explorer so the user sees nothing wrong, while silently executing ~.gif, the worm file that sits at the root of every infected drive.
Stealth
3 techniques
Stealth
The extracted HTA file contains a VBScript blob comprising approximately 90% of junk and obfuscated code.
The module iterates from the root level through all folders. It modifies their attributes to Hidden and System, removing them from the user’s standard view.
GammaWorm copies itself into NTFS Alternate Data Streams... UAC-0226... contains three hidden payloads placed outside the extraction directory... including... two additional ADS payloads.
Defense Impairment
1 technique
Defense Impairment
Next, to mask its future propagation activities, GammaWorm alters several registry keys within HKEY_USERS\[SID]\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\.
Discovery
1 technique
Discovery
GammaLoad (Staging): We recovered multiple VBScript loaders from the compromised hosts... Their primary objectives are to fingerprint the host system...
Lateral Movement
2 techniques
Lateral Movement
It then propagates to USB drives... by hiding legitimate directories and replacing them with malicious LNK shortcuts that carry Ukrainian-language social-engineering lures.
Gamaredon used GammaPhish, GammaWorm, GammaLoad, and GammaSteel to establish persistence, achieve physical propagation, and steal documents
Collection
2 techniques
Collection
Its malware ecosystem, including GammaPhish and GammaWorm, enables USB-based propagation across air-gapped systems, document theft, and continuous deployment of additional payloads
The exact deployment vector for GammaWorm remains ambiguous... or introduced independently via a user executing a weaponized USB drive
Command and Control
6 techniques
Command and Control
To find its C2 address, GammaWorm runs curl against a hard-coded public Telegram channel, parses the HTML for an obfuscated IP address... The C2 resolution chain itself is layered: it hops through graph.org, Cloudflare Workers, Teletype, Telegra.ph, and Telegram before arriving at an operator-controlled server.
This hybrid design enables rapid domain rotation, concealment of staging servers behind Cloudflare tunnels...
By using legitimate platforms like Telegram, the idea is to blend in with regular traffic, avoid detection, and sustain long-term espionage operations
Their primary objectives are to fingerprint the host system, update the network configuration in the registry using Dead Drop Resolvers (DDRs), fetch and execute arbitrary VBScript payloads from the C2 servers.
If the C2 returns HTTP 200, it executes arbitrary VBScript from the response body.
GammaWorm resolves live servers through Dead Drop Resolvers hosted on services like Telegraph/Teletype via graph.org, Cloudflare Workers subdomains and S3‑compatible storage... The group also leverages public Telegram channels as dead drops...
Exfiltration
3 techniques
Exfiltration
GammaWorm runs a continuous loop that acts as a stealth backdoor, regularly contacting its C2 to exfiltrate system fingerprints...
To find its C2 address, GammaWorm runs curl against a hard-coded public Telegram channel, parses the HTML for an obfuscated IP address, and posts the victim’s machine fingerprint back via randomized HTTP headers, specifically inside the User-Agent string. No request body, just headers.
The group employs a stealthy, multi-stage infection chain that abuses legitimate Windows features and trusted services such as Telegram, Cloudflare, and cloud storage to maintain persistent access while minimizing detection.
Observables
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.