The SOC Files 5: Ghost in the pipeline, or a fileless SharePoint breach by Storm-2603
Storm-2603 exploits SharePoint ToolShell CVEs to deploy a fileless in-memory webshell in w3wp.exe, escalating to SYSTEM via EfsPotato and deploying Warlock ransomware. Storm-2603 exploits CVE-2025-53770/53771 in on-premises SharePoint to inject a fileless C# webshell into w3wp.exe via ASP.NET VirtualPathProvider registration. The implant uses a custom XOR-obfuscated binary protocol triggered by a specific User-Agent, enabling TCP tunneling with suo5. Post-exploitation includes EfsPotato privilege escalation, SAM RPC account creation, Velociraptor deployment, and Warlock ransomware with EDR-killing via vulnerable driver sideloading.
Authors: Alexander Rodchenko, Rodrigo Wanderson
Source:Kaspersky
Detection / HunterDeepSeek
Immediate Actions
- Patch on-premises SharePoint for CVE-2025-53770 and CVE-2025-53771 immediately
- Isolate compromised SharePoint hosts and rotate SharePoint MachineKey
- Block C2 IPs: 45[.]91[.]94[.]204, 91[.]224[.]92[.]121, 204[.]76[.]203[.]219, 49[.]51[.]132[.]100
- Hunt for w3wp.exe spawning msiexec.exe or establishing outbound TCP connections
Key Takeaways
- CVE-2025-53770 and CVE-2025-53771 are ToolShell deserialization RCE flaws in on-premises SharePoint, both in CISA KEV
- Webshell uses VirtualPathProvider registration to serve virtual pages without disk artifacts, evading file-based detection
- Privilege escalation via EfsPotato EFSRPC named pipe impersonation abuses SeImpersonatePrivilege in w3wp.exe
- Velociraptor 0[.]73[.]4[.]0 (CVE-2025-6264) abused for post-exploitation alongside Zoho Assist, VS Code, and Cloudflare tunnels
- Warlock ransomware AV killer uses rsndispot.sys driver sideloading to terminate EDR solutions
Attack Chain
- Initial Access: ONYPHE probes SharePoint ToolPane endpoint for CVE-2025-53770 vulnerability fingerprinting
- Exploitation: Crafted HTTP request triggers deserialization RCE in w3wp.exe via CVE-2025-53770
- Persistence: In-memory webshell registered as VirtualPathProvider in ASP.NET runtime, no disk artifacts
- Privilege Escalation: EfsPotato EFSRPC coercion impersonates LSASS SYSTEM token via named pipe
- Lateral Movement: Velociraptor, Zoho Assist, VS Code, and Cloudflare tunnels deployed for persistent access
- Impact: Warlock ransomware and EDR killer deployed; ransomware blocked by Kaspersky
Affected Systems
- On-premises Microsoft SharePoint Server
- Windows IIS running w3wp.exe
- Velociraptor 0.73.4.0
Vulnerabilities (CVEs)
| CVE | Product | Severity | Description |
|---|---|---|---|
| CVE-2025-53770 | Microsoft SharePoint Server (ToolShell) | Critical | Deserialization RCE via crafted HTTP requests to ToolPane endpoint |
| CVE-2025-53771 | Microsoft SharePoint Server (ToolShell) | Critical | ToolShell vulnerability enabling remote code execution in SharePoint |
| CVE-2025-6264 | Velociraptor 0.73.4.0 | Vulnerability in Velociraptor DFIR tool enabling attacker command execution |
Detection Availability
- Published: YARA
- Platforms: CLRDeserializationExploitFinder, VirtualPathProvider Lab, external article (Russian) with YARA examples
YARA rules for deserialization gadget detection and ETW-based VPP webshell detection referenced; CLRDeserializationExploitFinder tool available
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| w3wp.exe loading Microsoft.GeneratedCode and App_Web_toolpane.aspx assemblies within same execution window indicates deserialization exploitation (T1190) | .NET assembly load events | Initial Access | Low — assemblies only co-load during ToolPane deserialization |
| w3wp.exe establishing outbound TCP connections to internal hosts indicates proxy tunneling via suo5 (T1572) | EDR network telemetry | Lateral Movement | Medium — SharePoint may legitimately connect to internal services |
| IIS ETW events 25 and 47 mapping virtual paths without corresponding FileChangeNotification events 17-19 indicate VPP webshell (T1505.003) | ETW Microsoft-Windows-IIS-Configuration | Persistence | Low — legitimate VPPs can be allowlisted |
| w3wp.exe spawning msiexec.exe to install remote MSI packages indicates post-exploitation tool deployment (T1218.007) | Sysmon Event ID 1 | Execution | Low — SharePoint does not normally spawn msiexec |
Required Log Sources
- IIS logs
- ETW Microsoft-Windows-IIS-Configuration
- Sysmon Event ID 1
- Sysmon Event ID 3
- Sysmon Event ID 7
- .NET CLR assembly load events
Control Gaps
- Fileless webshell in w3wp.exe bypasses file-based webshell detection
- Custom XOR-obfuscated binary protocol over HTTP blends with normal traffic
- SPN exit nodes bypass standard Tor blocklists
- Legitimate tools abused for persistence evade application-specific monitoring
Recommendations
Infrastructure Hardening
- Restrict outbound connections from SharePoint/IIS servers to known endpoints
- Monitor IIS ETW events 25/47 without corresponding file change events 17-19
- Block SPN exit node traffic at network perimeter
- Deploy ETW-based monitoring for VirtualPathProvider registrations
User Protection
- Deploy EDR with behavioral detection for token impersonation and named pipe coercion
- Alert on vulnerable driver rsndispot.sys loading from C:\ProgramData
- Monitor for Velociraptor, Zoho Assist, VS Code tunnels on SharePoint hosts
- Enable ransomware behavior blocking equivalent to Kaspersky Proactive Defense Module
MITRE ATT&CK Mapping
- cveCVE-2025-53770Deserialization RCE via crafted HTTP requests to ToolPane endpoint
- cveCVE-2025-53771ToolShell vulnerability enabling remote code execution in SharePoint
- cveCVE-2025-6264Vulnerability in Velociraptor DFIR tool enabling attacker command execution
- file_pathC:\programdata\rsndispot.sysVulnerable driver dropped by attacker for EDR killing
- file_pathC:\ProgramFiles\Velociraptor\Velociraptor.exeVelociraptor installed by attacker for post-exploitation
- file_pathC:\ProgramFilesx86\ZohoMeeting\UnAttended\ZohoMeeting.7zZoho Meeting archive for unauthorized remote access
- ip199[.]232[.]210[.]172C2 traffic relay
- ip204[.]76[.]203[.]219Bulletproof-hosted C2 server and recon
- ip45[.]91[.]94[.]204SPN node used for active exploitation of SharePoint
- ip49[.]51[.]132[.]100SPN node used for attacker infrastructure
- ip91[.]224[.]92[.]121Bulletproof-hosted C2 server
- md5054a32d6033b1744dca7f49b2e466ea2Vulnerable driver rsndispot.sys for EDR killing
- md5112a86eca3cb5a0b5e20ab744cc5af937z.exe renamed for DLL sideloading
- md52c32e44a013cbfc5a323efb7694701d2Abused cloudflared tunneling tool executable
- md52d9ebf9c042f596f435865b40edad928Warlock ransomware AV killer DLL for sideloading
- md53a55d8f8f29716c694671834d8c6cb29Velociraptor.exe installed by attacker
- md53d553b9061c03f891ce97d7d2e64ddeeVS Code Insiders abused for tunneling
- md5991ec6e04413f2d4d29341c17a8a54d5Abused legitimate VS Code for tunneling
- md5a930f81e3fb0a226ec5904d9043a17b8ZohoMeeting.7z archive for remote access
- md5fd91321bf7ff7245dda9b7b5d791ace8vskp2 in-memory webshell implant
- urlhxxps://auth[.]qgtxtebl[.]workers[.]dev/Velociraptor C2 server URL on Cloudflare Workers
- urlhxxps://files[.]catbox[.]moe/8f7vex[.]msiZoho Assist Unattended Agent download URL
- urlhxxps://vdfccjpnedujhrzscjtq[.]supabase[.]co/storage/v1/object/public/image/v4[.]msiVulnerable Velociraptor MSI payload hosted in Supabase