Skip to navigation

Threat reportAPTTL-2026-0566

Ghostwriter (UAC-0057 / UNC1151) Prometheus-Themed Phishing Chain Drops OYSTERFRESH → OYSTERBLUES → OYSTERSHUCK → Cobalt Strike Against Ukrainian Government

highACTIVE

Belarus-aligned APT Ghostwriter (UAC-0057 / UNC1151) is running a phishing campaign against Ukrainian government entities using lures themed around Prometheus, a Ukrainian online-learning platform. Phishing mail sent from compromised mailboxes carries a PDF whose embedded link pulls a ZIP archive containing a JavaScript dropper named OYSTERFRESH; the JS shows a decoy document, plants an obfuscated/encrypted recon payload (OYSTERBLUES) in the Windows Registry, and fetches a decoder/launcher (OYSTERSHUCK).

Key facts

IdentifiersTL-2026-0566
Also known asOperation Prometheus, UAC-0057 Prometheus Campaign, OYSTER chain
SeverityHIGH
Affected productsMicrosoft Windows (all supported desktop and server SKUs); Microsoft Windows Script Host (wscript.exe / cscript.exe)
Weaknesses (CWE)CWE-1188, CWE-829
AttributionGhostwriter (high confidence)
Nation-state nexusBelarus
MalwareOYSTERBLUES, OYSTERFRESH, OYSTERSHUCK
ToolsCobalt Strike
MITRE ATT&CK techniquesT1005 Data from Local System, T1027 Obfuscated Files or Information, T1033 System Owner/User Discovery, T1036 Masquerading, T1041 Exfiltration Over C2 Channel, T1047 Windows Management Instrumentation, T1057 Process Discovery, T1059 Command and Scripting Interpreter, T1071 Application Layer Protocol, T1082 System Information Discovery, T1105 Ingress Tool Transfer, T1112 Modify Registry and 10 more in the attack flow
MotivationESPIONAGE
Target sectorsgovernment, defense, education, diplomatic, ngo
Target regionsUkraine, Eastern Europe
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-05-22, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0566 across Splunk SPL, Microsoft KQL and Sigma, covering 23 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: OYSTER Chain C2 + Cobalt Strike Beacon — wscript.exe Egress and Default Named Pipe

Detects the C2 / lateral-movement tail of the OYSTER chain: (a) wscript.exe / cscript.exe initiating outbound HTTP / HTTPS (OYSTERSHUCK fetch, OYSTERBLUES triage POST, eval-tasking pull) and (b) creation of Cobalt Strike default SMB beacon named pipes (msagent_*, status_*, postex_*) post script-host execution.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1071.001, T1105, T1573.001, T1041
  • Data sources: sysmon, edr_network_events, edr_named_pipe_events
  • Severity: critical
  • Confidence: high

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" (EventCode=3 (Image="*\\wscript.exe" OR Image="*\\cscript.exe") (DestinationPort=80 OR DestinationPort=443 OR DestinationPort=8080 OR DestinationPort=8443) DestinationIp!="127.0.0.1" DestinationIp!="::1") OR (EventCode=17 (PipeName="\\msagent_*" OR PipeName="\\status_*" OR PipeName="\\postex_*" OR PipeName="\\MSSE-*")) | eval evt_kind=case(EventCode==3, "script_host_egress", EventCode==17, "cs_named_pipe") | stats count min(_time) as first_seen max(_time) as last_seen values(Image) as images values(DestinationHostname) as dest_hosts values(DestinationIp) as dest_ips values(DestinationPort) as dest_ports values(PipeName) as pipes by host evt_kind | rename host as src_host | sort - last_seen

Microsoft KQL

let script_egress =
    DeviceNetworkEvents
    | where Timestamp > ago(24h)
    | where InitiatingProcessFileName in~ ("wscript.exe", "cscript.exe")
    | where RemotePort in (80, 443, 8080, 8443)
    | where RemoteIP !in ("127.0.0.1", "::1")
    | project Timestamp, DeviceName, AccountName, EventKind="script_host_egress", InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteIP, RemoteUrl, RemotePort;
let cs_pipes =
    DeviceEvents
    | where Timestamp > ago(24h)
    | where ActionType == "NamedPipeEvent"
    | extend PipeName = tostring(parse_json(AdditionalFields).PipeName)
    | where PipeName matches regex @"^\\(msagent_|status_|postex_|MSSE-)[0-9a-fA-F]{2,}"
    | project Timestamp, DeviceName, AccountName, EventKind="cs_named_pipe", InitiatingProcessFileName, InitiatingProcessCommandLine, PipeName;
union script_egress, cs_pipes
| order by Timestamp desc

Sigma

title: OYSTER Chain C2 — wscript.exe Outbound HTTP/HTTPS and Cobalt Strike Default Named Pipe
id: c3a1f566-0566-4566-9566-003020260566
status: experimental
description: Detects the C2 / lateral-movement tail of the Ghostwriter (UAC-0057) OYSTER chain — wscript.exe / cscript.exe egressing to HTTP/HTTPS (OYSTERSHUCK fetch, OYSTERBLUES triage POST, eval()-tasking pull) and creation of Cobalt Strike default SMB beacon named pipes (msagent_*, status_*, postex_*, MSSE-*) for lateralisation.
references:
  - https://thehackernews.com/2026/05/ghostwriter-targets-ukraine-government.html
  - https://cert.gov.ua/search/UAC-0057
  - https://attack.mitre.org/techniques/T1071/001/
author: Threadlinqs Team
date: 2026/05/22
tags:
  - attack.command_and_control
  - attack.t1071.001
  - attack.t1105
  - attack.t1573.001
  - attack.lateral_movement
  - threat.uac-0057
  - threat.unc1151
  - threat.ghostwriter
  - threat.cobaltstrike
logsource:
  product: windows
  category: network_connection
detection:
  selection_net:
    Image|endswith:
      - '\wscript.exe'
      - '\cscript.exe'
    DestinationPort:
      - 80
      - 443
      - 8080
      - 8443
  selection_pipe:
    EventID: 17
    PipeName|re: '^\\(msagent_|status_|postex_|MSSE-)[0-9a-fA-F]{2,}'
  filter_loopback:
    DestinationIp:
      - '127.0.0.1'
      - '::1'
  condition: (selection_net and not filter_loopback) or selection_pipe
falsepositives:
  - Legitimate enterprise scripts that fetch updates over HTTP (rare)
  - Internal monitoring agents creating pipes with similar prefixes (exclude by signer)
level: high

Known false positives:

  • Enterprise update scripts fetching over HTTP (rare and should be signer-validated)
  • Internal monitoring agents creating pipes with msagent_-like prefixes — exclude by InitiatingProcess signer / path

Tuning notes: Exclude internal proxy / vulnerability-scanner IP ranges. Cluster repeated egresses with similar inter-packet delays and a ~30% jitter window for HIGH-confidence Beacon detection on top of this rule. Tune the pipe regex to your environment's adversary-emulation pipe names.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • OYSTERFRESH Dropper — Defender ATP Detection of Script Host .js From User Path · unlock with TL Creds
  • OYSTERBLUES Recon Burst — WMI Win32_OperatingSystem Triage From Script Host · unlock with TL Creds
  • Cobalt Strike Beacon Tail — Script Host Network Egress + Default SMB Pipe Creation · unlock with TL Creds
  • OYSTERFRESH — Sigma Rule For ZIP Extraction Of Single .js Followed By [indicator] · unlock with TL Creds
  • OYSTERBLUES — Sigma Rule For Script-Host Registry Persistence Of Large Encoded Blob · unlock with TL Creds
  • OYSTER Chain Cobalt Strike Beacon — Sigma Default Named Pipe Pattern · unlock with TL Creds
  • OYSTERFRESH Dropper — [indicator] Executes .js From User-Writable Path · unlock with TL Creds
  • OYSTERBLUES Fileless Storage — Large Base64 REG_SZ Written to HKCU by Script Host · unlock with TL Creds

Indicators of compromise

As of 2026-05-22, Threadlinqs Intelligence tracks 23 indicators of compromise for TL-2026-0566.

23 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

The chain culminates in a Cobalt Strike Beacon for hands-on intrusion, with the campaign disclosed by CERT-UA on 22 May 2026.

Overview

Ghostwriter — tracked as UAC-0057 by CERT-UA and as UNC1151 by Mandiant/Google — is a Belarus-aligned information-operations and intrusion cluster that has targeted Ukrainian, Polish, Lithuanian, German, and Belarusian opposition entities since at least 2017. The spring 2026 campaign disclosed by CERT-UA on 22 May 2026 marks a notable tradecraft shift away from the group's well-documented PicassoLoader / agentTesla / njRAT staging toward a fully JavaScript-anchored, registry-resident loader chain — OYSTERFRESH, OYSTERBLUES, OYSTERSHUCK — that ultimately deploys Cobalt Strike Beacon against Ukrainian government targets.

Initial Access

Delivery is e-mail. Operators send spear-phishing messages from previously-compromised legitimate mailboxes (likely belonging to Ukrainian government or partner organizations), which sidesteps SPF/DKIM/DMARC trust controls and dramatically increases click-through. The lure body and PDF attachment are themed around Prometheus (prometheus.org.ua), a widely used Ukrainian online education platform whose course material and certificate workflows are familiar to government staffers, NGOs and academics. The PDF itself is benign — it carries no exploit — and instead embeds a hyperlink that, when clicked, fetches a ZIP archive from attacker-controlled infrastructure.

Stage 1 — OYSTERFRESH (JavaScript Dropper / Decoy / Registry Writer)

The ZIP unpacks to a single JavaScript (.js) file that executes under wscript.exe by virtue of the default Windows file-association. OYSTERFRESH performs three tasks in sequence:

1. It writes and opens a decoy document — typically a Prometheus course / certificate PDF — to provide visual cover, masking the parent script's continued execution. 2. It carries the second-stage OYSTERBLUES payload as an obfuscated, encrypted blob embedded inside the script itself, and writes that blob to a Windows Registry value under HKCU. Storing the implant in the registry — rather than on disk — is a defense-evasion trick (T1027.011 Fileless Storage; T1112 Modify Registry) that defeats most file-AV signature scanning and survives sandboxes that snapshot only filesystem state. 3. It downloads OYSTERSHUCK from a second-tier C2 over HTTP/HTTPS and launches it. OYSTERSHUCK is responsible for reading OYSTERBLUES out of the registry, decrypting/decoding it, and executing it in memory.

Stage 2 — OYSTERSHUCK (Decoder / Launcher)

OYSTERSHUCK is a small JavaScript or wscript-runnable loader whose only job is to retrieve the registry-stored OYSTERBLUES blob, apply the matching decryption / de-obfuscation routine (string-array indirection, byte-level XOR / arithmetic transforms typical of UAC-0057 PicassoLoader-era code), and invoke the resulting code in-process — most likely via the JScript eval() primitive or via ActiveXObject('WScript.Shell').Run for any spawned native components. The two-file split (writer + decoder) means a defender capturing the initial dropper does not directly recover the payload, and a defender capturing the registry blob does not directly recover the decryption key.

Stage 3 — OYSTERBLUES (Recon / Tasking)

Once decoded and executing, OYSTERBLUES performs host triage:

- Computer name (COMPUTERNAME / hostname) - Current user (USERNAME / whoami) - OS version (Caption / Version from Win32_OperatingSystem) - Last OS boot time (LastBootUpTime from Win32_OperatingSystem) - Running process list (tasklist / Get-Process equivalent via WMI)

The collected data is serialised and shipped to a first-tier C2 by HTTP POST. The server replies with arbitrary JavaScript that OYSTERBLUES then runs through eval() — a tasking primitive that lets the operator stage additional in-memory modules (credential theft, lateral-movement scripts) without re-touching disk or the registry. This eval-driven tasking is the foothold the operator uses to push the final payload.

Stage 4 — Cobalt Strike Beacon

The terminal payload observed in this campaign is Cobalt Strike Beacon, the group's preferred hands-on-keyboard implant going back to the 2023 PicassoLoader→CobaltStrike chains and the 2023 CVE-2023-38831 WinRAR-zero-day variant. Once Beacon is resident the operator pivots to credential dumping (LSASS), Active Directory enumeration (BloodHound / AdFind), and lateral movement to mailboxes, file shares, and domain controllers consistent with prior UAC-0057 objectives: collection of policy / diplomatic / military correspondence and disinformation-supporting leak material.

Attribution

CERT-UA attributes the activity to UAC-0057 (Ghostwriter); Google-Mandiant tracks the same cluster as UNC1151. Public western reporting (Mandiant 2021, SentinelLabs 2022, HarfangLab 2024) and Polish/Lithuanian government statements link the group to the Belarusian regime, with consistent overlap to GRU-aligned information operations supporting Russian strategic objectives. Confidence is HIGH on the actor identification because the malware naming convention, lure ecosystem (Ukrainian gov-adjacent platforms), and target set match prior UAC-0057 operations down to TTPs; confidence is MEDIUM on the precise Belarusian-service operator because public western indictments have not yet named individuals.

Why It Matters

Three previously undocumented malware families in a single chain (OYSTERFRESH / OYSTERBLUES / OYSTERSHUCK) means signatures, YARA, and EDR behavioural rules are sparse to non-existent at the time of disclosure. The chain is also deliberately fileless past the initial ZIP — the only durable artefact on disk after first execution is the original .js (often deleted by the dropper) and the registry value, which most filesystem-only AV will miss. Defenders should treat wscript.exe execution from user-writable paths (Downloads, Temp, AppData) as a high-confidence detection opportunity, in line with CERT-UA's mitigation guidance to restrict wscript.exe for standard users.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System

Defense Evasion

T1027 Obfuscated Files or Information; T1036 Masquerading; T1140 Deobfuscate/Decode Files or Information; T1218 System Binary Proxy Execution

Discovery

T1033 System Owner/User Discovery; T1057 Process Discovery; T1082 System Information Discovery; T1124 System Time Discovery

Exfiltration

T1041 Exfiltration Over C2 Channel

Execution

T1047 Windows Management Instrumentation; T1059 Command and Scripting Interpreter; T1204 User Execution

Command and Control

T1071 Application Layer Protocol; T1105 Ingress Tool Transfer; T1573 Encrypted Channel

defense-impairment

T1112 Modify Registry

Persistence

T1547 Boot or Logon Autostart Execution

Initial Access

T1566 Phishing

Resource Development

T1586 Compromise Accounts; T1587 Develop Capabilities; T1588 Obtain Capabilities

Remediation

Immediate actions

  • Restrict execution of wscript.exe and cscript.exe for standard (non-administrative) user accounts via AppLocker, WDAC, or Software Restriction Policies; CERT-UA explicitly recommends this control.
  • Change the default file-handler for .js, .jse, .vbs, .vbe, .wsf, .wsh files from Windows Script Host to a benign editor (notepad.exe) so a double-click cannot launch the dropper.
  • Block inbound mail with PDF attachments whose embedded URLs link to ZIP archives at the secure-email-gateway; quarantine for analyst review.
  • Sweep HKCU\Software\ and HKCU\Software\Classes\ for large opaque (base64 / hex / binary) REG_SZ or REG_BINARY values written in the last 30 days from user-writable script execution.
  • Hunt EDR telemetry for wscript.exe / cscript.exe parent processes that subsequently spawn powershell.exe, rundll32.exe, regsvr32.exe, or perform outbound HTTP POSTs.

Workarounds

  • If wscript.exe cannot be globally restricted, at minimum set HKLM\Software\Microsoft\Windows Script Host\Settings\Enabled = 0 for the standard-user OU.
  • Configure Microsoft Defender Attack Surface Reduction rule 'Block JavaScript or VBScript from launching downloaded executable content' (GUID D3E037E1-3EB8-44C8-A917-57927947596D) in Block mode.

Longer-term hardening

  • Deploy EDR with behavioural detection covering script-host-to-LOLBin transitions and registry-resident payloads (fileless storage, T1027.011).
  • Enforce attachment-link rewriting (Safe Links / equivalent) on inbound mail and detonate followed URLs in a sandbox before delivery.
  • Egress-filter outbound HTTP/HTTPS from user workstations to allow-listed categories; block category 'unrated' / 'newly-registered domains' from script-host processes.
  • Stand up a hunt rule for Cobalt Strike Beacon network traffic (named-pipe lateralisation, default malleable profile JA3/JA3S hashes, beacon-interval analysis) and tune to your environment.
  • Mailbox compromise hunting: review sign-in logs and OAuth grants on accounts that have recently sent mail to government recipients — the campaign uses already-compromised mailboxes as the delivery vehicle.

Affected and fixed versions

  • Microsoft — Windows (all supported desktop and server SKUs)
    Vulnerable versions: Windows 10; Windows 11; Windows Server 2016; Windows Server 2019; Windows Server 2022; Windows Server 2025
  • Microsoft — Windows Script Host (wscript.exe / cscript.exe)
    Vulnerable versions: all

Timeline

  • UNC1151 / Ghostwriter activity first observed by Mandiant and FireEye, conducting information operations against NATO eastern flank states (Lithuania, Latvia, Poland).
  • Mandiant publicly assesses UNC1151 with high confidence as linked to the Belarusian government and supporting the Ghostwriter information operation.
  • UAC-0057 observed exploiting CVE-2023-38831 (WinRAR zero-day) to deliver PicassoLoader and Cobalt Strike, demonstrating capability to weaponise n-day vulnerabilities.
  • UAC-0057 campaign documented targeting a leading Ukrainian military educational institution with PicassoLoader and Cobalt Strike.
  • HarfangLab publishes 'UAC-0057 keeps applying pressure on Ukraine and Poland,' documenting expanded targeting and AgentTesla / njRAT tradecraft.
  • Prometheus-themed phishing campaign begins (spring 2026 per CERT-UA); compromised legitimate mailboxes used as initial delivery vector.
  • Threadlinqs Intelligence publishes TL-2026-0566 with full MITRE mapping, IOC set, and detection coverage for the OYSTER chain.
  • The Hacker News publishes wider-audience reporting on the campaign, summarising the JS→registry→decoder→Cobalt Strike chain.
  • CERT-UA publicly discloses the Prometheus campaign, naming OYSTERFRESH, OYSTERBLUES, and OYSTERSHUCK as previously undocumented malware families and recommending wscript.exe restriction for standard users.
  • As of 2026-05-29, this Ghostwriter (UAC-0057/UNC1151) OYSTERFRESH/OYSTERBLUES/OYSTERSHUCK-to-Cobalt-Strike campaign against Ukrainian government is ongoing, disclosed by CERT-UA ~21-22 May 2026 with no takedown reported. No-CVE actor tradecraft, sparse detection coverage, and a long-active Belarus-aligned APT keep it a live threat.

Sources cited

More from Ghostwriter

Previous and next in apt

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats