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
AttributionWarlock 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.
| Attribute | Detail |
|---|---|
| Primary name | Warlock (ransomware brand) |
| Aliases | Longlegs (Symantec / Carbon Black), Storm-2603 (Microsoft), Gold Salem (Secureworks CTU) |
| Suspected origin | China-nexus / China-linked |
| First observed | June 2025; prominence July 2025 via SharePoint ToolShell exploitation |
| Model | Hybrid — financially motivated ransomware with espionage-style tradecraft |
| Targeting | Critical infrastructure (water, telecom), government, education |
| Geographic focus | Portuguese- and Spanish-speaking regions across Europe, Africa, Latin America |
| Ransom note | how to restore your files.txt |
| Reported by | Symantec & 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 burnSymantec 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.
- 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.
| CVE | Role in chain | CWE | CVSS |
|---|---|---|---|
| CVE-2025-53770 | Unauthenticated deserialization → RCE (the keystone) | CWE-502 | 9.8 |
| CVE-2025-49704 | Code injection in SharePoint → code execution | CWE-94 | 8.8 |
| CVE-2025-49706 | Improper authentication → network spoofing / auth bypass | CWE-287 | 6.5 |
| CVE-2025-53771 | Improper authentication → spoofing (patch-bypass of 49706) | CWE-287 | 6.5 |
| Product | Fixed build |
|---|---|
| SharePoint Enterprise Server 2016 | 16.0.5513.1001 |
| SharePoint Server 2019 | 16.0.10417.20037 |
| SharePoint Server Subscription Edition | 16.0.18526.20508 |
LAYOUTS directory, targeting several product versions at once so the same drop lands regardless of the exact build.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 pivotThe 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.
__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.- 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-1055Before 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.
| Field | Detail |
|---|---|
| CVE | CVE-2025-1055 5.6 |
| Driver | K7RKScan.sys (K7 Security anti-malware) |
| Flaw | CWE-862 missing authorization on IOCTL → terminate admin/system processes |
| Fixed in | K7RKScan 23.0.0.10 and later |
| Loader binary | a.exe (EDR/AV killer) |
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.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 + tunnelsBetween 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.
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.ssvagent.exe/logger.exe and doexe.exe with doexeloc.dll, staged alongside temp artifacts like gsdll64.dll.tmp and doexeloc.dll.tmp.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+ hostsWith EDR silenced and domain access in hand, Warlock stages its payload for mass deployment through Active Directory's own distribution plumbing.
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.- 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 sectorsThe 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 setThe 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.
| SHA-1 | Attribution |
|---|---|
| 116ca4e88a1bcebb6c0da7fb431c8eca7b8ef3f9 | Warlock ransomware |
| 155fb1cbdaea12c83ba92d18c88cf38bbc42bb68 | Warlock ransomware |
| 6d07f1232dc59b84038fd0b2e75fdd3d5b825882 | Warlock ransomware |
| 8b58f7811a2a2f2a5024220490473774f02759dd | Warlock ransomware |
| 8ce8d8270ee9de02644530b8dd7fa78973b4a3b8 | Warlock ransomware |
| 8e58f7811a2a2f2a5024220490473774f02759dd | Warlock ransomware |
| SHA-1 | Attribution |
|---|---|
| 73c5268256c9da5488cd9e2b79013060ac321c7e | AV/EDR killer (a.exe) |
| ae9f7fce57c7b928e659dccf0e00fa79cd9cd61a | K7RKScan.sys vulnerable driver (CVE-2025-1055) |
| 1edb2c0b537cd95bbd5fc16321b4c38a6adf325c | Malicious DLL |
| 206f27ae820783b7755bca89f83a0fe096dbb510 | Malicious DLL |
| 27b7591cf9e1283010ca98fa5dbe970a73fee0d8 | Malicious DLL |
| c46825fcc0d1bf7a8b192facb176d6bf916c9dcc | Malicious DLL |
| e14240bac8277b0f6dd4d29ab5da20d246bcccae | Malicious DLL |
| fb3846c9ac53d1b841ada3a6b1091153fea41a16 | Malicious DLL |
| Filename | Purpose |
|---|---|
| layout2sp.aspx | ASPX web shell in SharePoint LAYOUTS |
| run.exe / rune.exe | Warlock ransomware binaries |
| a.exe | AV/EDR killer (BYOVD loader) |
| ssvagent.exe / logger.exe | DLL side-loading pair |
| doexe.exe / doexeloc.dll | DLL side-loading pair |
| gsdll64.dll.tmp / doexeloc.dll.tmp | Staged temp artifacts |
| code-insiders.exe | Visual Studio Code tunnel (covert C2) |
| how to restore your files.txt | Ransom note |
| Indicator | Role |
|---|---|
| litter[.]catbox[.]moe | Payload / tool hosting |
| xn8xyt-drop[.]s3[.]wasabisys[.]com | Wasabi S3 bucket — payload delivery |
| oastify[.]com | Burp Collaborator — OOB execution testing |
10 · Detection & Hunt Queries
KQL + SPLEach 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.
11 · MITRE ATT&CK Mapping
Techniques| Tactic | Technique | ID |
|---|---|---|
| Initial Access | Exploit Public-Facing Application (SharePoint ToolShell) | T1190 |
| Execution | Command & Scripting Interpreter — PowerShell | T1059.001 |
| Persistence | Server Software Component — Web Shell | T1505.003 |
| Persistence | Boot/Logon Init Scripts — SYSVOL / GPO | T1547.013 |
| Credential Access | Unsecured Credentials — ASP.NET machine keys | T1552 |
| Defense Evasion | Impair Defenses — Disable/Modify Tools (BYOVD) | T1562.001 |
| Defense Evasion | DLL Side-Loading | T1574.002 |
| Defense Evasion | Indicator Removal — artifact deletion | T1070 |
| Discovery | Account / Share / Domain Trust Discovery | T1087 · T1135 · T1482 |
| Credential Access | Brute Force — credential spraying | T1110 |
| Lateral Movement | Remote Services / Lateral Tool Transfer | T1021 · T1570 |
| Command & Control | Remote Access Software — VS Code tunnel | T1219 |
| Impact | Data Encrypted for Impact | T1486 |
12 · Mitigation & Hardening
Act now- 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/decryptionKeyon 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
.aspxfiles 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.
- 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
13 · Sources & References
PrimaryRunning 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.
"They can't exploit you if you are the Exploit."