← Lab /Security & privacy

Compromised legit sites deliver multi-stage chain ending in custom RAT MIMICRAT

The ClickFix campaign uses compromised legitimate websites to deliver a five-stage attack chain that culminates in a bespoke native C++ RAT called MIMICRAT.

Security & privacy Elastic Security Labs 20 Feb 2026 Incident analysis Real-world evidence

Published as “MIMICRAT: ClickFix Campaign Delivers Custom RAT via Compromised Legitimate Websites”

Why it matters

The use of compromised legitimate sites to deliver a sophisticated, file-less RAT shows that traditional download-blocking defenses are insufficient.

Summary

Elastic Security Labs discovered a ClickFix campaign that hijacks trusted websites to serve a malicious JavaScript which copies a PowerShell command to the clipboard. The command launches a five-stage chain: obfuscated PowerShell downloader, ETW and AMSI bypass, a Lua-based in-memory loader, Meterpreter-like shellcode, and finally the custom MIMICRAT remote access trojan. The write-up provides detailed code samples and network indicators, but the evidence is limited to telemetry from a handful of observed infections.

What they found 2

  1. The campaign delivers a multi-stage malware chain ending with a custom RAT named MIMICRAT

    “Unlike simpler ClickFix deployments that terminate at commodity infostealers, this campaign ends with a capable custom remote access trojan (RAT) we have called MIMICRAT”

  2. MIMICRAT implements 22 distinct commands for post-exploitation actions

    “MIMICRAT implements a total of 22 distinct commands to provide post-exploitation capabilities like process and file system control, interactive shell access, token manipulation, shellcode injection, and SOCKS proxy tunneling”

Caveats 1

  • The shellcode stage is identified as Meterpreter-related, suggesting the loader may not be fully original

What’s new here 3

  • First public description of a ClickFix campaign delivering a native C++ RAT rather than a simple infostealer
  • Identification of a Lua 5.4.7 loader that decrypts and runs shellcode entirely in memory
  • Documentation of 22-command C2 protocol with token impersonation and SOCKS5 proxy capabilities

In the news