Threat reportMalwareTL-2026-7028
Gamaredon PteroLNK VBScript Malware: Dead Drop Resolvers (Telegraph/Teletype) and Cloudflare Quick-Tunnel C2 Targeting Ukraine
HarfangLab analyzed Pterodo-family PteroLNK VBScript samples attributed to Gamaredon (widely believed to be linked to Russia's FSB), uploaded to a public malware analysis platform between late 2024 and March 2025. The malware resolves C2 through Telegraph/Teletype dead drop resolvers and Cloudflare quick tunnels, spreads via malicious LNK shortcuts, and targets Ukrainian government, military and critical infrastructure entities. First disclosed .
Key facts
Detection coverage
As of 2026-11-28, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7028 across Splunk SPL, Microsoft KQL and Sigma, covering 28 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: Gamaredon PteroLNK — Script Host Contacting Dead Drop Resolvers, Cloudflare Quick Tunnels and Gamaredon C2
Detects wscript.exe, cscript.exe or mshta.exe resolving or connecting to the PteroLNK C2 chain: Telegraph/Graph/Teletype dead drop resolvers (telegra.ph, graph.org, teletype.in), trycloudflare.com quick tunnels, the check-host.net resolver, and Gamaredon domains/IPs from TRR250401 (mahombres.ru, tienes.ru, kimiga.ru, areyouall.ru, nandayo.ru, 194.67.71.128, 31.129.22.156). Script hosts have little reason to contact these services.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1102.001, T1071.001, T1572, T1583.006
- Data sources: sysmon_event_22, sysmon_event_3, XmlWinEventLog:Microsoft-Windows-Sysmon/Operational, DeviceNetworkEvents
- Severity: high
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" (EventCode=22 OR EventCode=3) earliest=-24h (Image="*wscript.exe" OR Image="*cscript.exe" OR Image="*mshta.exe")
```EventCode 22 = DNS query, EventCode 3 = network connection```
| eval indicator=lower(coalesce(QueryName,DestinationHostname,DestinationIp))
| eval channel=case(like(indicator,"%telegra.ph") OR like(indicator,"%graph.org") OR like(indicator,"%teletype.in"),"dead_drop_resolver", like(indicator,"%trycloudflare.com"),"cloudflare_quick_tunnel", like(indicator,"%check-host.net"),"check_host_resolver", like(indicator,"%mahombres.ru") OR like(indicator,"%tienes.ru") OR like(indicator,"%kimiga.ru") OR like(indicator,"%areyouall.ru") OR like(indicator,"%nandayo.ru"),"gamaredon_c2_domain", DestinationIp="194.67.71.128" OR DestinationIp="31.129.22.156","gamaredon_c2_ip")
| where isnotnull(channel)
| stats count dc(indicator) as distinct_indicators values(indicator) as indicators min(_time) as first_seen max(_time) as last_seen by host User Image channel
| convert ctime(first_seen) ctime(last_seen)Microsoft KQL
let lookback = 24h;
DeviceNetworkEvents
| where Timestamp > ago(lookback)
| where InitiatingProcessFileName in~ ("wscript.exe", "cscript.exe", "mshta.exe")
| where RemoteUrl has_any ("telegra.ph", "graph.org", "teletype.in", "trycloudflare.com", "check-host.net", "mahombres.ru", "tienes.ru", "kimiga.ru", "areyouall.ru", "nandayo.ru") or RemoteIP in ("194.67.71.128", "31.129.22.156")
| project Timestamp, DeviceName, InitiatingProcessAccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteUrl, RemoteIP, RemotePort
| order by Timestamp descSigma
title: PteroLNK Script Host DNS Query to Dead Drop Resolver, Quick Tunnel or Gamaredon C2
id: b5f2e8d4-1c36-4a79-8e0b-6d3a7c9f4303
status: experimental
description: Detects wscript.exe, cscript.exe or mshta.exe resolving Telegraph/Teletype dead drop resolvers, trycloudflare.com quick tunnels, check-host.net or Gamaredon C2 domains reported for PteroLNK.
references:
- https://harfanglab.io/insidethelab/gamaredons-pterolnk-analysis/
- https://attack.mitre.org/techniques/T1102/001/
author: Threadlinqs Team
date: 2026-11-28
tags:
- attack.command-and-control
- attack.t1102.001
- attack.t1071.001
- attack.t1572
- attack.resource-development
- attack.t1583.006
logsource:
category: dns_query
product: windows
detection:
selection_img:
Image|endswith:
- '\wscript.exe'
- '\cscript.exe'
- '\mshta.exe'
selection_dns:
QueryName|endswith:
- 'telegra.ph'
- 'graph.org'
- 'teletype.in'
- '.trycloudflare.com'
- 'check-host.net'
- '.mahombres.ru'
- 'tienes.ru'
- 'kimiga.ru'
- 'areyouall.ru'
- 'nandayo.ru'
condition: all of selection_*
falsepositives:
- Administrative scripts that legitimately publish to Telegraph or Teletype, or use check-host.net for diagnostics
level: highKnown false positives:
- Admin or marketing scripts that post to telegra.ph or teletype.in via wscript/mshta
- Network-diagnostic scripts that query check-host.net
Tuning notes: Extend the indicator lists with new DDR URLs and trycloudflare.com subdomains from TRR250401 as they are published. If DNS logging (EventCode 22) is unavailable, rely on EventCode 3 and proxy logs. Allow-list approved automation hosts. Gamaredon rotates infrastructure often, so keep the behaviour (script host to DDR/tunnel) as the primary signal.
- Gamaredon PteroLNK — Explorer-Launched mshta javascript:eval / wscript //e:vbScript from Malicious LNK · unlock with TL Creds
- Gamaredon PteroLNK — HKCU\Console C2 Config Values and Explorer Hidden-File Tampering · unlock with TL Creds
- Gamaredon PteroLNK — Connectivity Checks Followed by DDR / Quick-Tunnel / check-host.net C2 Fallback Chain · unlock with TL Creds
- Gamaredon PteroLNK — Dropped NTUSER.DAT.TMContainer Payloads in %PUBLIC% and ~.drv/~.tmp/~.ini Script Copies · unlock with TL Creds
- Gamaredon PteroLNK — schtasks.exe Creating DeviceDirectoryClient Task or Task Pointing at Masqueraded Script · unlock with TL Creds
- Gamaredon PteroLNK — C2 HTTP Requests with Computer-Name/Drive-Serial User-Agent ('/.n' and '/.T' Delimiters) · unlock with TL Creds
- Gamaredon PteroLNK — wscript //e:vbScript Execution of Masqueraded ~.drv / NTUSER.DAT.TMContainer Script · unlock with TL Creds
- Gamaredon PteroLNK — Scheduled Task Masquerading as Windows DeviceDirectoryClient (Persistence) · unlock with TL Creds
Indicators of compromise
As of 2026-11-28, Threadlinqs Intelligence tracks 28 indicators of compromise for TL-2026-7028.
Sample indicators (3 of 28)
- IP address:
194.67.71[.]128 - Domain:
tienes[.]ru - URL:
hxxps://telegra[.]ph/Vizit-12-28
Defanged, TLP:CLEAR. Full set of 28 indicators: unlock with TL Creds.
Technical analysis
PteroLNK is a VBScript-based malware component of the Pterodo family operated by Gamaredon. HarfangLab (TRR250401, published 2025-04-16) analyzed samples uploaded to online multiscanners between late 2024 and mid-March 2025 from Kyiv, Dnipro, Rivne, Kupyansk and Odesa. The samples match ESET's earlier PteroLNK description (2023-2024 analysis) and reuse Gamaredon habits: NTUSER.DAT.TMContainer file names, a User-Agent string with computer name and drive serial delimited by '/.n' and '/.T', and infrastructure previously tied to the group.
The main obfuscated VBScript drops two base64-encoded payloads, a Downloader and an LNK Dropper, copies itself to %PUBLIC%\NTUSER.DAT.TMContainer and %APPDATA%\~.drv, and persists through scheduled tasks under \Windows\DeviceDirectoryClient\ (RegisterUserDevice every 3 minutes for the Downloader, RegisterDeviceConnectedToNetwork every 9 minutes for the LNK Dropper). If '360 Total Security' is detected, both payloads switch from scheduled tasks to an infinite loop and skip file-concealment actions. The script changes Explorer settings to show hidden files, hide extensions and hide protected OS files. C2 configuration is stored in HKCU\Console values WindowsUpdates (primary C2), WindowsResponby (backup C2) and WindowsDetect (URI portion).
The Downloader is a multi-stage C2 retriever driven by an error counter. It checks connectivity against benign sites (sweet.tv, ukr.net, bbc.com, vesti.ru), then reads a hard-coded Telegraph dead drop resolver (telegra.ph/Vizit-12-28 by default) and parses a trycloudflare.com quick-tunnel address from the page with a regex. It sends a GET to the tunnel with a custom User-Agent; a 404 response returns a new C2. At higher error counts it builds a second DDR on teletype.in and, at further levels, uses check-host.net to resolve a hard-coded C2 of the form <2 digits><word>.mahombres.ru. Received VBScript is executed with ExecuteGlobal. Cloudflare flagged five Gamaredon-controlled C2 domains (registrar REGRU-RU) as Suspected Phishing, which disrupted payload retrieval. Related DDRs were still being updated in the observation window (for example, telegra.ph/Vizit-12-28 was repointed to nandayo.ru on 2025-03-27 and a Teletype DDR began pointing to kimiga.ru on 2025-03-31).
The LNK Dropper replaces .pdf, .docx and .xlsx documents and folders in drive roots (up to three subfolder levels) with malicious shortcuts and copies the main script alongside them as ~.drv (or ~.tmp / ~.ini if those names exist). The shortcuts run a javascript:eval payload that launches the original file via explorer and runs wscript.exe //e:vbScript ~.drv. When no matching document exists, Ukrainian military-themed decoy names are used (for example 'Для службового користування', 'Інформація щодо загиблих', 'Супровід ГУР', 'рнбо'). HarfangLab assesses the focus as Ukrainian government, military and critical infrastructure.
MITRE ATT&CK techniques by tactic:
Discovery
T1016.001 System Network Configuration Discovery: Internet Connection Discovery; T1082 System Information Discovery; T1518.001 Software Discovery: Security Software Discovery
Defense Evasion
T1027 Obfuscated Files or Information; T1036.005 Masquerading: Match Legitimate Resource Name or Location; T1140 Deobfuscate/Decode Files or Information; T1218.005 System Binary Proxy Execution: Mshta; T1564.001 Hide Artifacts: Hidden Files and Directories
Persistence
T1053.005 Scheduled Task/Job: Scheduled Task
Execution
T1059.005 Command and Scripting Interpreter: Visual Basic; T1059.007 Command and Scripting Interpreter: JavaScript; T1204.002 User Execution: Malicious File
Command and Control
T1071.001 Application Layer Protocol: Web Protocols; T1102.001 Web Service: Dead Drop Resolver; T1568 Dynamic Resolution; T1572 Protocol Tunneling
Initial Access
T1091 Replication Through Removable Media
defense-impairment
Resource Development
T1583.001 Acquire Infrastructure: Domains; T1583.006 Acquire Infrastructure: Web Services
Remediation
Immediate actions
- Hunt for the scheduled tasks \Windows\DeviceDirectoryClient\RegisterUserDevice and RegisterDeviceConnectedToNetwork and for HKCU\Console values WindowsUpdates, WindowsResponby and WindowsDetect
- Search drive roots and user profiles for %PUBLIC%\NTUSER.DAT.TMContainer*, %APPDATA%\~.drv and ~.tmp/~.ini script copies, and for .lnk files containing javascript:eval with wscript.exe //e:vbScript
- Block or alert on the listed telegra.ph, graph.org and teletype.in DDR URLs, the listed domains and IPs, and trycloudflare.com egress where not business-required
- Isolate hosts that show wscript.exe or mshta.exe spawned from LNK shortcuts and reset credentials used on them
Workarounds
- Use AppLocker/WDAC to block wscript.exe and mshta.exe execution of scripts from %PUBLIC% and %APPDATA%
- Monitor for HTTP requests with User-Agent strings containing '/.nJoin/.T' and Accept-Language uk-UA with UA-CPU AMD64
Longer-term hardening
- Restrict or alert on outbound access to trycloudflare.com, telegra.ph, teletype.in and check-host.net from endpoints that have no business need
- Deploy EDR with behavioral detection for wscript.exe/mshta.exe execution from removable media and user-writable paths
- Disable or restrict Windows Script Host and mshta.exe where not needed
- Restrict USB/removable media use and enable display of file extensions and hidden files by policy
Affected and fixed versions
- Microsoft — Windows (hosts with Windows Script Host and mshta.exe available)
Vulnerable versions: Not version-specific; malware abuses built-in wscript.exe, mshta.exe and scheduled tasks
Timeline
- Microsoft publishes ACTINIUM (Gamaredon) report on targeting of Ukrainian organizations; locked-ioc-27 is later tied to this earlier reporting by HarfangLab.
- Earliest PteroLNK variant sample uploaded; it has no DDR and resolves its C2 locked-ioc-26 through check-host.net.
- Earliest dead drop resolver created: telegra.ph/Vizit-12-28, the hard-coded default DDR in later samples.
- Most recent dynamically generated DDR observed by HarfangLab is created.
- Around 09:00 UTC, telegra.ph/Vizit-12-28 is updated to point to locked-ioc-19.
- Teletype DDR teletype.in/@mew31/y4JyD2Rpb41 begins pointing to locked-ioc-27.
- HarfangLab YARA rules Gamaredon_PteroLNK_VBScript and Gamaredon_PteroLNK_LNK are dated.
- HarfangLab publishes TRR250401 'Inside Gamaredon's PteroLNK: Dead Drop Resolvers and evasive Infrastructure'.
Sources cited
- CERT-UA advisory CERT-UA · Advisory
- Inside Gamaredon's PteroLNK: Dead Drop Resolvers and evasive Infrastructure (HarfangLab, TRR250401) harfanglab.io · Research · 2025-04-16
- ESET - Cyberespionage the Gamaredon way web-assets.esetstatic.com · Research
- Microsoft - ACTINIUM targets Ukrainian organizations Microsoft · Vendor report · 2022-02-04
- Unit 42 - Gamaredon / Primitive Bear Ukraine update 2021 Unit 42 · Research
- Symantec - Shuckworm continues cyber-espionage attacks against Ukraine security.com · Vendor report · 2022-08-15
- Recorded Future - Insikt Group Russia-nexus report (cta-ru-2024-1205) Recorded Future · Research
- EUREPOC - Gamaredon report eurepoc.eu · Research
- MITRE ATT&CK T1102.001 Dead Drop Resolver MITRE · Research
- Cloudflare Quick Tunnels try.cloudflare.com · Vendor report
- HarfangLab IOCs repository - TRR250401 GitHub · Code repository
- Hunt.io - State-sponsored activity: Gamaredon and ShadowPad hunt.io · Blog
- Cisco Talos - Network footprints of Gamaredon Group Cisco · Blog
- SBU - FSB hackers identified behind over 5,000 cyberattacks on Ukrainian state bodies ssu.gov.ua · News
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
- Gamaredon (Primitive Bear / Shuckworm) APT Profile: Russia-Aligned Espionage Against Ukraine and NATO, Now Exploiting CVE-2025-8088 (WinRAR)
- Russian APT Gamaredon Upgrades Arsenal with Six New PowerShell Downloaders, Cloudflare/Devtunnel C2 Concealment, and Turla Collaboration Delivering Kazuar Backdoor (2025)
- Russia-aligned Gamaredon (Earth Dahu) and UAC-0226 (SHADOW-EARTH-066) Exploit Patched WinRAR Path-Traversal CVE-2025-8088 (NTFS ADS) Against Ukrainian Organizations
Previous and next in malware
Drafted by the Threadlinqs research pipeline from 14 sources; published ; last updated —.