Russia-Aligned Groups Exploit Unpatched WinRAR Flaw in Campaigns Against Ukraine

· Original article ↗

Summary

Two Russia-aligned campaigns continued exploiting WinRAR CVE-2025-8088 against Ukrainian organizations through April 2026, delivering an evolved information stealer or espionage tools. The report details their techniques and recommends patching WinRAR and hunting for IО

Key points

  • CVE-2025-8088 is a path traversal flaw patched in WinRAR 7.13; opening a malicious archive with an older version can silently place files outside the extraction folder, including in the Startup folder.
  • SHADOW-EARTH-066, tracked by CERT-UA as UAC-0226, uses the flaw to load an evolved GIFTEDCROOK stealer that targets browser passwords, session cookies, and files matching 35 extensions.
  • The stealer uses in-memory DLL loading, encrypted HTTPS exfiltration to dedicated command-and-control servers, anti-analysis techniques, and self-deletion after running.
  • Earth Dahu (Gamaredon) uses a separate HTA/VBScript chain to deliver espionage tools, with some samples using Cloudflare infrastructure and compromised Ukrainian accounts for spear-phishing.
  • Both groups continued producing samples through April 2026; the report says Earth Dahu remained active at publication time.
  • Trend Micro recommends updating WinRAR across endpoints, hunting for campaign indicators, blocking command-and-control infrastructure, and rotating credentials and invalidating sessions after suspected compromise.

Article Details

Attack Vectors
  • Both campaigns used CVE-2025-8088 in crafted RAR archives opened with vulnerable versions of WinRAR to write files outside the extraction directory through NTFS Alternate Data Streams.
  • SHADOW-EARTH-066 used a Startup-folder LNK to launch a hidden PowerShell loader and load the GIFTEDCROOK payload in memory.
  • Earth Dahu used spear-phishing emails and RAR archives to place HTA, VBS, or VBE files in the Startup folder; some downloader scripts fetched HTA payloads through Cloudflare Tunnel infrastructure.
  • The campaigns used decoy documents themed as Ukrainian court, government, or military correspondence.
Defensive Notes
  • Verify WinRAR versions across endpoints and deploy a patched version; the article identifies WinRAR 7.13 as the version patched for CVE-2025-8088.
  • Inspect RAR5 SERVICE headers and STMz entries for ADS path traversal, and block or quarantine RAR attachments where feasible.
  • Hunt for randomized LNK or HTA files in the Startup folder, short-named files in C:\ProgramData\, and connections to the listed SHADOW-EARTH-066 C2 addresses.
  • Monitor for cmd.exe launching hidden PowerShell with execution-policy bypass, PowerShell allocating executable memory, and mshta.exe running from the Startup folder.
  • Use kernel-level telemetry to detect direct NT system calls used for executable-memory allocation and in-memory DLL loading.
  • For suspected compromises, reset affected passwords, invalidate active web sessions, rotate stored tokens and API keys, and enable MFA on critical accounts.

Indicators of compromise

TypeIndicatorContext
DOMAINastrocaf[.]comAttacker-controlled domain used to send a spear-phishing email.
DOMAINmail[.]c1[.]com[.]uaMail infrastructure used to route emails associated with the Earth Dahu spear-phishing campaign.
EMAILvodafonenovic33@joymobile[.]com[.]uaReturn-Path address used in two emails associated with the Earth Dahu spear-phishing campaign.
IPV4136[.]0[.]141[.]112SHADOW-EARTH-066 C2 infrastructure pivoted via a self-signed TLS certificate; direct communication was not observed.
IPV4136[.]0[.]141[.]138SHADOW-EARTH-066 C2 server; listed as an address used for HTTPS exfiltration.
IPV4136[.]0[.]141[.]41SHADOW-EARTH-066 C2 server; listed as an address used for HTTPS exfiltration.
IPV4166[.]0[.]132[.]237SHADOW-EARTH-066 C2 server; listed as an address used for HTTPS exfiltration.
IPV4194[.]58[.]66[.]82Resolution address for the attacker-controlled astrocaf[.]com domain used in a spear-phishing email.
IPV423[.]26[.]237[.]80SHADOW-EARTH-066 C2 infrastructure pivoted via a self-signed TLS certificate; direct communication was not observed.
IPV438[.]225[.]209[.]122SHADOW-EARTH-066 C2 infrastructure pivoted via a self-signed TLS certificate; direct communication was not observed.
IPV438[.]225[.]209[.]229SHADOW-EARTH-066 C2 server; listed as an address used for HTTPS exfiltration.
IPV45[.]9[.]241[.]27Mail-server address used to route emails associated with the Earth Dahu spear-phishing campaign.
SHA2563d371ef71e40c34a75c168d4647db096c2f386499d99a88d4e16b63cd4acda25SHA-256 of a RAR sample containing the SHADOW-EARTH-066 exploit chain.

MITRE ATT&CK

T1005 · Data from Local SystemGIFTEDCROOK searched local Documents, Downloads, and TEMP directories for files matching 35 extensions.T1027 · Obfuscated Files or InformationSHADOW-EARTH-066 used heavily obfuscated PowerShell loaders and encrypted strings.T1036 · MasqueradingBoth campaigns used decoy documents or spoofed trusted domains to make malicious activity appear legitimate.T1041 · Exfiltration Over C2 ChannelSHADOW-EARTH-066 sent stolen data to its C2 servers over HTTPS.T1059.001 · PowerShellSHADOW-EARTH-066 used hidden PowerShell sessions to execute its loader.T1070.004 · File DeletionSHADOW-EARTH-066 deleted its Startup LNK and staging files after exfiltration.T1071.001 · Web ProtocolsBoth campaigns used HTTP or HTTPS for C2 communications and payload retrieval.T1204.002 · Malicious FileBoth campaigns required a victim to open a malicious archive to trigger the WinRAR exploit.T1485 · Data DestructionClearSky reported a wiper component delivered through the Earth Dahu chain.T1497 · Virtualization/Sandbox EvasionSHADOW-EARTH-066 used Sleep calls and variable delay loops to extend execution time and evade sandbox analysis.T1539 · Steal Web Session CookieGIFTEDCROOK collected browser session cookies.T1547.001 · Registry Run Keys / Startup FolderEarth Dahu placed HTA, VBS, or VBE files in the Startup folder for execution at the next login.T1555.003 · Credentials from Web BrowsersGIFTEDCROOK collected saved passwords from Chrome, Edge, Opera, and Firefox profiles.T1564.004 · NTFS File AttributesBoth campaigns used NTFS Alternate Data Stream entries in RAR archives to conceal payloads and write them through path traversal.T1566.001 · Spearphishing AttachmentEarth Dahu delivered the HTA-chain campaign through spear-phishing emails with RAR attachments.T1573.001 · Symmetric CryptographySHADOW-EARTH-066 encrypted exfiltrated data and C2-related strings with RC4.T1620 · Reflective Code LoadingSHADOW-EARTH-066 decoded and loaded the DLL in memory without writing the decoded DLL to disk.

CVE

People

Threat Actors

Malware

Vendors

Products

Tools

Countries

Industries

Related Articles