← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Windows Volume Shadow Copy Deletion Pre-Ransomware Dataset

This hunt uses a simulated endpoint dataset (windows_vss_delete_2022-08-15T023000.json) capturing T1490: Inhibit System Recovery, where an attacker deletes Volume Shadow Copies and disables backup/recovery options fleet-wide in the minutes preceding mass file encryption, to prevent victims from restoring data without paying a ransom.

Step 1: Hypothesis Formation

Hypothesis: Multiple hosts execute shadow-copy deletion and recovery-inhibiting commands (vssadmin, wbadmin, wmic shadowcopy delete, bcdedit) within a short window across the environment, immediately preceding a spike in file-modification/rename activity consistent with encryption. Indicators:

Null Hypothesis: IT operations is performing legitimate disk-space cleanup or a documented backup-system migration that includes clearing old shadow copies. Invalidate by checking the change-management calendar and confirming the commands were not pushed via an unauthorized remote-execution channel.

Rationale: Shadow copy and backup-catalog deletion is one of the most reliable, high-fidelity pre-encryption indicators available, occurring in the overwhelming majority of human-operated ransomware intrusions; this hunt validates fleet-wide correlation of these specific commands as an early-warning trigger to act before encryption completes.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (6 shown) confirm shadow-copy and backup-catalog deletion commands executed near-simultaneously across 41 hosts via a compromised administrative account, immediately followed by mass file-rename activity indicative of ransomware encryption.

Timestamp (UTC)Host(s)EventDetailIOC/Why Suspicious?
2022-08-15 02:30:04FS-CORP-01Sysmon 1vssadmin.exe delete shadows /all /quiet via PsExec from svc-backup-mgrInhibit-Recovery IOC: shadow copy deletion is present in the vast majority of confirmed human-operated ransomware cases immediately pre-encryption.
2022-08-15 02:30:05 - 02:34:5040 additional hostsSysmon 1Identical vssadmin/wmic shadowcopy delete commands, same source account, same PsExec serviceScale IOC: 41 hosts hit within 5 minutes - impossible via manual per-host administration, confirms centralized automated execution.
2022-08-15 02:35:10FS-CORP-01, FS-CORP-02Sysmon 1bcdedit /set {default} recoveryenabled no and bcdedit /set {default} bootstatuspolicy ignoreallfailuresBoot-Recovery IOC: disables the Windows Recovery Environment, preventing even a manual OS-level restore attempt post-encryption.
2022-08-15 02:36:00FS-CORP-01Sysmon 1wbadmin.exe delete catalog -quietBackup-Catalog IOC: removes the local Windows Server Backup catalog, eliminating another restore path.
2022-08-15 02:38:15FS-CORP-01 through 41 hostsEDR file telemetrySpike to 12,000+ file rename/write events per host per minute, extension changed to .lockbit3Encryption IOC: mass, high-speed file renaming with a ransomware extension began within 3 minutes of shadow-copy deletion completing across all hosts.
--(account context)svc-backup-mgr: legitimate backup service account, credentials found in a prior Kerberoasting incident 6 days earlier (see Hunting Exercise 58)Confirms the account used was compromised, not misused by its legitimate owner.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - a compromised backup-service account was used to delete shadow copies and disable recovery options across 41 hosts in 8 minutes, immediately preceding a mass ransomware encryption event!