GammaWorm
- Type
- Worm
- Capabilities
- PersistenceLateral movementDefense evasionReconnaissanceExfiltrationPost exploitation
- Delivery
- USBLure
- Platforms
- Windows
GammaWorm is a Windows VBScript worm with integrated backdoor functionality used by Gamaredon, a Russian cyberespionage group linked to Russia’s Federal Security Service. It supports sustained operations against Ukrainian government, military, and critical infrastructure organizations. The GammaWorm designation groups Gamaredon’s propagating malware previously tracked as LitterDrifter, PteroLNK, and PterodoUSB.
GammaWorm conceals its core modules and control data in NTFS Alternate Data Streams and establishes redundant persistence through three recurring scheduled tasks and a RunOnce registry entry that it recreates during execution. Extensive obfuscation, junk code, and changes to Windows Explorer visibility settings help conceal its operation. It propagates through USB devices and network shares by copying itself onto accessible drives, hiding legitimate directories, and substituting folder-icon LNK shortcuts. These shortcuts open the expected directory while silently executing the worm. Additional Ukrainian-language decoy shortcuts use administrative, military, and explicit-content themes to encourage execution.
GammaWorm independently maintains command-and-control connectivity through layered dead-drop resolvers hosted on legitimate publishing, messaging, and cloud services. It caches infrastructure configuration in the Windows registry and can update that configuration from server responses. Its backdoor periodically transmits the victim’s hostname and system-volume serial number through customized HTTP User-Agent headers, retrieves encoded VBScript payloads, and executes them in memory. This combination enables continued remote-code execution alongside removable-media and network-share propagation.
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.
Without the stealer written in PowerShell, GammaPhish, GammaWorm, GammaLoad are coded in VBScript using native Windows COM API.
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
18 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.