400+
on-premises SharePoint servers compromised in the most recent Warlock activity wave, spanning water utilities, telecom providers, regional governments, and universities
40
enterprise hosts had all AV and EDR protections disabled within 2 hours of initial SharePoint breach via BYOVD using K7RKScan.sys
33
hosts received the Warlock ransomware binary deployed from the domain's SYSVOL share after AV and EDR were silenced across the environment
4
critical infrastructure sectors confirmed targeted in the current campaign: water utilities, telecom providers, regional governments, and universities

Reach 50,000+ security professionals

Sponsor a newsletter slot and put your brand in front of CISOs, engineers, and IT decision-makers.

Summarize with:

Warlock ransomware has compromised more than 400 on-premises SharePoint servers and deployed ransomware across 33 confirmed hosts in a campaign that has hit a water utility, a telecommunications provider, a regional government body, and a university. The China-linked group, also tracked as Longlegs, Storm-2603, and Gold Salem, chains Microsoft SharePoint vulnerabilities to drop webshells, abuse VS Code tunnels for command-and-control, and use a kernel-level driver to kill AV and EDR software before delivering ransomware via SYSVOL shares across the compromised domain.

Warlock's exploitation chain starts with known SharePoint Server flaws including CVE-2026-32201, CVE-2026-45659, CVE-2026-56164, CVE-2026-58644, CVE-2026-50522, CVE-2026-55040, and older ToolShell CVEs from 2025. Attackers steal ASP.NET machine keys from the SharePoint configuration to forge a signed __VIEWSTATE payload, execute code inside the SharePoint application pool, and drop ASPX webshells into the LAYOUTS directory without requiring file upload permissions. The entire initial access phase requires no valid credentials beyond network reachability to the SharePoint management interface.

What makes this campaign operationally dangerous is the speed of the kill chain. Warlock operators disabled security software on 40 endpoints within two hours of gaining SharePoint access, using the K7RKScan.sys driver in a bring-your-own-vulnerable-driver attack. Once endpoint protection is gone, the ransomware binary deploys from SYSVOL, ensuring distribution across every domain-joined host that copies scripts from the share. Organizations running on-premises SharePoint Server without current patches face an active threat with a short detection window.

The campaign has a clear geographic focus on Portuguese and Spanish-speaking countries in Europe, Africa, and Latin America, but the tooling is not geographically limited. Any unpatched on-premises SharePoint deployment is an actionable target for Warlock today.

How Warlock Breaches SharePoint Servers

Warlock's initial access relies on a chain of vulnerabilities in on-premises Microsoft SharePoint Server. The group's earliest documented exploitation used the ToolShell chain (CVE-2025-49704, CVE-2025-49706, CVE-2025-53770, CVE-2025-53771) and has since incorporated newer 2026 CVEs including CVE-2026-32201, CVE-2026-45659, CVE-2026-56164, CVE-2026-58644, CVE-2026-50522, and CVE-2026-55040.

The exploitation technique leverages ASP.NET machine key theft. SharePoint stores machine keys in its configuration, and an attacker who reads or guesses these keys can forge a signed __VIEWSTATE parameter that the ASP.NET runtime will process as a trusted, authenticated request. This __VIEWSTATE forgery allows the attacker to trigger deserialization of attacker-controlled objects within the SharePoint application pool, achieving remote code execution without any valid user credentials.

Once code execution is achieved inside the application pool, attackers use PowerShell to write ASPX webshells directly to the SharePoint LAYOUTS directory. The webshell names observed in current campaigns include layout2sp.aspx, spinstall.aspx, spinstall0.aspx, spinstall1.aspx, and spinstall2.aspx. The LAYOUTS directory is web-accessible by default, making any ASPX file placed there immediately callable over HTTP by the attacker.

From the webshell, Warlock operators execute discovery commands (net user /domain, whoami, nltest /domain_trusts, nxc.exe) to map the Active Directory environment before beginning lateral movement. The average time from initial SharePoint compromise to full domain-level situational awareness is under 30 minutes in documented incidents. Organizations running unpatched SharePoint Server must apply all current security updates immediately, using the Microsoft Security Update Guide at the patchUrl referenced below as the primary source for affected versions and available patches.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

BYOVD: How 40 Endpoints Lost Security Coverage in 2 Hours

After establishing a foothold via SharePoint webshells, Warlock moves from the application server to the broader domain environment. The most operationally significant technique in the current campaign is the use of a bring-your-own-vulnerable-driver (BYOVD) attack to eliminate endpoint security before ransomware deployment.

Warlock drops K7RKScan.sys, a legitimate driver from Indian security vendor K7 Computing, onto compromised hosts. K7RKScan.sys is a signed, kernel-mode driver that carries CVE-2025-1055, a vulnerability that allows a local process to issue privileged kernel commands through the driver's IOCTL interface. Windows allows the driver to load because it carries a valid signature from K7 Computing. Once loaded, Warlock exploits the driver to terminate AV and EDR processes at the kernel level, bypassing any self-protection mechanisms the security software has implemented.

In the most recent confirmed incidents, Warlock disabled security software on 40 endpoints within approximately two hours of initial SharePoint compromise. On at least 33 of those hosts, the Warlock ransomware binary was deployed and executed within the same operational window.

The ransomware binary is staged through a distinctive delivery mechanism: Warlock copies run.exe and rune.exe to the domain SYSVOL share alongside a ransom note named "how to restore your files.txt." SYSVOL content is automatically replicated across all domain controllers and can be executed via Group Policy or domain scripts on every domain-joined machine. This delivery approach enables rapid, domain-wide ransomware deployment without requiring direct lateral movement to each target host.

The Velociraptor incident response framework is also used by Warlock as a legitimate-appearing C2 channel, alongside VS Code tunnels. Both abuse trusted, signed binaries to blend into expected enterprise traffic patterns.

Free daily briefing

Briefings like this, every morning before 9am.

Threat intel, active CVEs, and campaign alerts, distilled for practitioners. 50,000+ subscribers. No noise.

VS Code Tunnels and Living-Off-the-Land C2

Warlock's command-and-control infrastructure relies on legitimate tools rather than dedicated attacker domains, making detection harder for security controls that whitelist trusted software. The primary C2 channel in current campaigns is Microsoft Visual Studio Code's built-in tunnel feature.

VS Code Insiders includes a tunnel function that establishes a persistent, outbound connection from the target host to Microsoft's vscode.dev relay infrastructure. The binary is signed by Microsoft, and the tunnel traffic passes through Microsoft's own servers, which most organizations' security controls treat as trusted outbound destinations. Blocking VS Code tunnel traffic requires identifying and blocking the VS Code Insiders binary specifically on servers and infrastructure systems where developer tooling has no legitimate business justification.

The Velociraptor endpoint visibility and response framework appears in some Warlock intrusions as a secondary C2 option. Velociraptor is an open-source forensic platform that security teams use legitimately for incident response, which creates another blending-in opportunity for the attacker. An unexpected Velociraptor installation on a SharePoint server or domain controller is a high-confidence indicator of attacker activity.

DLL sideloading is also documented in Warlock intrusions, allowing additional payloads to execute in the context of trusted signed processes. The combination of signed-binary C2, BYOVD-based security evasion, and SYSVOL-based ransomware delivery represents a mature operational playbook designed specifically to defeat detection-oriented defenses.

Defenders should review proxy and DNS logs for VS Code tunnel connections (vscode.dev, tunnel.vscode.dev) originating from servers, treat any Velociraptor installation not deployed by their own IR team as suspicious, and implement application control policies that block VS Code Insiders on non-developer systems. The NetScaler backdoor persistence analysis published earlier this week highlights how attackers use similar living-off-the-land techniques to maintain access on perimeter appliances after patching.

Warlock Indicators of Compromise

The following indicators are confirmed or attributed to the Warlock campaign based on reporting from Symantec, Microsoft, and SecurityWeek. Block network-layer indicators at the firewall and DNS level immediately. Hunt for file-system and process indicators on SharePoint servers, adjacent Windows servers, and domain controllers.

The file hash below corresponds to a Warlock-associated binary identified in the most recent campaign reporting. Block it by hash in your EDR policy and submit it to your threat intelligence platform for enrichment.

Subscribe to unlock Indicators of Compromise

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Sigma Detection Rules for the Warlock SharePoint Campaign

These rules detect the two highest-confidence Warlock behaviors: ASPX webshell creation in SharePoint LAYOUTS directories and BYOVD driver load via K7RKScan.sys. Both carry experimental status; validate against your Sysmon and file auditing configurations before enabling automatic blocking. The rules target Sysmon file creation events (EventID 11) and driver load events (EventID 6).

Subscribe to unlock Sigma Detection Rules

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Subscribe to unlock Sigma Hunt Queries

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Subscribe to unlock WAF Detection Rules

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

How to Detect, Contain, and Recover from the Warlock Campaign

These steps address the specific Warlock attack chain. Complete them in order; do not skip the detection phase before attempting containment. All discovery commands assume Windows Server environments with Active Directory and Sysmon deployed.

Subscribe to unlock Remediation & Mitigation steps

Free subscribers unlock full IOC lists, Sigma detection rules, remediation steps, and every daily briefing.

Why Warlock's Campaign Matters for Your Organization

Warlock represents a convergence of two trends that make it particularly dangerous for defenders: the continued exploitation of on-premises collaboration platforms as an initial access vector, and the weaponization of legitimate enterprise tooling to blend into normal network activity.

The campaign's targeting of water utilities and telecommunications providers places it directly in the category of attacks on critical infrastructure with cascading public impact. A ransomware deployment on a water utility's control systems or a telecommunications provider's management infrastructure creates consequences that extend far beyond the victim organization. Regulators including CISA have consistently identified these sectors as priority protection targets for exactly this reason.

The BYOVD technique via K7RKScan.sys illustrates the arms race between detection-oriented endpoint security and attackers who have internalized that signed kernel drivers are a reliable bypass. Every EDR product that relies on self-protection against process termination is potentially vulnerable to a well-chosen vulnerable driver. This attack class is not new, but its appearance in an active ransomware campaign targeting critical infrastructure confirms it has crossed from research curiosity to standard operator playbook.

Organizations running on-premises SharePoint Server need to act on three fronts simultaneously: patch SharePoint to close the initial access vector, implement the detection rules in this post to find any prior Warlock activity, and review application control policies to restrict signed-but-abusable binaries like VS Code Insiders on infrastructure systems. For broader context on how attackers persist through patching cycles on network infrastructure, see the NetScaler backdoor persistence analysis from earlier this week.

The speed of Warlock's kill chain -- from SharePoint compromise to domain-wide ransomware in hours -- leaves little margin for detection and response after initial access. Patching and pre-deployment detection are the only realistic control points.

The bottom line

Warlock ransomware has hit water utilities, telecom providers, regional governments, and universities by chaining SharePoint vulnerabilities to webshell deployment, BYOVD security evasion via K7RKScan.sys, and SYSVOL-based ransomware distribution. The campaign disables endpoint security on 40 hosts within two hours and deploys ransomware on 33 within the same operational window. Patch all SharePoint CVEs listed in this post before your next change window. Run the LAYOUTS directory audit and SYSVOL search today -- not during the next scheduled review.

This analysis is generic. create a free account to score threats like this against your own stack.

Frequently asked questions

What is Warlock ransomware?

Warlock is a China-linked ransomware and cyber-espionage group first observed in mid-2025. It is tracked under multiple aliases including Longlegs, Storm-2603, Gold Salem, CamoFei, and ChamelGang. Warlock gained prominence after weaponizing the ToolShell SharePoint zero-day chain and has since expanded to newer SharePoint vulnerabilities. The group targets critical infrastructure globally, with a documented focus on Portuguese and Spanish-speaking countries across Europe, Africa, and Latin America. Warlock combines ransomware deployment with data theft and espionage objectives.

How does Warlock exploit SharePoint?

Warlock gains initial access by exploiting on-premises SharePoint Server vulnerabilities, including a chain of flaws collectively called ToolShell (CVE-2025-49704, CVE-2025-49706) plus newer CVEs from 2026. After exploitation, attackers steal ASP.NET machine keys from the SharePoint configuration to forge a signed __VIEWSTATE payload, enabling remote code execution inside the SharePoint application pool. This lets them drop ASPX webshells into the LAYOUTS directory without requiring file upload permissions. Once the webshell is in place, they execute PowerShell commands to deploy additional tooling and move laterally.

Which sectors does Warlock target?

Confirmed victims in the current campaign include a water utility, a telecommunications provider, a regional government body, and a university. Over 400 SharePoint servers across these sectors have been compromised. Warlock's geographic focus targets Portuguese and Spanish-speaking organizations in Europe, Africa, and Latin America, though the group's tooling is not geographically restricted and any organization running on-premises SharePoint Server should treat this campaign as directly relevant to their risk posture.

What is the BYOVD technique Warlock uses to disable security software?

BYOVD stands for bring-your-own-vulnerable-driver. Warlock drops K7RKScan.sys, a legitimate but vulnerable driver from K7 Computing (CVE-2025-1055), onto compromised hosts. Because the driver is signed by a legitimate vendor, Windows allows it to load at the kernel level. Warlock then exploits the driver's vulnerability to issue kernel-level commands that terminate AV and EDR processes before they can detect or block the ransomware binary. In documented incidents, all security software on 40 endpoints was killed within two hours of initial SharePoint compromise.

What are the indicators of compromise for Warlock?

Key IOCs include ASPX webshell files in SharePoint LAYOUTS directories named layout2sp.aspx, spinstall.aspx, spinstall0.aspx, spinstall1.aspx, or spinstall2.aspx. Network indicators include outbound connections to litter.catbox.moe and xn8xyt-drop.s3.wasabisys.com. Post-exploitation artifacts include run.exe and rune.exe in SYSVOL shares, K7RKScan.sys outside K7 AV installation paths, and VS Code Insiders binary establishing outbound tunnel sessions to vscode.dev infrastructure.

Is Warlock related to Longlegs or Storm-2603?

Yes. Warlock is the same threat cluster tracked under several industry aliases: Longlegs and Storm-2603 by Microsoft, Gold Salem by CrowdStrike, and overlapping with older activity clusters CL-CRI-1040, CamoFei, and ChamelGang. All refer to a China-assessed intrusion set that combines espionage and ransomware objectives. Attribution is based on shared tooling, infrastructure overlaps, and TTP similarities documented across multiple vendor intelligence reports through 2025 and 2026.

How do I check if my SharePoint server was compromised by Warlock?

Run four checks: (1) Inspect the SharePoint LAYOUTS directory for any unexpected ASPX files, especially those named layout2sp.aspx or spinstall*.aspx. (2) Check your domain SYSVOL shares for run.exe, rune.exe, or a file named 'how to restore your files.txt.' (3) Look for K7RKScan.sys in your driver inventory on SharePoint-adjacent servers -- its presence outside a K7 AV installation is a high-confidence compromise indicator. (4) Review DNS and proxy logs for outbound connections to litter.catbox.moe or xn8xyt-drop.s3.wasabisys.com.

How do VS Code tunnels fit into the Warlock attack chain?

Warlock uses the VS Code Insiders binary's built-in tunnel feature as a command-and-control channel. The binary is signed by Microsoft, and tunnel traffic relays through Microsoft's own vscode.dev infrastructure, which many security tools treat as trusted. This makes the C2 channel far harder to detect than traffic to a dedicated attacker-controlled domain. Defenders should flag VS Code Insiders tunnel connections originating from SharePoint servers, domain controllers, or other infrastructure systems where developer tooling has no business purpose.

Sources & references

  1. The Hacker News: Warlock Exploits SharePoint Flaws to Disable Security Tools and Deploy Ransomware
  2. Symantec Threat Intelligence: Warlock Ransomware Attackers Hit Water and Telecom Operators
  3. SecurityWeek: Warlock Expands SharePoint Exploitation in Critical Infrastructure Attacks
  4. The Record: Warlock Ransomware Used in Attacks on Critical Infrastructure in Portuguese and Spanish-Speaking Countries
  5. Microsoft Security Response Center: CVE-2026-32201
  6. Industrial Cyber: Symantec Reports Warlock Ransomware Group Targets Water, Telecom, Government Organizations
Summarize with:

Free resources

25
Free download

Critical CVE Reference Card 2025–2026

25 actively exploited vulnerabilities with CVSS scores, exploit status, and patch availability. Print it, pin it, share it with your SOC team.

No spam. Unsubscribe anytime.

Free download

Ransomware Incident Response Playbook

Step-by-step 24-hour IR checklist covering detection, containment, eradication, and recovery. Built for SOC teams, IR leads, and CISOs.

No spam. Unsubscribe anytime.

Follow Decryption Digest

Daily briefings + Google Top Stories in one step.

Enter your email and we'll subscribe you to the daily briefing and add Decryption Digest to your Google Search feed at the same time.

Free. Unsubscribe anytime. Google popup confirms the Top Stories add.

Eric Bang
Author

Founder & Cybersecurity Evangelist, Decryption Digest

Cybersecurity professional with expertise in threat intelligence, vulnerability research, and enterprise security. Covers zero-days, ransomware, and nation-state operations for 50,000+ security professionals every morning.

Related Questions: Answer Hub

Daily Briefing

Get briefings like this every morning

Actionable threat intelligence for working practitioners. Free. No spam. Trusted by 50,000+ SOC analysts, CISOs, and security engineers.

Unsubscribe anytime.

Mythos Brief

Anthropic's AI finds zero-days your scanners miss.