MERLIN
HTTP/2
UAC-0154
JA3
ToolsC2APTOctober 11, 2026•9 min read

Merlin: The HTTP/2 C2 That Russian Operators Turned on Ukraine

One of the first C2 frameworks to speak HTTP/2, now HTTP/3 over QUIC, with a built-in trick for faking its own TLS fingerprint. CERT-UA caught it being used against Ukrainian government agencies.

Scroll

Merlin is an open-source, cross-platform post-exploitation command-and-control framework written in Go, notable as one of the first C2s to use HTTP/2 for agent communications and later adding HTTP/3. Its legitimate purpose is adversary emulation and red-team operations. Unlike many dual-use tools it has confirmed real-world abuse: CERT-UA attributed an August 2023 campaign against Ukrainian state agencies — actor UAC-0154 — to deployment of the Merlin agent. Its Go codebase yields a single static cross-platform binary, and its protocol flexibility plus TLS-fingerprint evasion make it a meaningful detection challenge.

Overview

Merlin was introduced in December 2017 by Russel Van Tuyl (“Ne0nd0g”), associated with SpecterOps, and its current major line is version two. The server and agent are written in Go and distributed through the Go package ecosystem and a Docker image.

Capabilities

Real-World Abuse: UAC-0154

CERT-UA, August 2023

CERT-UA described a mass phishing campaign against Ukrainian state bodies, attributed to UAC-0154, delivering the Merlin agent. The chain spoofed CERT-UA as sender and carried a CHM (compiled HTML Help) attachment; opening it ran embedded JavaScript that launched PowerShell to download, decrypt and decompress an executable that installed the Merlin agent. A September 2023 variant used a drone-manual lure. T1218.001 T1566.001

MITRE ATT&CK Mapping

Note

Analyst-mapped; Merlin has no official ATT&CK Software entry.

TacticTechniqueUsage
Command and ControlT1071.001 Web ProtocolsHTTP/2, h2c, HTTP/3
Command and ControlT1573.001 Symmetric CryptographyJWE, AES/RC4/XOR transforms
Defense EvasionT1001 Data ObfuscationJA3 spoofing, message padding
Command and ControlT1090.004 Domain FrontingSupported
Initial AccessT1566.001 Spearphishing AttachmentUAC-0154 CHM lure
ExecutionT1218.001 Compiled HTML FileCHM delivery

Detection & Mitigation

Detect Advanced C2 Channels

Mjolnir Security helps organisations detect modern C2 frameworks and protocol-level evasion.

Managed Detection & ResponseThreat HuntingNetwork DetectionIncident ResponsePurple Teaming
  • Managed Detection and Response Monitoring for HTTP/2, HTTP/3 and QUIC C2 anomalies and beacon analytics.
  • Purple Teaming Validating detections against Merlin and other modern C2 frameworks.
  • 24/7 Incident Response Containment when advanced C2 is detected. Call +1 833 403 5875.
Written by: Mjolnir Security  |  Published: October 11, 2026