← Lab /Security & privacy

ActiveMQ RCE exploit enabled multi-stage intrusion culminating in LockBit ransomware deployment

Exploiting CVE-2023-46604 on an internet-facing ActiveMQ server allowed the attacker to regain access after eviction and deploy LockBit ransomware using stolen credentials.

Security & privacy The DFIR Report 23 Feb 2026 Incident analysis Real-world evidence

Published as “Apache ActiveMQ Exploit Leads to LockBit Ransomware”

Why it matters

Organizations should promptly patch ActiveMQ, monitor for Metasploit/CertUtil activity, and enforce strict RDP controls to prevent similar ransomware intrusions.

Summary

The researchers observed a threat actor exploiting CVE-2023-46604 on an exposed Apache ActiveMQ server, delivering a Metasploit stager via CertUtil. The attacker escalated to SYSTEM, dumped LSASS credentials, and moved laterally using remote services and RDP. After being evicted, they returned 18 days later via the same vulnerability, reused stolen credentials, and deployed LockBit ransomware, achieving a 419-hour time to ransomware. Evidence comes from Sysmon logs, network traffic, YARA matches, and defender alerts, but some early logs are missing.

What they found 3

  1. Attacker achieved SYSTEM privileges via Meterpreter getsystem command.

    “We can see in the logs that this command provided access to System-level privileges on the host.”

  2. Time to ransomware (TTR) was 419 hours (~19 days) from initial access.

    “The Time to Ransomware (TTR) for this intrusion was 419 hours - approximately 19 calendar days from initial access to ransomware deployment.”

  3. Ransom note deviated from standard LockBit format, indicating use of leaked builder.

    “The ransom note did not follow the normal LockBit format directing victims to a Tor leak site or TOX/Jabber communications; instead, it instructed them to download and use the Session private messaging application.”

Caveats 2

  • Unfortunately, some network logs from the exploitation activity during the first compromise are missing.
  • On some hosts, Microsoft Defender antivirus was active. On these systems, Defender detected and blocked execution of the service creation and Powershell execution in several instances.

What’s new here 4

  • First public documentation of CVE-2023-46604 being used in the wild.
  • Shows attacker re-exploiting the same ActiveMQ server after eviction 18 days later.
  • Links LSASS credential dumping to RDP-based LockBit deployment using a leaked builder.
  • Provides detailed detection signatures (YARA, Sigma) and timeline of attacker actions.

In the news