Detection of Shadow Copy Deletion via System Utilities
Detection of unauthorized deletion of Volume Shadow Copies using native Windows utilities vssadmin.exe or wmic.exe, a common technique employed by ransomware actors to prevent system recovery.
The unauthorized deletion of Volume Shadow Copies is a prevalent technique used by ransomware operators and advanced persistent threat (APT) actors to hinder incident response and system restoration efforts. By leveraging legitimate, pre-installed Windows utilities such as vssadmin.exe and wmic.exe, attackers can effectively destroy local backups of files. This behavior is a hallmark of numerous ransomware families, including LockBit, Clop, Black Basta, Rhysida, and others. Security teams should monitor for the execution of these utilities with specific command-line arguments involving the deletion of shadow storage. Because these tools are also used by system administrators for legitimate maintenance, it is essential to baseline environment-specific behaviors to differentiate malicious activity from standard management tasks.
Attack Chain
- Initial access is established on the Windows host via spearphishing, exploit, or credential abuse.
- The attacker gains sufficient privileges to interact with system management utilities.
- The attacker executes a discovery phase to locate existing volume shadow copies.
- The attacker invokes vssadmin.exe or wmic.exe with specific parameters to target the shadow storage.
- The utility processes the deletion command, effectively purging backup snapshots from the disk.
- The attacker may then proceed to encrypt files, overwrite data, or deploy secondary payloads.
- The final objective is reached when the victim is unable to restore data from local snapshots, increasing pressure to pay a ransom.
Impact
Successful deletion of shadow copies eliminates the ability for victims to perform simple, local restoration of encrypted or stolen data. This activity is frequently the precursor to a broader ransomware event, leading to significant operational disruption, data loss, and exfiltration. This TTP has been observed across various sectors and is a standard component of major ransomware operations, often occurring just before the encryption phase of an attack.
Recommendation
- Deploy the Sigma rule provided in this brief to detect the usage of vssadmin.exe and wmic.exe for shadow copy deletion.
- Enable Sysmon process-creation logging (Event ID 1) or Windows Security event logging (Event ID 4688) to capture complete command-line arguments.
- Configure SIEM alerts to trigger specifically on process executions where the command line contains both 'delete' and 'shadow' keywords.
- Investigate occurrences of this activity to determine if the deletion was performed by a known administrator or an unauthorized process, especially if the parent process is unexpected.
Immediate actions
Deploy Sigma rule to SIEM to detect shadow copy deletion commands
Threat Hunt
Search for past executions of vssadmin or wmic with 'delete shadow' in command-line arguments
Data: Process creation logs
Mitigations
Restrict access to administrative utilities to authorized service accounts
T1490
Detection coverage 1
Detect Shadow Copy Deletion
highDetects the deletion of volume shadow copies using vssadmin.exe or wmic.exe as part of an attempt to prevent system recovery
Detection queries are available on the platform. Get full rules →