vssadmin deletes the shadow copies and files mutate en masse
Signals
- The EDR flags "vssadmin delete shadows /all" on a file server
- Very high volume of file modifications and renames within minutes
- The backup service was stopped
- A new extension appears on hundreds of files
What is your first action?
▸ See the breakdown (reasoning, evidence, MITRE, detection)
- A) An AV scan is slow and the encryption keeps happening while it scans; it does not stop the damage.
- B) ✅ Correct. This is active ransomware: every second is more files and it can spread over SMB. Isolating the host (do not power it off: you would lose memory/evidence) stops the bleeding while you investigate. Here you DO contain first.
- C) Restoring before containing can get re-encrypted; first cut the spread and confirm the scope.
- D) Resetting the password does not stop an encryption process already under way.
A triage rule many get wrong: usually you scope before you contain… except when the damage is ACTIVE and spreading. Shadow-copy deletion (vssadmin) + mass modifications + backup stopped = ransomware running NOW. The priority is to cut the spread: isolate the host from the network (without powering it off), then identify the strain, patient zero and the SMB blast radius.
- EDR/Sysmon: vssadmin/wbadmin/bcdedit, wmic shadowcopy delete
- 4104 log / command line with the shadow deletion
- Write and mass-rename spikes; outbound SMB connections from the host
Rule for vssadmin/wbadmin/bcdedit delete + backup service stop + anomalous file-write rate; correlate with SMB spread.