Analytics Story: Cactus Ransomware

Description

Cactus ransomware is a sophisticated ransomware-as-a-service (RaaS) operation that emerged in March 2023, targeting large enterprises across various industries including finance, manufacturing, IT, and healthcare. The malware is known for its self-encrypting payload, double extortion tactics, and use of living-off-the-land techniques. Cactus operators employ a combination of legitimate remote access tools and malicious frameworks to maximize damage, often using custom encryption techniques and sophisticated persistence mechanisms.

Why it matters

Cactus ransomware represents a significant threat to enterprise environments due to its sophisticated attack chain and use of legitimate system tools. The attack typically begins with initial access through compromised credentials or exploited vulnerabilities. Once inside the network, Cactus operators use legitimate remote access tools like AnyDesk and Splashtop, combined with malicious frameworks like Cobalt Strike and Brute Ratel for privilege escalation and lateral movement. The ransomware employs a sophisticated set of techniques to ensure successful encryption and prevent recovery. It begins by deleting volume shadow copies using WMIC commands to prevent system recovery, followed by the use of PowerShell scripts to modify system settings and disable security tools. The malware establishes persistence through the creation of scheduled tasks and registry keys, while leveraging legitimate Windows tools (LOLBins) for execution and evasion. Before encryption, Cactus operators exfiltrate data using tools like Rclone and MegaSync to support their double extortion strategy. Several high-profile organizations have fallen victim to Cactus ransomware attacks. In January 2024, Schneider Electric experienced a significant disruption to their Sustainability Business division. The Housing Authority of the City of Los Angeles suffered a breach in November 2024 that compromised sensitive information. CIE Automotive, a prominent automotive supplier, was targeted in August 2023. Most recently, in April 2024, Cactus operators exploited vulnerabilities in Qlik Sense servers (CVE-2023-41265 and CVE-2023-41266) to gain unauthorized access to corporate networks. The ransomware uses AES-RSA hybrid encryption to lock files, appending .cts or .cactus extensions to encrypted files. After completing the encryption process, it drops a ransom note in each affected directory and attempts to delete itself using CMD commands with delayed execution. This sophisticated approach to file encryption and cleanup makes Cactus a particularly challenging threat to detect and remediate.

Detections

Name ▲▼ Technique ▲▼ Type ▲▼
Detect Remote Access Software Usage Registry Remote Access Tools Anomaly
Ransomware Notes bulk creation Data Encrypted for Impact Anomaly
Registry Keys Used For Persistence Registry Run Keys / Startup Folder TTP
Suspicious Process With Discord DNS Query Visual Basic Anomaly
Access LSASS Memory for Dump Creation LSASS Memory TTP
Executables Or Script Creation In Suspicious Path Masquerading Anomaly
Detect Renamed PSExec Service Execution Hunting
HTTP PUA User Agent Web Protocols Anomaly
Suspicious DLLHost no Command Line Arguments Process Injection TTP
Windows PUA Named Pipe SMB/Windows Admin Shares, Process Injection, Inter-Process Communication Anomaly
Detect PsExec With accepteula Flag SMB/Windows Admin Shares TTP
Detect Remote Access Software Usage File Remote Access Tools Anomaly
Detect Renamed RClone Automated Exfiltration Hunting
Windows WMI Process Call Create Windows Management Instrumentation Hunting
Delete ShadowCopy With PowerShell Inhibit System Recovery TTP
PowerShell 4104 Hunting PowerShell Hunting
Deleting Shadow Copies Inhibit System Recovery TTP
SearchProtocolHost with no Command Line with Network Process Injection TTP
Suspicious Process DNS Query Known Abuse Web Services Visual Basic TTP
Disable Defender AntiVirus Registry Disable or Modify Tools TTP
Windows WMIC Shadowcopy Delete Inhibit System Recovery Anomaly
Creation of lsass Dump with Taskmgr LSASS Memory TTP
Detect Remote Access Software Usage Process Remote Access Tools Anomaly
DLLHost with no Command Line Arguments with Network Process Injection TTP
Suspicious SearchProtocolHost no Command Line Arguments Process Injection TTP
Windows RMM Named Pipe SMB/Windows Admin Shares, Process Injection, Inter-Process Communication Anomaly
Detect RClone Command-Line Usage Automated Exfiltration TTP
Detect Remote Access Software Usage FileInfo Remote Access Tools Anomaly
Disable Windows Behavior Monitoring Disable or Modify Tools TTP
Rundll32 with no Command Line Arguments with Network Rundll32 TTP
Windows Hidden Schedule Task Settings Scheduled Task/Job TTP

Data Sources

Name ▲▼ Platform ▲▼ Sourcetype ▲▼ Source ▲▼
Sysmon EventID 13 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Sysmon EventID 11 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Sysmon EventID 22 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Sysmon EventID 10 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Windows Event Log Security 4688 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security
Sysmon EventID 1 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
CrowdStrike ProcessRollup2 Other crowdstrike:events:sensor crowdstrike
Suricata Other suricata not_applicable
Sysmon EventID 18 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Sysmon EventID 17 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Powershell Script Block Logging 4104 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
Sysmon EventID 3 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Cisco Network Visibility Module Flow Data Network icon Network cisco:nvm:flowdata not_applicable
Windows Event Log Security 4698 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security

References


Source: GitHub | Version: 2