Threat reportMalwareTL-2026-0653
Gamaredon (Russia/FSB) "GammaWorm" — VBScript Worm Hidden in NTFS ADS with Cloud-Service Dead Drop Resolver C2 (Gamma Toolset) vs Ukraine, WinRAR CVE-2025-8088 Initial Access
Gamaredon, the FSB Center 18 espionage group, is running an ongoing campaign against Ukrainian government, military, and critical-infrastructure networks using a reorganized modular 'Gamma' toolset (GammaPhish, GammaLoad, GammaWorm, GammaSteel). Initial access uses weaponized xHTML lures that HTML-smuggle a malicious RAR exploiting WinRAR path-traversal CVE-2025-8088 to drop an HTA into the Windows Startup folder.
Key facts
| Identifiers | TL-2026-0653, CVE-2025-8088 |
|---|---|
| Also known as | Gamma toolset campaign, GammaWorm campaign, FSB's matryoshka (Sekoia) |
| Severity | HIGH |
| Exploitation status | Linked CVE exploited in the wild; Listed in CISA KEV: CVE-2025-8088 (added ) |
| EPSS | CVE-2025-8088: 94.2% (99.8th percentile) |
| Affected products | RARLAB WinRAR (Windows); RARLAB UnRAR.dll / WinRAR command-line (Windows); Microsoft Windows (NTFS / Windows Script Host / mshta) |
| Weaknesses (CWE) | CWE-35 |
| Attribution | Gamaredon (high confidence) |
| Nation-state nexus | Russia |
| Malware | GammaPhish, GammaWorm |
| Tools | mshta.exe / wscript.exe / curl.exe (LOLBins) |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1008 Fallback Channels, T1025 Data from Removable Media, T1027 Obfuscated Files or Information, T1036 Masquerading, T1041 Exfiltration Over C2 Channel, T1047 Windows Management Instrumentation, T1053 Scheduled Task/Job, T1059 Command and Scripting Interpreter, T1071 Application Layer Protocol, T1080 Taint Shared Content, T1082 System Information Discovery and 14 more in the attack flow |
| Motivation | ESPIONAGE |
| Target sectors | government, military, defense, critical-infrastructure |
| Target regions | Ukraine, Eastern Europe |
| Detection rules | 9 (1 shown free) |
| Sources | 8 cited sources |
Detection coverage
As of 2026-06-02, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0653 across Splunk SPL, Microsoft KQL and Sigma, covering 42 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: GammaWorm NTFS-ADS Execution, RunOnce & Masquerading Scheduled-Task Persistence — Post-Exploitation
Detects GammaWorm on-host persistence: wscript.exe/mshta.exe executing directly from an NTFS Alternate Data Stream (colon-stream path such as <profile>:GTR or file.txt:URL), the HKCU RunOnce\ExplorerGuard value, and the three maintenance-masquerading scheduled tasks (DiskDiagnosticDataCollector, SilentCleanup, SmartRetry) whose actions invoke a script host instead of a signed Windows binary.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1564.004, T1547.001, T1053.005, T1036.005, T1059.005, T1112
- Data sources: sysmon, windows_security, microsoft_defender_for_endpoint
- Severity: critical
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" (EventCode=1 OR EventCode=13)
| eval is_ads_exec=if(EventCode==1 AND match(Image,"(?i)\\(wscript|cscript|mshta)\.exe$") AND match(CommandLine,"(?i)[A-Za-z]:\\.+:[A-Za-z]{2,8}"),1,0)
| eval is_runonce=if(EventCode==13 AND match(TargetObject,"(?i)\\CurrentVersion\\RunOnce\\ExplorerGuard$"),1,0)
| eval is_masq_task=if(EventCode==1 AND match(Image,"(?i)\\schtasks\.exe$") AND match(CommandLine,"(?i)/TN +(DiskDiagnosticDataCollector|SilentCleanup|SmartRetry)") AND match(CommandLine,"(?i)(wscript|mshta|cscript)\.exe"),1,0)
| where is_ads_exec=1 OR is_runonce=1 OR is_masq_task=1
| eval signal=case(is_ads_exec==1,"Script host executing from NTFS ADS",is_runonce==1,"RunOnce ExplorerGuard persistence",is_masq_task==1,"Masquerading scheduled task to script host")
| stats count min(_time) as firstTime max(_time) as lastTime values(Image) as Image values(CommandLine) as CommandLine values(TargetObject) as TargetObject values(signal) as signal by Computer, User
| convert ctime(firstTime) ctime(lastTime)Microsoft KQL
// GammaWorm persistence: ADS execution + RunOnce + masquerading scheduled tasks
let ads_exec = DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName in~ ("wscript.exe","cscript.exe","mshta.exe")
| where ProcessCommandLine matches regex @"[A-Za-z]:\\.+:[A-Za-z]{2,8}"
| project Timestamp, DeviceName, AccountName, Evidence=ProcessCommandLine, Signal="Script host executing from NTFS ADS";
let masq_task = DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName =~ "schtasks.exe" and ProcessCommandLine has "/Create"
| where ProcessCommandLine has_any ("DiskDiagnosticDataCollector","SilentCleanup","SmartRetry")
| where ProcessCommandLine has_any ("wscript","mshta","cscript")
| project Timestamp, DeviceName, AccountName, Evidence=ProcessCommandLine, Signal="Masquerading scheduled task to script host";
let runonce = DeviceRegistryEvents
| where Timestamp > ago(24h)
| where RegistryKey has @"\CurrentVersion\RunOnce" and RegistryValueName =~ "ExplorerGuard"
| project Timestamp, DeviceName, AccountName=InitiatingProcessAccountName, Evidence=strcat(RegistryKey, " \\ ", RegistryValueName, " = ", RegistryValueData), Signal="RunOnce ExplorerGuard persistence";
ads_exec | union masq_task | union runonce | sort by Timestamp descSigma
title: GammaWorm NTFS-ADS Script Execution, RunOnce and Masquerading Scheduled-Task Persistence
id: b2e1d3f5-0653-4e22-8b12-9c3d4e5f6a02
status: experimental
description: Detects GammaWorm post-exploitation persistence - wscript/cscript/mshta executing from an NTFS Alternate Data Stream, the HKCU RunOnce ExplorerGuard value, and scheduled tasks masquerading as Windows maintenance (DiskDiagnosticDataCollector, SilentCleanup, SmartRetry) invoking a script host.
references:
- https://blog.sekoia.io/fsbs-matryoshka-1-3-gamaredons-gifts-that-keeps-unpacking-gammaphish-and-gammaworm/
author: Threadlinqs Team
date: 2026/06/02
tags:
- attack.persistence
- attack.t1547.001
- attack.t1053.005
- attack.defense_evasion
- attack.t1564.004
- attack.t1036.005
- attack.execution
- attack.t1059.005
logsource:
product: windows
category: process_creation
detection:
selection_img:
Image|endswith:
- '\wscript.exe'
- '\cscript.exe'
- '\mshta.exe'
selection_ads:
CommandLine|re: '[A-Za-z]:\\.+:[A-Za-z]{2,8}'
selection_task:
Image|endswith: '\schtasks.exe'
CommandLine|contains:
- 'DiskDiagnosticDataCollector'
- 'SilentCleanup'
- 'SmartRetry'
CommandLine|contains|all:
- 'wscript'
condition: (selection_img and selection_ads) or selection_task
falsepositives:
- Rare legitimate software that stores configuration in ADS and executes it
- A genuine Windows SilentCleanup task (the legitimate one runs cleanmgr.exe, not a script host - exclude by action)
level: highKnown false positives:
- Rare legitimate software that stores configuration in ADS and executes it
- The genuine Windows SilentCleanup task runs cleanmgr.exe (not a script host) — exclude by action/Image
Tuning notes: The ADS colon-stream regex is the highest-fidelity signal — script-host execution from a path:stream is almost never benign. For the scheduled-task arm, baseline the legitimate SilentCleanup task (action = %windir%\system32\cleanmgr.exe) and alert only when the action invokes wscript/cscript/mshta. Add Sysmon EventCode 11/15 (ADS file/stream creation) for earlier detection of stream writes to %USERPROFILE%:GTR/:save/:URL/:LNK/:SERVER.
- GammaWorm WinRAR CVE-2025-8088 HTA Startup Drop & mshta Spoof Execution — Exploitation (KQL) · unlock with TL Creds
- GammaWorm ADS Execution, RunOnce ExplorerGuard & Maintenance-Masquerade Tasks — Post-Exploitation (KQL) · unlock with TL Creds
- GammaWorm DDR C2 Beacon, Cloud Staging & WMI-Driven LNK Worming — C2 / Lateral Movement (KQL) · unlock with TL Creds
- GammaWorm GammaPhish Initial Access — HTA Smuggling, WinRAR CVE-2025-8088 & mshta Spoof (Sigma) · unlock with TL Creds
- GammaWorm Persistence — ADS Execution, RunOnce ExplorerGuard & Masquerade Tasks (Sigma) · unlock with TL Creds
- GammaWorm C2 — Telegram/Telegraph DDR Seed Fetch & Header-Fingerprint Beacon (Sigma) · unlock with TL Creds
- GammaWorm WinRAR CVE-2025-8088 Path-Traversal HTA Drop & mshta Startup Execution — Exploitation · unlock with TL Creds
- GammaWorm Cloud Dead-Drop-Resolver C2 & LNK Worm Propagation — C2 / Lateral Movement · unlock with TL Creds
Indicators of compromise
As of 2026-06-02, Threadlinqs Intelligence tracks 42 indicators of compromise for TL-2026-0653.
Sample indicators (3 of 42)
- IP address:
104.194.140[.]6 - Domain:
bold[.]zsjtn41091[.]workers[.]dev - URL:
hxxps://graph[.]org/kyjfkyr-12-06
Defanged, TLP:CLEAR. Full set of 42 indicators: unlock with TL Creds.
Technical analysis
GammaWorm is a 20,000-line VBScript that hides almost entirely inside NTFS Alternate Data Streams, persists via a RunOnce key and three scheduled tasks executing from hidden streams, worms across USB/network drives via malicious LNK shortcuts run through mshta.exe/wscript.exe, and uses Dead Drop Resolvers on Telegraph/Teletype/Telegram, Cloudflare Workers, and Cloudflare tunnels for resilient, rotating command-and-control.
Gamaredon (FSB Center 18 for Information Security, operating from occupied Crimea; attributed by the Security Service of Ukraine) has reorganized its long-running Ukraine espionage arsenal into a modular 'Gamma' ecosystem with dedicated components for phishing (GammaPhish), staging (GammaLoad), worm-like propagation (GammaWorm), and data theft (GammaSteel). Sekoia analyzed the campaign in January 2026; it remains active and is the successor to the group's earlier Pteranodon/Pterodo frameworks (2016-2021) and the Ptero* tool family (PteroLNK, PteroOdd, PteroPaste, PteroGraphin).
INITIAL ACCESS (GammaPhish): The chain begins with a weaponized xHTML file (e.g. 1_13_5_1691_09.12.2025.xhtml) that displays a fake 'DOCUMENT DOWNLOADED' message while beaconing a tracking pixel to a Supabase Edge Function. A JavaScript OnError handler performs HTML smuggling — reconstructing a Base64-embedded RAR archive (2_14_6_1033_09.12.2025.rar) only for Windows User-Agents. The RAR abuses WinRAR path-traversal CVE-2025-8088 (CWE-35), carrying a decoy PDF plus an HTA whose extraction path traverses (..\..\..\..\..\..\) into the per-user Startup folder (AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\2_14_6_1033_09.12.2025.HTA), guaranteeing execution at next logon. The HTA launches mshta.exe against a Supabase-hosted URL crafted with an '@' userinfo trick (hxxps://www.bbc.com@<supabase host>/...capture.pdf) to masquerade as a benign domain.
GammaWorm (PROPAGATION & PERSISTENCE): The core implant is a single VBScript of more than 20,000 lines (~90% junk/obfuscation) delivered as '~.gif' and assembled in memory via ExecuteGlobal. It hides its body in NTFS Alternate Data Streams: a primary clone at %USERPROFILE%:GTR, a fallback at %USERPROFILE%\boot.ini, and a killswitch stream %USERPROFILE%:save (activates if it exceeds 100 bytes). Persistence is layered: a RunOnce value HKCU\...\RunOnce\ExplorerGuard relaunches wscript.exe against the ADS copy, and three scheduled tasks masquerading as Windows maintenance jobs — DiskDiagnosticDataCollector (7 min; reads ADS :URL for DDR C2 resolution), SilentCleanup (7 min; reads ADS :LNK for USB/network propagation), and SmartRetry (10 min; reads ADS :SERVER for a DDR clone) — execute code directly from the hidden streams. The worm also tampers with Explorer\Advanced settings (Hidden=0x2, ShowSuperHidden=0x0, HideFileExt=0x1) to conceal files and extensions.
Worming: A WMI query (select * from win32_logicaldisk where mediatype=null) enumerates fixed network/USB drives. GammaWorm writes a full '~.gif' copy to each drive root, sets Hidden+System attributes on legitimate folders, and replaces them with LNK shortcuts that carry folder icons and names. The dual-execution LNK runs an mshta.exe javascript: eval that both opens the real folder via explorer and silently launches 'wscript.exe ~.gif //b //e:vbScript'. Decoy LNKs use provocative Ukrainian-language lures (e.g. 'таємно.doc', 'карта обліку.doc', 'фото військовополоненого.jpeg', 'згвалтування.jpeg', 'порно-фото.jpeg'). Propagation recurses to a 4-folder depth.
COMMAND & CONTROL (Dead Drop Resolvers): GammaWorm resolves live C2 through Dead Drop Resolvers rather than hardcoded servers. Hardcoded seed pages live on Telegraph/Teletype and Telegram (graph.org/kyjfkyr-12-06, telegra.ph/f8bfl6sp-01-02, t.me/s/teotori, www.telegram.me/s/oberfarir); the worm pulls these (including via curl.exe), parses embedded URLs/IPs in a five-loop recursive chain, and caches each tier in HKCU\Console\ values (WindowsUpdates/WindowsResponby for the primary C2 domain, WindowsDetect/URLTeletype for Teletype, WindowsTelegra/URLTelegra for Telegraph, IpURL for a direct-IP fallback). Observed staging infrastructure includes Cloudflare Workers subdomains (bold.zsjtn41091.workers.dev), a Cloudflare quick tunnel (efficiency-planes-emotions-fascinating.trycloudflare.com), an operator domain (quitethepastry.ru), and a direct C2 IP (104.194.140.6). This hybrid design enables rapid rotation, hides staging behind Cloudflare, and falls back to direct IPs if cloud services are disrupted.
BACKDOOR LOOP & EXFIL: A continuous loop (28-second sleep) beacons to the resolved C2, encoding host fingerprints (ComputerName, hex drive serial, random strings) into randomized HTTP headers to mimic normal web traffic — a structured User-Agent with rotating separators (::, ##, !!, ??, ==), spoofed Referer values (.gov.ua/.mil.gov.ua/.nato.int/.gov.md), randomized Cookie names/values, varied Accept-Language q-values, and random Content-Length (2916-6966 bytes). On HTTP 200 with no <html> tag the response is Base64-decoded, stripped of CR/'&&' markers, and run via ExecuteGlobal for in-memory execution; on HTTP 404 the response delimiters update the registry C2 configuration. Because every stage can re-profile the host, update config, and fetch fresh payloads, the chain behaves as a stack of redundant backdoors — partial cleanup leaves surviving components able to restore access.
STRATEGIC SIGNIFICANCE: The same Gamaredon tooling has been used to hand access to Turla (FSB Center 16) for Kazuar deployment (ESET, Sept 2025), underscoring that a GammaWorm foothold can be a precursor to higher-tier intrusion. The campaign's combination of fileless VBScript, ADS concealment, USB-borne worming, and cloud-backed DDR C2 substantially raises stealth and durability over earlier Gamaredon frameworks.
MITRE ATT&CK techniques by tactic:
Collection
T1005 Data from Local System; T1025 Data from Removable Media
Command and Control
T1008 Fallback Channels; T1071 Application Layer Protocol; T1102 Web Service; T1105 Ingress Tool Transfer
Defense Evasion
T1027 Obfuscated Files or Information; T1036 Masquerading; T1211 Exploitation for Stealth; T1218 System Binary Proxy Execution; T1564 Hide Artifacts
Exfiltration
T1041 Exfiltration Over C2 Channel
Execution
T1047 Windows Management Instrumentation; T1053 Scheduled Task/Job; T1059 Command and Scripting Interpreter; T1204 User Execution
Lateral Movement
Discovery
T1082 System Information Discovery; T1083 File and Directory Discovery; T1120 Peripheral Device Discovery
Initial Access
T1091 Replication Through Removable Media; T1566 Phishing
defense-impairment
Persistence
T1547 Boot or Logon Autostart Execution
Resource Development
Remediation
Patches
- WinRAR 7.13 (fixes CVE-2025-8088) — https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=283
Immediate actions
- Update WinRAR to 7.13 or later to remediate CVE-2025-8088 (no auto-update in WinRAR; manual install required).
- Block/monitor the listed DDR seed pages and C2 (graph.org/kyjfkyr-12-06, telegra.ph/f8bfl6sp-01-02, t.me/s/teotori, telegram.me/s/oberfarir, bold.zsjtn41091.workers.dev, quitethepastry.ru, *.trycloudflare.com, 104.194.140.6).
- Hunt for NTFS ADS on user-profile paths (%USERPROFILE%:GTR, %USERPROFILE%:save, %USERPROFILE%:URL, :LNK, :SERVER) and on boot.ini in the profile.
- Inspect HKCU RunOnce\ExplorerGuard and HKCU\Console\ values (WindowsUpdates, WindowsResponby, WindowsDetect, URLTeletype, WindowsTelegra, URLTelegra, IpURL) and remove.
- Disable/quarantine rogue scheduled tasks named DiskDiagnosticDataCollector, SilentCleanup, SmartRetry that invoke wscript.exe/mshta.exe against ADS.
Workarounds
- Until WinRAR is updated, avoid extracting untrusted archives; consider an alternative archiver.
- Set HKCU\...\Explorer\Advanced Hidden=1/ShowSuperHidden=1/HideFileExt=0 via GPO and monitor for reversion.
- Block the '@' userinfo URL pattern and HTML-smuggling content at the web proxy.
Longer-term hardening
- Deploy EDR with behavioral detection for mshta.exe/wscript.exe spawning from LNK and reading from ADS; alert on curl.exe to telegram/telegraph.
- Restrict or block mshta.exe and wscript.exe execution via WDAC/AppLocker where business needs allow.
- Enforce removable-media controls and disable AutoRun; flag LNK files that hide folders with Hidden+System attributes.
- Egress-filter and inspect traffic to Telegraph/Teletype/Telegram, *.workers.dev, and *.trycloudflare.com for DDR abuse.
- Sweep for downstream Turla/Kazuar activity on any host showing Gamaredon Ptero/Gamma artifacts.
Affected and fixed versions
Timeline
- Gamaredon active since at least 2013; attributed by Ukraine's SSU to FSB Center 18 (Center for Information Security), operating from occupied Crimea.
- Group operated the Pteranodon/Pterodo framework (2016-2021) before transitioning to modular standalone Ptero* and Gamma families.
- WinRAR path-traversal CVE-2025-8088 disclosed and patched in WinRAR 7.13; discovered by ESET (Cherepanov, Kosinar, Strycek), already exploited in the wild by multiple groups.
- ESET documents Gamaredon handing access to Turla (FSB Center 16) to deploy Kazuar in Ukraine, confirming Gamaredon footholds as precursors to higher-tier intrusion.
- Weaponized GammaPhish xHTML/RAR lures dated 09.12.2025 observed (e.g. 1_13_5_1691_09.12.2025.xhtml, locked-ioc-17).
- Sekoia analyzes the Gamma-toolset campaign (GammaPhish/GammaWorm), detailing NTFS-ADS concealment and cloud Dead Drop Resolver C2; campaign assessed ongoing.
- Public reporting (Cyber Security News, citing Sekoia) details GammaWorm hiding in Windows features and abusing cloud platforms for C2.
Sources cited
- NVD — CVE-2025-8088 (WinRAR path traversal, exploited in the wild) NVD (NIST) · Advisory · 2025-08-08
- CISA Known Exploited Vulnerabilities — CVE-2025-8088 CISA · Government advisory · 2025-08-12
- FSB's matryoshka #1/3: Inside Gamaredon Cyber Operations (GammaPhish & GammaWorm) blog.sekoia.io · Research · 2026-01-01
- Gamaredon X Turla collab — FSB groups collaborate to deploy Kazuar in Ukraine ESET WeLiveSecurity · Research · 2025-09-19
- WinRAR 7.13 release advisory (fixes CVE-2025-8088) win-rar.com · Vendor report · 2025-08-08
- ESET — Update WinRAR tools now: RomCom and others exploiting CVE-2025-8088 zero-day ESET WeLiveSecurity · Research · 2025-08-11
- ESET — Gamaredon in 2024 (white paper) web-assets.esetstatic.com · Research · 2025-07-02
- Gamaredon APT Hides Malware in Windows Features and Abuses Cloud Platforms for C2 cybersecuritynews.com · News · 2026-06-02
More from Gamaredon
- Chinese Nation-State Threat Activity Falls 41.4% in Q2-Q3 2026 While Remaining Above Russian and Iranian Activity (Trellix)
- Weekly threat digest (week ending 2026-06-07): PAN-OS GlobalProtect CVE-2026-0257 exploitation, React2Shell CVE-2025-55182 abuse by APT-C-26, and npm/state-actor campaigns
- ASEC June 2026 APT Trend Report: Nation-State Actors Pivot to Cloud/OAuth Abuse, MaaS, and Supply-Chain Compromise
- Screensaver (.SCR) Files Used as Initial Access Vector
Other reports on CVE-2025-8088
- Silent Lynx (UAT-6275 / TAG-193) exposed server: Laplas/Chvost implants and AI-agent-driven intrusions against Tajikistan railway and EDO, Uzbekistan Smart Forestry, and Turkmenistan-themed lures
- Gorbag: Russia-aligned espionage group targets Ukrainian war crimes investigations and military aid routes (BeautyStealer, Prime ReverseShell, CVE-2025-8088)
- Russia-aligned actors exploit CVE-2025-8088 (WinRAR path traversal in ClamAV's bundled UnRAR) via MDaemon mail server scanning to drop HELLAGE/HELLTAG backdoors without user interaction
- Q2 2026 Vulnerability and Exploit Landscape: Exploited AI-platform flaws (OpenClaw CVE-2026-25253, Dify CVE-2026-41948, Open WebUI CVE-2026-45386), Exchange CVE-2026-45501, and Linux kernel page-cache LPE exploit wave (Copy Fail, Dirty Frag)
- Talos Q3 2026 Vulnerability Pulse: Ivanti Connect Secure Zero-Day CVE-2026-104935, SonicWall SMA1000 SSRF CVE-2026-102255, and UAT-6275 (Silent Lynx) Espionage
- Kazakhstan-nexus UAT-6275 (TAG-193 / Silent Lynx) targets CIS government organizations with Chvost, Laplas and PickleShell (CVE-2025-8088, CVE-2025-25257)
Previous and next in malware
Further reading
Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.