← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Ransomware Shadow Copy Deletion and Mass Encryption Dataset

This hunt covers the endgame of an intrusion: a simulated Sysmon/Security dataset (ransomware_vssadmin_massencrypt_2022-03-15T023000.json) capturing T1490: Inhibit System Recovery and T1486: Data Encrypted for Impact, where an adversary who has already achieved domain-admin-level access deletes Volume Shadow Copies and backup catalogs before mass-encrypting files across the environment - the final, loudest stage of a ransomware operation.

Step 1: Hypothesis Formation

Hypothesis: Adversary executes vssadmin.exe delete shadows /all /quiet and wbadmin.exe delete catalog -quiet (or PowerShell equivalents) from a privileged context on multiple hosts within minutes of each other, immediately followed by a burst of file writes/renames across user and share directories with a new, consistent extension appended (e.g., .locked), plus a ransom note dropped in each touched directory. Indicators:

Null Hypothesis: Legitimate backup/disk-maintenance operation (e.g., an admin clearing old shadow copies to free disk space). Invalidate via the co-occurrence with mass file renaming and ransom-note drops - no legitimate maintenance activity does both together.

Rationale: This is deliberately the "smoking gun" hunt in the series - it demonstrates why proactive hunting on the earlier-stage techniques (credential theft, lateral movement, discovery) matters: by the time this fires, recovery options have already been destroyed.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (10 shown) confirm coordinated shadow-copy destruction across four hosts within 90 seconds, followed immediately by mass encryption activity.

Timestamp (UTC)HostEvent IDKey DetailsIOC/Why Suspicious?
2022-03-15 02:30:01FILESERVER014688CommandLine=vssadmin.exe delete shadows /all /quiet; SubjectUserName=DA_svc.Cover IOC: Recovery-inhibition begins - this alone should be a P1 alert regardless of what follows.
2022-03-15 02:30:03FILESERVER014688CommandLine=wbadmin.exe delete catalog -quiet.Removes Windows Backup catalog - second recovery layer destroyed.
2022-03-15 02:30:05FILESERVER014688CommandLine=bcdedit /set {default} recoveryenabled no and bcdedit /set {default} bootstatuspolicy ignoreallfailures.Disables Windows recovery environment - belt-and-suspenders against restoration.
2022-03-15 02:30:40FILESERVER024688Same three commands, same account, 39 seconds later.Coordination IOC: Near-simultaneous execution across a second host - automated deployment, not one operator typing manually on each box.
2022-03-15 02:31:10SQL014688Same command set.Third host in the same 90-second window - confirms scripted/GPO-pushed execution.
2022-03-15 02:32:00FILESERVER0111 (File Create) x340/minMass rename: Q3_Report.xlsxQ3_Report.xlsx.locked; pattern repeats across \\FILESERVER01\Finance\ and \\FILESERVER01\HR\.Core IOC: Sustained 300+ file operations per minute - no legitimate user or backup job produces this volume.
2022-03-15 02:32:05FILESERVER0111 (File Create)\\FILESERVER01\Finance\README_RESTORE.txt created in every touched directory.Ransom note IOC: Confirms ransomware, not corruption or bulk legitimate re-encryption (e.g., BitLocker rollout).
2022-03-15 02:33:15FILESERVER0211 (File Create) x290/minSame rename pattern on FILESERVER02 shares.Confirms multi-host simultaneous encryption - enterprise-wide event, not isolated.
2022-03-15 02:34:00DC017036 (Service Stop)Service Volume Shadow Copy and Windows Backup stopped.Services proactively disabled to prevent future shadow copies during the encryption window.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - coordinated, multi-host ransomware deployment with recovery destruction and mass encryption! This should never be the first detection point - treat every earlier-stage hunt in this series as a chance to stop the chain before this page is ever written.