Warlock Ransomware: Storm-2603 Chains SharePoint ToolShell and a BYOVD Driver

·

Warlock — tracked by Symantec and Carbon Black as Longlegs and by Microsoft as Storm-2603 — is a China-linked group that has turned the on-premises SharePoint "ToolShell" vulnerability chain into a repeatable path to domain-wide ransomware. In a July 2026 intrusion the operators went from an unauthenticated SharePoint web shell to encrypting 33+ hosts across a victim estate in nine days.

The chain is notable not for a single exploit but for what comes after: theft of ASP.NET machine keys to forge signed payloads, a signed-but-vulnerable K7RKScan driver (CVE-2025-1055) used to kill endpoint defenses, Visual Studio Code tunnels for stealth remote access, and ransomware staged through SYSVOL and Group Policy. Confirmed victims include a water utility, a telecom provider, a regional government and a university across Portuguese- and Spanish-speaking regions.

This brief breaks down attribution, the full ToolShell CVE set, the machine-key forgery mechanics, the BYOVD step, the IOCs released by Symantec, and ready-to-run KQL and SPL hunts. Every CVE named here was validated against NVD.

◈ Table of Contents

01 Threat Actor Profile 02 Intrusion Timeline 03 Initial Access — ToolShell 04 Machine-Key Forgery Deep Dive 05 EDR Kill via BYOVD 06 Lateral Movement 07 Ransomware Deployment 08 Victimology 09 Indicators of Compromise 10 Detection & Hunt Queries 11 MITRE ATT&CK Mapping 12 Mitigation & Hardening 13 Sources & References
🎯

01 · Threat Actor Profile

Attribution

Warlock is a cluster with multiple vendor names pointing at one operator. The group runs a hybrid model — ransomware for revenue, but with espionage-grade tradecraft and critical-infrastructure targeting that sets it apart from commodity affiliates. Check Point's research ties the crew to ransomware operations that predate its ToolShell fame.

AttributeDetail
Primary nameWarlock (ransomware brand)
AliasesLonglegs (Symantec / Carbon Black), Storm-2603 (Microsoft), Gold Salem (Secureworks CTU)
Suspected originChina-nexus / China-linked
First observedJune 2025; prominence July 2025 via SharePoint ToolShell exploitation
ModelHybrid — financially motivated ransomware with espionage-style tradecraft
TargetingCritical infrastructure (water, telecom), government, education
Geographic focusPortuguese- and Spanish-speaking regions across Europe, Africa, Latin America
Ransom notehow to restore your files.txt
Reported bySymantec & Carbon Black Threat Hunter Team; Microsoft; Check Point Research

Treat the aliases as interchangeable in your intel platform. A detection written for "Storm-2603" machine-key abuse fires on the same activity Symantec files under "Longlegs." Tag both so a hit on one alias pulls the full IOC set.

🗓️

02 · Intrusion Timeline

9-day burn

Symantec reconstructed a July 2026 intrusion that moved from first web shell to mass encryption in nine days. The pacing is deliberate — days of quiet reconnaissance, then a fast, loud finish once defenses were neutralized.

◈ Observed sequence (2026)
  • 1July 22 — Web shell installed on an internet-facing SharePoint server via the ToolShell chain. Initial foothold established pre-authentication.
  • 2July 24 — Reconnaissance commands run through the web shell; early artifact deletion to slow responders.
  • 3July 27 — Out-of-band command testing via a Burp Collaborator domain (oastify.com) to confirm execution and egress.
  • 4July 28 — Exploitation chain driven through .NET assembly loading inside the SharePoint application pool.
  • 5July 29 — Domain expansion, privileged account elevation, and installation of a Visual Studio Code tunnel for covert remote access.
  • 6July 31 — Endpoint defenses disabled via the K7RKScan BYOVD driver, then Warlock ransomware deployed to 33+ hosts.

Nine days is enough dwell time to detect — but only if SharePoint, SYSVOL and driver-load telemetry are actually collected and alerting. The recon-then-pause pattern is your detection window; the July 31 finale is not.

🚪

03 · Initial Access — The ToolShell Chain

4 CVEs

"ToolShell" is the name for a chain of four on-premises SharePoint flaws disclosed in July 2025. Two provide an authentication/spoofing bypass; two provide code execution. Chained, they give an unauthenticated attacker remote code execution on an internet-facing SharePoint Server. All four below were validated against NVD.

CVERole in chainCWECVSS
CVE-2025-53770Unauthenticated deserialization → RCE (the keystone)CWE-5029.8
CVE-2025-49704Code injection in SharePoint → code executionCWE-948.8
CVE-2025-49706Improper authentication → network spoofing / auth bypassCWE-2876.5
CVE-2025-53771Improper authentication → spoofing (patch-bypass of 49706)CWE-2876.5
Affected on-premises SharePoint (patch to or above)
ProductFixed build
SharePoint Enterprise Server 201616.0.5513.1001
SharePoint Server 201916.0.10417.20037
SharePoint Server Subscription Edition16.0.18526.20508
A1
Pre-auth request to the LAYOUTS endpoint
T1190
The chain abuses SharePoint's ToolPane / LAYOUTS handling to bypass authentication and reach deserialization logic. Longlegs plants an ASPX web shell directly into the SharePoint LAYOUTS directory, targeting several product versions at once so the same drop lands regardless of the exact build.
Web shell drop (as observed)
# ASPX web shell written under the SharePoint web root C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\layout2sp.aspx # Deployment staged via Base64-encoded PowerShell invoked by w3wp.exe

CVE-2025-53771 exists because the first patch for CVE-2025-49706 was bypassable. If your SharePoint build predates the July 2025 out-of-band fixes, assume every ToolShell CVE is reachable — do not treat "we patched the first one" as closed.

🔑

04 · Technical Deep Dive — Machine-Key Theft & ViewState Forgery

The pivot

The web shell is a means to an end. The step that makes ToolShell durable — and the reason patching alone does not evict the attacker — is theft of the SharePoint farm's ASP.NET machine keys (the validationKey and decryptionKey). With those secrets, the attacker can sign arbitrary __VIEWSTATE payloads that SharePoint will trust and deserialize, running code inside the w3wp.exe application pool as the service account — no web shell required.

A2
Harvest the ASP.NET machine keys
CREDENTIAL ACCESS
The web shell reads the farm's cryptographic keys from SharePoint configuration. Because every front-end in a farm shares the same keys, one stolen set unlocks the whole farm — and the keys survive a patch unless they are rotated.
What the attacker extracts
# ASP.NET machine key material pulled from the SharePoint farm validationKey = <64-byte HMAC key> decryptionKey = <24/32-byte AES key> validation = HMACSHA256 decryption = AES # With these, __VIEWSTATE MACs can be forged and will pass server validation
A3
Forge a signed __VIEWSTATE payload
T1059
Armed with the keys, the attacker builds a __VIEWSTATE blob carrying a serialized .NET gadget, signs it with the stolen HMAC, and POSTs it to any SharePoint page. SharePoint validates the MAC, deserializes the gadget, and executes it in-process — a stealthier, log-light alternative to the dropped web shell. Symantec observed the operators loading .NET assemblies this way on July 28.
Why this beats a web shell
  • No new file on disk for AV to flag — execution rides a legitimate request parameter
  • Runs as the SharePoint app-pool identity, often over-privileged on the host
  • Persists across web-shell cleanup until the machine keys are rotated

Rotating machine keys is the step most SharePoint rebuilds forget. Use Update-SPMachineKey (or regenerate in web.config across every farm member) and recycle the application pools — otherwise a forged ViewState walks straight back in after you have "cleaned" the box.

🛡️

05 · Defense Evasion — EDR Kill via BYOVD

CVE-2025-1055

Before encryption, Warlock neutralizes endpoint protection using a Bring-Your-Own-Vulnerable-Driver technique. The crew loads K7RKScan.sys, a signed anti-malware driver from K7 Computing that is vulnerable to CVE-2025-1055 — a missing-authorization flaw (CWE-862) letting an unprivileged local process terminate protected (PPL / system) processes through crafted IOCTL requests. Killing the EDR and AV agents removes the one control most likely to catch the ransomware.

FieldDetail
CVECVE-2025-1055 5.6
DriverK7RKScan.sys (K7 Security anti-malware)
FlawCWE-862 missing authorization on IOCTL → terminate admin/system processes
Fixed inK7RKScan 23.0.0.10 and later
Loader binarya.exe (EDR/AV killer)
A4
Load the vulnerable driver, kill the agents
T1562.001
The killer utility (a.exe) installs the signed K7RKScan driver as a kernel service, then issues IOCTLs that terminate the processes behind the installed EDR/AV. Because the driver carries a valid signature, naive allow-listing waves it through.
BYOVD service install pattern
C:\> sc create K7RKScan type= kernel binPath= C:\ProgramData\K7RKScan.sys C:\> sc start K7RKScan C:\> a.exe --kill-defender --kill-edr # IOCTL abuse (CVE-2025-1055) terminates PPL/system AV & EDR processes

Once BYOVD succeeds, host-based EDR telemetry can no longer be trusted on that machine. Detection has to lean on what the attacker cannot silence from user mode: the kernel DriverLoad event, Windows service-creation logs forwarded off-box, and network telemetry.

↔️

06 · Lateral Movement & Post-Exploitation

LOTL + tunnels

Between foothold and encryption, Longlegs expands across the domain using open-source offensive tooling and living-off-the-land binaries, favouring tools that blend into admin activity.

A5
NetExec recon and credential spraying
T1110 · T1021
The operators run NetExec (nxc.exe, the maintained successor to CrackMapExec) to enumerate shares, discover hosts, and spray credentials across SMB. Discovery spans domain accounts, local accounts, network shares and domain trusts.
NetExec usage pattern (as seen in LOTL activity)
PS> nxc.exe smb 10.0.0.0/24 -u users.txt -p pass.txt --continue-on-success PS> nxc.exe smb 10.0.0.0/24 -u svc_admin -H <nthash> --shares # Maps reachable hosts, writable shares and valid credentials for staging
A6
DLL side-loading for execution
T1574.002
Execution of follow-on payloads rode DLL side-loading pairs — a legitimately named executable loading a malicious DLL from the same directory. Observed pairs include ssvagent.exe/logger.exe and doexe.exe with doexeloc.dll, staged alongside temp artifacts like gsdll64.dll.tmp and doexeloc.dll.tmp.
A7
Visual Studio Code tunnel for covert C2
T1219
For hands-on-keyboard access, the crew installed a Visual Studio Code tunnel via code-insiders.exe. The tunnel rides Microsoft's own dev-tunnel infrastructure over HTTPS, so the egress looks like legitimate developer traffic and often sidesteps domain allow-lists. Payloads and tooling were pulled from abused cloud services — litter.catbox.moe and a Wasabi S3 bucket — rather than attacker-owned domains.

A VS Code tunnel on a SharePoint server, domain controller or file server is almost never legitimate. Alert on code-insiders.exe / code.exe launched with a "tunnel" argument anywhere outside developer workstations.

💥

07 · Ransomware Deployment

33+ hosts

With EDR silenced and domain access in hand, Warlock stages its payload for mass deployment through Active Directory's own distribution plumbing.

A8
SYSVOL staging + Group Policy execution
T1547.013
The ransomware binaries (run.exe, rune.exe) are copied into a domain controller's SYSVOL share, then executed fleet-wide through Group Policy — the same mechanism admins use for legitimate software distribution. One intrusion reached 33+ hosts this way. Victims find the ransom note how to restore your files.txt dropped across encrypted directories.
SYSVOL staging footprint
# Payload staged in the replicated SYSVOL policy path \\<DC>\SYSVOL\<domain>\scripts\run.exe \\<DC>\SYSVOL\<domain>\Policies\{GUID}\Machine\...\rune.exe # Pushed to domain members via a crafted GPO startup/immediate task
Confirmed Warlock intrusion markers
  • ASPX web shell in the SharePoint LAYOUTS directory (e.g. layout2sp.aspx)
  • ASP.NET machine keys accessed / exported from the farm
  • K7RKScan.sys loaded as a kernel service shortly before encryption
  • VS Code tunnel (code-insiders.exe) on a server-class host
  • Ransomware binaries in SYSVOL + note "how to restore your files.txt"
🌐

08 · Victimology

4 sectors

The confirmed July–September 2026 victim set is small but deliberately chosen: critical infrastructure and public-sector bodies where downtime carries outsized leverage. Symantec counted four organizations hit within roughly two months, concentrated in Portuguese- and Spanish-speaking regions.

💧

WATER UTILITY

Critical infrastructure operator — the kind of target where encryption directly threatens a public service and maximises ransom pressure.

📡

TELECOM PROVIDER

Communications operator; compromise exposes downstream subscribers and gives the actor a pivot into connected networks.

🏛️

REGIONAL GOVERNMENT

Public-sector body — high-visibility disruption and sensitive citizen data, consistent with the crew's hybrid motive.

🎓

UNIVERSITY

Education target with sprawling, hard-to-patch estates and frequently exposed on-prem SharePoint deployments.

🧬

09 · Indicators of Compromise

Symantec set

The following indicators were published by the Symantec & Carbon Black Threat Hunter Team. The 40-character file values are SHA-1 hashes. Load them into your EDR, proxy and IOC scanner; the network indicators are legitimate services being abused, so scope on process + destination rather than blocking the domains outright.

File hashes — Warlock ransomware (SHA-1)
SHA-1Attribution
116ca4e88a1bcebb6c0da7fb431c8eca7b8ef3f9Warlock ransomware
155fb1cbdaea12c83ba92d18c88cf38bbc42bb68Warlock ransomware
6d07f1232dc59b84038fd0b2e75fdd3d5b825882Warlock ransomware
8b58f7811a2a2f2a5024220490473774f02759ddWarlock ransomware
8ce8d8270ee9de02644530b8dd7fa78973b4a3b8Warlock ransomware
8e58f7811a2a2f2a5024220490473774f02759ddWarlock ransomware
File hashes — tooling, DLLs & driver (SHA-1)
SHA-1Attribution
73c5268256c9da5488cd9e2b79013060ac321c7eAV/EDR killer (a.exe)
ae9f7fce57c7b928e659dccf0e00fa79cd9cd61aK7RKScan.sys vulnerable driver (CVE-2025-1055)
1edb2c0b537cd95bbd5fc16321b4c38a6adf325cMalicious DLL
206f27ae820783b7755bca89f83a0fe096dbb510Malicious DLL
27b7591cf9e1283010ca98fa5dbe970a73fee0d8Malicious DLL
c46825fcc0d1bf7a8b192facb176d6bf916c9dccMalicious DLL
e14240bac8277b0f6dd4d29ab5da20d246bcccaeMalicious DLL
fb3846c9ac53d1b841ada3a6b1091153fea41a16Malicious DLL
Malicious / staged filenames
FilenamePurpose
layout2sp.aspxASPX web shell in SharePoint LAYOUTS
run.exe / rune.exeWarlock ransomware binaries
a.exeAV/EDR killer (BYOVD loader)
ssvagent.exe / logger.exeDLL side-loading pair
doexe.exe / doexeloc.dllDLL side-loading pair
gsdll64.dll.tmp / doexeloc.dll.tmpStaged temp artifacts
code-insiders.exeVisual Studio Code tunnel (covert C2)
how to restore your files.txtRansom note
Network indicators (abused legitimate services)
IndicatorRole
litter[.]catbox[.]moePayload / tool hosting
xn8xyt-drop[.]s3[.]wasabisys[.]comWasabi S3 bucket — payload delivery
oastify[.]comBurp Collaborator — OOB execution testing
🔎

10 · Detection & Hunt Queries

KQL + SPL

Each hunt below is paired KQL (Microsoft Defender / Sentinel) and SPL (Splunk + Sysmon). Prioritise the SharePoint, driver-load and SYSVOL hunts — those fire before encryption and survive the EDR kill if your logs are forwarded off-host.

DETECTS: SharePoint IIS worker (w3wp.exe) spawning command interpreters — ToolShell post-exploitation.
KQL — SharePoint app pool spawning shells
DeviceProcessEvents | where InitiatingProcessFileName =~ "w3wp.exe" | where FileName in~ ("cmd.exe","powershell.exe","pwsh.exe","msiexec.exe","cscript.exe","wscript.exe") | project Timestamp, DeviceName, FileName, ProcessCommandLine, InitiatingProcessCommandLine, AccountName
SPL — SharePoint app pool spawning shells
index=win sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 parent_process_name="w3wp.exe" (process_name="cmd.exe" OR process_name="powershell.exe" OR process_name="msiexec.exe" OR process_name="cscript.exe") | table _time host parent_process process user
DETECTS: ASPX web shell creation inside the SharePoint LAYOUTS directory.
KQL — web shell drop in LAYOUTS
DeviceFileEvents | where FolderPath has @"\TEMPLATE\LAYOUTS\" | where FileName endswith ".aspx" | where InitiatingProcessFileName in~ ("w3wp.exe","powershell.exe","cmd.exe") | project Timestamp, DeviceName, FileName, FolderPath, InitiatingProcessCommandLine
SPL — web shell drop in LAYOUTS
index=win sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=11 TargetFilename="*\\TEMPLATE\\LAYOUTS\\*.aspx" | table _time host TargetFilename Image
DETECTS: Load of the K7RKScan BYOVD driver used to disable endpoint defenses.
KQL — K7RKScan driver load
DeviceEvents | where ActionType == "DriverLoad" | where AdditionalFields has_any ("K7RKScan","ae9f7fce57c7b928e659dccf0e00fa79cd9cd61a") | project Timestamp, DeviceName, AdditionalFields, InitiatingProcessAccountName
SPL — K7RKScan driver load
index=win sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=6 (ImageLoaded="*K7RKScan*" OR Hashes="*ae9f7fce57c7b928e659dccf0e00fa79cd9cd61a*") | table _time host ImageLoaded Signed Hashes
DETECTS: Visual Studio Code tunnel used for covert remote access on servers.
KQL — VS Code tunnel persistence
DeviceProcessEvents | where FileName in~ ("code-insiders.exe","code.exe") | where ProcessCommandLine has "tunnel" | project Timestamp, DeviceName, ProcessCommandLine, InitiatingProcessFileName, AccountName
SPL — VS Code tunnel persistence
index=win sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 (process_name="code-insiders.exe" OR process_name="code.exe") process="*tunnel*" | table _time host process user
DETECTS: Burst creation of the Warlock ransom note across a host.
KQL — ransom note burst
DeviceFileEvents | where FileName =~ "how to restore your files.txt" | summarize Count=count(), Folders=dcount(FolderPath) by DeviceName, bin(Timestamp, 5m) | where Count > 5
SPL — ransom note burst
index=win sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=11 TargetFilename="*how to restore your files.txt" | bin _time span=5m | stats dc(TargetFilename) as notes by host _time | where notes>5
DETECTS: Egress to the legitimate services this campaign abused for staging and OOB testing.
KQL — abused-service egress
DeviceNetworkEvents | where RemoteUrl has_any ("catbox.moe","wasabisys.com","oastify.com") | project Timestamp, DeviceName, RemoteUrl, RemoteIP, InitiatingProcessFileName
SPL — abused-service egress
index=proxy OR index=network (dest="*catbox.moe*" OR dest="*wasabisys.com*" OR dest="*oastify.com*") | table _time src_host dest url http_user_agent
Warlock / Storm-2603 kill chain — SharePoint ToolShell to domain-wide encryption
🧩

11 · MITRE ATT&CK Mapping

Techniques
TacticTechniqueID
Initial AccessExploit Public-Facing Application (SharePoint ToolShell)T1190
ExecutionCommand & Scripting Interpreter — PowerShellT1059.001
PersistenceServer Software Component — Web ShellT1505.003
PersistenceBoot/Logon Init Scripts — SYSVOL / GPOT1547.013
Credential AccessUnsecured Credentials — ASP.NET machine keysT1552
Defense EvasionImpair Defenses — Disable/Modify Tools (BYOVD)T1562.001
Defense EvasionDLL Side-LoadingT1574.002
Defense EvasionIndicator Removal — artifact deletionT1070
DiscoveryAccount / Share / Domain Trust DiscoveryT1087 · T1135 · T1482
Credential AccessBrute Force — credential sprayingT1110
Lateral MovementRemote Services / Lateral Tool TransferT1021 · T1570
Command & ControlRemote Access Software — VS Code tunnelT1219
ImpactData Encrypted for ImpactT1486
🧰

12 · Mitigation & Hardening

Act now
◈ Priority actions
  • 1Patch ToolShell fully. Bring on-prem SharePoint to the fixed builds (2016 ≥ 16.0.5513.1001, 2019 ≥ 16.0.10417.20037, Subscription ≥ 16.0.18526.20508). Patching all four CVEs — including the 53771 patch-bypass — is the floor, not the finish.
  • 2Rotate ASP.NET machine keys. After patching, regenerate validationKey/decryptionKey on every farm member and recycle app pools. Without this, a stolen key still forges valid ViewState.
  • 3Block the vulnerable driver. Add K7RKScan.sys (< 23.0.0.10) to the Microsoft Vulnerable Driver Blocklist / WDAC and enable HVCI. Block by hash ae9f7fce...cd61a.
  • 4Constrain SharePoint app-pool identity. Run it as a least-privileged service account; it should not be a local admin on peer servers or hold broad domain rights.
  • 5Hunt the web root. Inventory the LAYOUTS directory for unexpected .aspx files and validate every file against a known-good baseline.
  • 6Alert on VS Code tunnels and SYSVOL writes. Treat code-insiders.exe tunnels on servers and non-admin writes to SYSVOL as high-severity.
  • 7Forward logs off-host. Ship process, driver-load and service-creation events to the SIEM so the BYOVD EDR kill cannot blind your investigation.
Eradication complete when
  • SharePoint patched to fixed builds across every farm member
  • Machine keys rotated and app pools recycled farm-wide
  • All LAYOUTS web shells and side-loaded DLL pairs removed
  • K7RKScan.sys blocked; any attacker-created accounts disabled
  • ToolShell detection re-run returns zero new web-shell hits
📄
Symantec / Carbon Black — Warlock critical-infrastructure report
Primary IOC source — screenshots & full indicator tables on the vendor site
↗
📚

13 · Sources & References

Primary
Symantec & Carbon Black Threat Hunter Team — Warlock ransomware attackers hit water and telecom operators BleepingComputer — Warlock ransomware breach SharePoint in water, telecom operator attacks The Hacker News — Warlock exploits SharePoint flaws to deploy ransomware Check Point Research — Before ToolShell: exploring Storm-2603's previous ransomware operations NVD — CVE-2025-53770 (SharePoint deserialization RCE) NVD — CVE-2025-49704 (SharePoint code injection) NVD — CVE-2025-49706 (SharePoint improper auth) NVD — CVE-2025-53771 (SharePoint spoofing / patch-bypass) NVD — CVE-2025-1055 (K7RKScan.sys missing authorization)

Running on-prem SharePoint? Hunt for ToolShell web shells and forged ViewState now.

Drop the hashes and network indicators above into the CyberHawk IOC Scanner, then work the LAYOUTS directory and machine-key rotation steps. For live detections and campaign updates, see the CyberHawk Threat Intel feed and our incident-response SOPs.

◈ Stay Connected

Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.

🌐 Website ▶️ YouTube ▶️ YouTube (2) 𝕏 Twitter / X ♪ TikTok ✈️ Telegram
🔍 IOC Scanner 🛠️ Live Tools 📚 Courses 🚨 Threat Intel 📝 Blog 📋 SOPs

"They can't exploit you if you are the Exploit."