Warlock
- Type
- Ransomware
- Capabilities
- ExtortionDefense evasionDLL sideloadingByovd
- Delivery
- Landing page
- Platforms
- Windows
Warlock is Windows ransomware used to encrypt files in compromised enterprise networks for extortion. It is associated with Storm-2603, also tracked as Longlegs, a China-linked threat actor. Its operators have compromised critical infrastructure organizations, including a water utility.
Warlock deployments have followed exploitation of internet-facing, on-premises Microsoft SharePoint servers through the ToolShell vulnerability chain, including CVE-2025-49704, CVE-2025-49706, CVE-2025-53770, and CVE-2025-53771. Associated intrusions involve webshell deployment, credential extraction, privilege escalation, lateral movement, and redundant remote-access mechanisms before ransomware execution. Operators have used Group Policy modifications and domain replication to distribute ransomware within compromised environments. These intrusion activities rely on supporting tools and should not be treated as intrinsic capabilities of the encryptor.
Warlock-associated tooling includes an antivirus-killing DLL executed through DLL sideloading. Its operators also abuse vulnerable kernel drivers to terminate endpoint-security processes and impair defenses before encryption. Associated campaigns have used the legitimate Velociraptor digital-forensics platform for post-exploitation command execution, persistence, discovery, and payload deployment. In one investigated SharePoint intrusion, endpoint protection blocked Warlock before it could encrypt files.
Associated vulnerabilities
16 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
4 more CVEs associated with this family tracked in Mallory.
Associated threat actors
12 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
A recent campaign attributed to Violet Typhoon (APT41) is a prime example a sophisticated, state-linked actor using known SharePoint vulnerabilities to deploy a weaponized ransomware payload called Warlock.
A recent campaign attributed to Violet Typhoon (APT41) is a prime example a sophisticated, state-linked actor using known SharePoint vulnerabilities to deploy a weaponized ransomware payload called Warlock.
It also observed Storm-2603 (assessed with moderate confidence as China based) using the vulnerabilities to deploy Warlock ransomware by modifying Group Policy Objects.
A China-nexus threat actor is continuing to exploit Microsoft SharePoint Server vulnerabilities to deploy Warlock ransomware, with recent attacks striking essential-service and public-sector organizations across Portuguese- and Spanish-speaking countries.
A China-nexus threat actor is continuing to exploit Microsoft SharePoint Server vulnerabilities to deploy Warlock ransomware, with recent attacks striking essential-service and public-sector organizations across Portuguese- and Spanish-speaking countries.
The ransomware encrypted files, appending the extension .x2anylock to each encrypted file (hence Warlock’s alternative naming scheme “X2anylock”).
+6 more in the app. View in Mallory
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
"That vulnerability, an authentication bypass that can be used to reset admin passwords..."
Remote Desktop Protocol remains one of the most abused entry vectors in 2025. Groups including UAC-0238 exploited exposed RDP services to push ransomware variants such as X2anylock, Warlock, and LockBit 3.0 into compromised environments.
Longlegs typically gains initial access by exploiting multiple vulnerabilities in on-premises Microsoft SharePoint Server deployments.
Execution
2 techniques
Execution
cmd.exe /c net use... & copy... & start /B cmd /c "c:\users\public\a.exe..."
A high-severity bug in Microsoft SharePoint that’s been exploited since early July has been abused by ransomware... the CVSS 8.8 flaw — CVE-2026-45659 — was added to the agency’s KEV on July 1 and patched by Microsoft in late May.
Persistence
2 techniques
Persistence
"That vulnerability, an authentication bypass that can be used to reset admin passwords..."
Remote Desktop Protocol remains one of the most abused entry vectors in 2025. Groups including UAC-0238 exploited exposed RDP services to push ransomware variants such as X2anylock, Warlock, and LockBit 3.0 into compromised environments.
Privilege Escalation
2 techniques
Privilege Escalation
Kill chain position: Initial Access (T1190) -> Execution (через десериализацию) -> Persistence (T1505.003) -> Privilege Escalation (T1068)
"That vulnerability, an authentication bypass that can be used to reset admin passwords..."
Stealth
2 techniques
Stealth
"That vulnerability, an authentication bypass that can be used to reset admin passwords..."
This scenario will execute the IsDebuggerPresent Windows API to detect the presence of a debugger attached to the current process.
Defense Impairment
1 technique
Defense Impairment
Chargement d’un driver vulnérable (rsndispot.sys) pour tuer les solutions EDR
Credential Access
1 technique
Credential Access
Roman Sannikov, global research coordinator at iCounter, said CVE-2026-45659 is a low complexity, minimal privileges required deserialization flaw on an on-premises SharePoint Server.
Discovery
6 techniques
Discovery
This scenario executes the QueryServiceStatusEx and EnumDependentServices Windows API calls to retrieve information pertaining to a given service.
This scenario uses Windows API to receive a list of running processes by calling CreateToolhelp32Snapshot and iterating through each process object with Process32FirstW and Process32NextW.
It collects general system information via GetNativeSystemInfo, retrieves the computer name using GetComputerNameA ... volume enumeration via FindFirstVolumeW and FindNextVolumeW, and drive type identification through GetDriveTypeW.
This scenario will call the FindFirstFileW and FindNextFileW Windows API to perform the enumeration of the file system.
This scenario executes the NetShareEnum Windows native API call to enumerate network shares from the local computer.
This scenario will execute the IsDebuggerPresent Windows API to detect the presence of a debugger attached to the current process.
Lateral Movement
3 techniques
Lateral Movement
The attackers... mapped a network share hosted on an internal IP address, copied a local tool set from it, and launched it.
« SYSVOL staging pour déploiement massif du ransomware via réplication DFS ».
Staging the payload inside the domain's SYSVOL share... lets the group push the ransomware out for execution across many machines on a victim's network at once.
Command and Control
1 technique
Command and Control
This scenario downloads to memory and saves to disk in independent scenarios to test network and endpoint controls and their ability to prevent the delivery of known malicious samples.
Impact
2 techniques
Impact
Tentative de déploiement du ransomware Warlock, bloquée par le module Proactive Defense de Kaspersky Endpoint Security
The batch file employs taskkill commands to forcibly terminate Trend processes; the ransomware also terminated security, backup, database, and recovery services.
Observables
58 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
130 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.