Threat reportMalwareTL-2026-0372
AgingFly Malware — UAC-0247 Targets Ukrainian Government Agencies and Hospitals with Novel Dynamic C2 RAT
CERT-UA tracks threat actor UAC-0247 deploying the novel AgingFly C# remote access trojan against Ukrainian local government agencies, hospitals, and Defense Forces representatives. The malware features dynamic runtime compilation of C2-supplied command handlers over AES-CBC encrypted WebSockets, with the infection chain leveraging humanitarian aid-themed phishing emails, LNK/HTA delivery chains, and a multi-stage loader culminating in browser credential theft, WhatsApp database decryption, keylogging, and lateral movement via open-source tunneling tools.
Key facts
| Identifiers | TL-2026-0372 |
|---|---|
| Also known as | AgingFly Campaign, UAC-0247 Campaign |
| Severity | HIGH |
| Affected products | Ukrainian Government Local Government IT Systems; Ukrainian Healthcare Hospital IT Infrastructure; Ukrainian Defense Forces Military Personnel Endpoints; Microsoft Windows; Google Chrome |
| Attribution | UAC-0247 (medium confidence) |
| Nation-state nexus | Russia |
| Malware | AgingFly, RAVENSHELL, SILENTLOOP |
| Tools | AgingFly WebSocket RAT, Chisel, ChromElevator, Ligolo-ng, RAVENSHELL TCP C2, RustScan, ZAPiDESK |
| MITRE ATT&CK techniques | T1005 Data from Local System, T1021 Remote Services, T1027 Obfuscated Files or Information, T1041 Exfiltration Over C2 Channel, T1046 Network Service Discovery, T1053 Scheduled Task/Job, T1055 Process Injection, T1056 Input Capture, T1059 Command and Scripting Interpreter, T1071 Application Layer Protocol, T1082 System Information Discovery, T1102 Web Service and 15 more in the attack flow |
| Motivation | ESPIONAGE |
| Target sectors | government, healthcare, military, defense, public-sector |
| Target regions | Ukraine, Eastern Europe |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-04-15, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0372 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: AgingFly C2 Communication and Tunneling Tool Execution — C2/Lateral Movement Phase
Detects network indicators associated with AgingFly C2 operations: outbound WebSocket connections on non-standard ports, Telegram API communication from non-browser processes (SILENTLOOP C2 config retrieval), and execution of tunneling proxies (Ligolo-ng, Chisel) used by UAC-0247 for lateral movement through compromised networks.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1071.001, T1573.001, T1572, T1102.002
- Data sources: sysmon, windows_security, edr_process_events, edr_network_events, firewall_logs
- Severity: critical
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" ((EventCode=3 DestinationPort!=443 DestinationPort!=80 Image="*\\powershell.exe" OR Image="*\\w3wp.exe") OR (EventCode=3 DestinationHostname="*api.telegram.org*" NOT Image="*\\chrome.exe" NOT Image="*\\firefox.exe" NOT Image="*\\msedge.exe" NOT Image="*\\Telegram.exe") OR (EventCode=1 (Image="*\\chisel.exe" OR Image="*\\agent.exe" OR CommandLine="*ligolo*" OR CommandLine="*chisel*client*" OR CommandLine="*-connect*" OR CommandLine="*R:socks*"))) | eval detection_category=case(match(DestinationHostname, "telegram\.org"), "telegram_c2", match(CommandLine, "chisel|ligolo|R:socks|-connect"), "tunneling_tool", 1=1, "websocket_c2") | stats count min(_time) as first_seen max(_time) as last_seen values(Image) as processes values(DestinationIp) as dest_ips values(DestinationPort) as dest_ports values(DestinationHostname) as dest_hosts by Computer, detection_category | table Computer, detection_category, processes, dest_ips, dest_ports, dest_hosts, first_seen, last_seen, countMicrosoft KQL
let websocket_c2 = DeviceNetworkEvents | where Timestamp > ago(24h) | where InitiatingProcessFileName in~ ("powershell.exe", "w3wp.exe") and RemotePort !in (80, 443) and RemotePort > 1024 | extend Category = "websocket_c2"; let telegram_c2 = DeviceNetworkEvents | where Timestamp > ago(24h) | where RemoteUrl has "api.telegram.org" | where InitiatingProcessFileName !in~ ("chrome.exe", "firefox.exe", "msedge.exe", "Telegram.exe") | extend Category = "telegram_c2"; let tunneling = DeviceProcessEvents | where Timestamp > ago(24h) | where FileName in~ ("chisel.exe", "agent.exe") or ProcessCommandLine has_any ("ligolo", "chisel client", "-connect", "R:socks") | extend Category = "tunneling_tool"; union websocket_c2, telegram_c2, tunneling | project Timestamp, DeviceName, AccountName, Category, FileName, InitiatingProcessFileName, ProcessCommandLine, RemoteUrl, RemoteIP, RemotePort | sort by Timestamp descSigma
title: AgingFly C2 Communication and Tunneling Tool Execution
id: c5a3b0d4-9e6f-4a1c-b7d8-3f4e5c6a7b8e
status: experimental
description: Detects AgingFly WebSocket C2, SILENTLOOP Telegram C2 config retrieval, and Ligolo-ng/Chisel tunneling tool execution used by UAC-0247 for lateral movement
references:
- https://cert.gov.ua/article/6288271
- https://www.bleepingcomputer.com/news/security/new-agingfly-malware-used-in-attacks-on-ukraine-govt-hospitals/
author: Threadlinqs Team
date: 2026-04-15
tags:
- attack.command_and_control
- attack.t1071.001
- attack.t1573.001
- attack.t1572
- attack.t1102.002
- attack.lateral_movement
logsource:
product: windows
category: process_creation
detection:
selection_tunneling_exe:
Image|endswith:
- '\chisel.exe'
- '\agent.exe'
selection_tunneling_cmdline:
CommandLine|contains:
- 'ligolo'
- 'chisel client'
- 'R:socks'
- '-connect'
condition: selection_tunneling_exe or selection_tunneling_cmdline
falsepositives:
- Legitimate use of Chisel or Ligolo-ng by authorized penetration testers
- Network engineers using tunneling tools for approved remote access
level: highKnown false positives:
- Authorized penetration testers using Chisel or Ligolo-ng during engagements
- Network engineers using tunneling tools for approved remote access scenarios
- Legitimate Telegram desktop application communications
Tuning notes: Whitelist authorized pentesting team IP ranges and accounts. Exclude Telegram Desktop application by hash. Add your organization's approved tunneling tools to the exclusion list. For WebSocket detection, focus on non-standard ports (8443, 8080) commonly used by AgingFly C2.
- AgingFly LNK-to-HTA Execution Chain with Scheduled Task Persistence — Exploitation Phase · unlock with TL Creds
- AgingFly Process Hollowing and ChromElevator Browser Credential Theft — Post-Exploitation Phase · unlock with TL Creds
- AgingFly RAVENSHELL Reverse Shell and Network Reconnaissance — C2/Lateral Movement Phase · unlock with TL Creds
- AgingFly Phishing Delivery Chain — Malicious LNK Spawning [indicator] — Exploitation Phase · unlock with TL Creds
- AgingFly Scheduled Task Persistence and SILENTLOOP PowerShell Execution — Post-Exploitation Phase · unlock with TL Creds
- AgingFly WebSocket C2 Beacon and Tunneling Proxy Lateral Movement — C2/Lateral Movement Phase · unlock with TL Creds
- AgingFly HTA Delivery via [indicator] with Network Retrieval — Exploitation Phase · unlock with TL Creds
- AgingFly Dynamic C# Compilation via [indicator] from Non-Development Process — Post-Exploitation Phase · unlock with TL Creds
Indicators of compromise
As of 2026-04-15, Threadlinqs Intelligence tracks 23 indicators of compromise for TL-2026-0372.
Technical analysis
In April 2026, CERT-UA published advisory #6288271 detailing a sustained cyber-espionage campaign by threat actor UAC-0247 targeting Ukrainian local government agencies, hospitals, and Defense Forces representatives. The campaign, active since at least March 2026 with over a dozen investigated incidents, employs a novel malware family designated AgingFly — a C# remote access trojan with a distinctive architecture that retrieves command handlers as source code from the C2 server and compiles them dynamically at runtime.
The infection chain begins with spearphishing emails crafted around humanitarian aid themes. Embedded links direct victims to either compromised legitimate websites (exploited via cross-site scripting vulnerabilities) or AI-generated fake humanitarian aid sites. The landing page serves an archive containing a malicious LNK shortcut file. When executed, the LNK triggers an HTA (HTML Application) handler that retrieves and executes an HTA file from a remote resource. The HTA displays a decoy humanitarian aid form to the victim while silently creating a scheduled task for persistence.
The loader chain proceeds through multiple stages: a first-stage executable downloads and injects shellcode into a legitimate system process via process hollowing. The second stage employs a custom executable format with a compressed and encrypted final payload. A TCP reverse shell component designated RAVENSHELL — using XOR cipher encryption — establishes initial communication with a management server. The SILENTLOOP component, implemented as a PowerShell script, provides additional command execution capability and retrieves C2 configuration data via Telegram channels or fallback mechanisms.
AgingFly itself represents a significant evolution in RAT architecture. Unlike conventional trojans that ship with a fixed set of command handlers, AgingFly contains no built-in command handling logic. Instead, it establishes a WebSocket connection to its C2 server encrypted with AES-CBC using static keys, then receives C# source code for command handlers on demand. These handlers are compiled at runtime using the .NET CodeDomProvider/CSharpCodeProvider API, loaded into the running process, and executed. This design gives operators maximum flexibility to deploy new capabilities without updating the implant binary, while also complicating static analysis since the malware binary alone reveals no specific capabilities.
Post-exploitation activity observed in UAC-0247 operations leverages a toolkit of open-source offensive tools. ChromElevator is deployed for browser credential theft — it uses syscall-based process hollowing to inject into Chromium-based browser processes (Chrome, Edge, Brave), bypassing Application-Bound Encryption protections to extract saved passwords, cookies, and encryption keys from the Login Data and Cookies SQLite databases. ZAPiDESK, an open-source forensic utility, is repurposed for decrypting WhatsApp Windows desktop databases, enabling access to victims messaging data. Network reconnaissance is conducted with RustScan, a fast Rust-based port scanner, while lateral movement through compromised networks is facilitated by Ligolo-ng and Chisel tunneling proxies that establish reverse tunnels through network boundaries.
The targeting of Ukrainian healthcare infrastructure alongside government and military entities reflects an escalation in the Russia-Ukraine cyber conflict, with civilian critical infrastructure directly in scope. The dynamic compilation technique employed by AgingFly represents an evolution that challenges traditional signature-based detection, requiring defenders to focus on behavioral indicators such as runtime compilation events, WebSocket C2 patterns, and the characteristic tool deployment chain.
MITRE ATT&CK techniques by tactic:
Collection
T1005 Data from Local System; T1113 Screen Capture
Lateral Movement
Defense Evasion
T1027 Obfuscated Files or Information; T1140 Deobfuscate/Decode Files or Information; T1218 System Binary Proxy Execution
Exfiltration
T1041 Exfiltration Over C2 Channel
Discovery
T1046 Network Service Discovery; T1082 System Information Discovery
Persistence
Privilege Escalation
Credential Access
T1056 Input Capture; T1539 Steal Web Session Cookie; T1555 Credentials from Password Stores
Execution
T1059 Command and Scripting Interpreter; T1106 Native API; T1204 User Execution
Command and Control
T1071 Application Layer Protocol; T1102 Web Service; T1572 Protocol Tunneling; T1573 Encrypted Channel
Impact
Initial Access
Resource Development
T1584 Compromise Infrastructure; T1587 Develop Capabilities; T1608 Stage Capabilities
Reconnaissance
Remediation
Immediate actions
- Block execution of LNK, HTA, and JS files from email attachments and downloads at the email gateway and endpoint
- Deploy detection rules for mshta.exe spawning network connections or child processes
- Monitor for csc.exe (C# compiler) invocations from non-development processes indicating runtime compilation
- Block WebSocket connections to unknown external endpoints at the network perimeter
- Hunt for scheduled tasks created by mshta.exe or HTA handlers across the environment
- Block known Ligolo-ng, Chisel, and RustScan binaries via application control policies
Workarounds
- Disable Windows Script Host and HTA execution via Group Policy where not required
- Restrict PowerShell execution policy to AllSigned on sensitive systems
- Block outbound Telegram API traffic (api.telegram.org) from endpoint subnets
- Disable scheduled task creation for standard user accounts where feasible
Longer-term hardening
- Deploy EDR with behavioral detection capabilities for process hollowing and runtime code compilation
- Implement application whitelisting to prevent execution of unauthorized binaries including open-source offensive tools
- Enable PowerShell Constrained Language Mode and Script Block Logging to detect SILENTLOOP activity
- Segment hospital and government networks to limit lateral movement via tunneling tools
- Implement phishing-resistant MFA for all privileged accounts
- Deploy network monitoring for encrypted WebSocket tunnels and Telegram API communications from endpoints
- Conduct user awareness training focused on humanitarian aid-themed social engineering lures
Affected and fixed versions
- Ukrainian Government — Local Government IT Systems
Vulnerable versions: All - Ukrainian Healthcare — Hospital IT Infrastructure
Vulnerable versions: All - Ukrainian Defense Forces — Military Personnel Endpoints
Vulnerable versions: All - Microsoft — Windows
Vulnerable versions: 10; 11; Server 2019; Server 2022 - Google — Chrome
Vulnerable versions: All Chromium-based browsers targeted by ChromElevator
Timeline
- Earliest observed UAC-0247 activity targeting Ukrainian local government agencies and hospitals with AgingFly malware, based on CERT-UA incident investigations
- Campaign expands to target Ukrainian Defense Forces representatives alongside government and healthcare targets; over a dozen incidents under investigation by CERT-UA
- Post-exploitation tools including ChromElevator, ZAPiDESK, RustScan, Ligolo-ng, and Chisel observed in UAC-0247 operations for credential theft, reconnaissance, and lateral movement
- CERT-UA completes technical analysis of AgingFly malware revealing dynamic runtime compilation architecture, AES-CBC encrypted WebSocket C2, and multi-stage loader chain
- BleepingComputer publishes article detailing AgingFly capabilities, infection chain, and post-exploitation tooling used by UAC-0247 against Ukrainian targets
- CERT-UA publishes advisory #6288271 with full technical details on UAC-0247 campaign and AgingFly malware family; BleepingComputer provides public reporting
- As of 2026-05-29, UAC-0247's AgingFly C# RAT campaign against Ukrainian government, hospitals, and defense/FPV-drone operators remains a live espionage threat with no takedown, arrests, or sinkhole reported. CERT-UA (April advisory) and multiple outlets describe an expanding, undisrupted Russia-suspected operation; no CVEs to patch and dynamic runtime-compiled C2 keeps it evasive.
Sources cited
- CERT-UA Advisory #6288271 — UAC-0247 Campaign Analysis CERT-UA · Advisory · 2026-04-15
- CERT-UA — Computer Emergency Response Team of Ukraine CERT-UA · Advisory · 2026-04-15
- ChromElevator — Syscall-Based Process Hollowing Against Chromium ABE undercodetesting.com · Research · 2026-03-01
- MITRE ATT&CK — Process Injection: Process Hollowing T1055.012 MITRE · Research
- MITRE ATT&CK — System Binary Proxy Execution: Mshta T1218.005 MITRE · Research
- Ligolo-ng — Advanced Tunneling/Pivoting Tool (GitHub) GitHub · Code repository
- BleepingComputer — New AgingFly malware used in attacks on Ukraine govt, hospitals BleepingComputer · News · 2026-04-15
More from UAC-0247
Previous and next in malware
AI-drafted from 7 cited sources; published ; last updated —.