← Lab /Security & privacy

Confluence RCE enabled LockBit ransomware deployment in just over 2 hours

Exploiting CVE-2023-22527 on an exposed Confluence server allowed attackers to deploy LockBit ransomware across the environment within about two hours.

Security & privacy The DFIR Report 24 Feb 2025 Incident analysis Real-world evidence

Published as “Confluence Exploit Leads to LockBit Ransomware”

Why it matters

The incident underscores the need to promptly patch Confluence, monitor for misuse of remote admin tools, and enforce strict credential hygiene to prevent rapid ransomware spread.

Summary

The report details a real intrusion where attackers leveraged the CVE-2023-22527 Confluence remote code execution flaw to gain initial access to a Windows server. After establishing a Metasploit foothold, they used AnyDesk, Mimikatz, and RDP to move laterally, exfiltrate data with Rclone, and finally deployed LockBit ransomware using PDQ Deploy and manual execution. The entire ransomware campaign completed in 02:06:14, demonstrating a rapid time-to-ransom. Evidence includes command logs, Sysmon events, and network alerts, but no quantitative performance comparison is provided.

What they found 3

  1. Exploitation of CVE-2023-22527 provided the initial foothold.

    “The intrusion started with the exploitation of CVE-2023-22527, a critical remote code execution vulnerability in Confluence, against a Windows server.”

  2. Time to ransomware was just over two hours.

    “The Time to Ransomware (TTR) was just over 2 hours (02:06:14), making it an extremely rapid intrusion.”

  3. PDQ Deploy was used to automate ransomware distribution across the network.

    “They leveraged PDQ Deploy, a legitimate enterprise deployment tool, to automate ransomware distribution across the rest of the network.”

Caveats 1

  • Notably, they terminated PowerShell, inadvertently killing their own Metasploit process. This forced them to rerun the exploit to drop a new Metasploit stager and reestablish command and control.

What’s new here 4

  • First detailed public timeline linking CVE-2023-22527 exploitation to a LockBit ransomware campaign.
  • Demonstrates abuse of legitimate tools (AnyDesk, PDQ Deploy) for ransomware distribution.
  • Documents an exceptionally fast 2-hour time-to-ransom after initial compromise.
  • Provides forensic artifacts such as Sigma rules, YARA signatures, and command-line evidence.