Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for THREAT-Impact-VSSShadowCopyDeletion.

Unlock with Pro - from £29/user/mo
THREAT-Impact-VSSShadowCopyDeletion IBM QRadar · QRadar

Detect Shadow Copy and Backup Catalog Deletion via vssadmin/wbadmin/wmic in IBM QRadar

Deleting Volume Shadow Copies and local Windows Server Backup catalogs is one of the most consistent pre-encryption steps observed across ransomware operators, because it removes the victim's fastest and cheapest recovery path before file encryption begins. Attackers who have already escalated privileges typically run one or more of: `vssadmin delete shadows /all /quiet` (bulk-deletes all shadow copies on all volumes, silently), `wmic shadowcopy delete` (the WMI equivalent, often used because vssadmin can be blocked by application allowlisting while wmic is overlooked), `wbadmin delete catalog -quiet` or `wbadmin delete systemstatebackup` (removes the local Windows Server Backup catalog and system-state backups so `wbadmin` itself can no longer be used to restore), and `bcdedit /set {default} recoveryenabled no` combined with `bcdedit /set {default} bootstatuspolicy ignoreallfailures` (disables the Windows Recovery Environment and automatic repair so a damaged/encrypted boot volume cannot self-heal). These four commands appear near-verbatim in incident reports for LockBit, Akira, Black Basta, BlackCat/ALPHV, Conti, and Ryuk, frequently chained together in a single batch script or PowerShell one-liner and executed seconds to minutes before the encryptor binary runs. The commands are legitimate, signed Windows administration utilities (LOLBins), so detection must key on the destructive argument combinations (bulk `delete shadows /all`, `shadowcopy delete`, `delete catalog`/`delete systemstatebackup`, `recoveryenabled no`) rather than on the binaries themselves, and correlate bursts of these commands across short windows and/or multiple hosts as the highest-confidence signal of an imminent or in-progress ransomware detonation.

MITRE ATT&CK

Tactic
Impact

QRadar Detection Query

IBM QRadar (QRadar)
sql
SELECT
  DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS EventTime,
  "Process Name" AS ProcessName,
  "Process Command Line" AS CommandLine,
  UserName,
  sourceip AS SourceIP,
  CASE
    WHEN "Process Name" ILIKE '%vssadmin%' AND "Process Command Line" ILIKE '%delete%' AND "Process Command Line" ILIKE '%shadow%' THEN 'vssadmin_delete_shadows'
    WHEN "Process Name" ILIKE '%wmic%' AND "Process Command Line" ILIKE '%shadowcopy%' AND "Process Command Line" ILIKE '%delete%' THEN 'wmic_shadowcopy_delete'
    WHEN "Process Name" ILIKE '%wbadmin%' AND "Process Command Line" ILIKE '%delete%' THEN 'wbadmin_delete_catalog_or_backup'
    WHEN "Process Name" ILIKE '%bcdedit%' AND "Process Command Line" ILIKE '%recoveryenabled%' THEN 'bcdedit_disable_recovery'
    WHEN "Process Name" ILIKE '%bcdedit%' AND "Process Command Line" ILIKE '%bootstatuspolicy%' THEN 'bcdedit_ignore_boot_failures'
    ELSE 'Other'
  END AS Technique
FROM events
WHERE
  LOGSOURCETYPENAME(logsourceid) ILIKE '%Sysmon%' OR LOGSOURCETYPENAME(logsourceid) ILIKE '%Microsoft Windows%'
  AND (
    ("Process Name" ILIKE '%vssadmin%' AND "Process Command Line" ILIKE '%delete%shadow%')
    OR ("Process Name" ILIKE '%wmic%' AND "Process Command Line" ILIKE '%shadowcopy%delete%')
    OR ("Process Name" ILIKE '%wbadmin%' AND "Process Command Line" ILIKE '%delete%')
    OR ("Process Name" ILIKE '%bcdedit%' AND ("Process Command Line" ILIKE '%recoveryenabled%' OR "Process Command Line" ILIKE '%bootstatuspolicy%'))
  )
ORDER BY starttime DESC
LAST 24 HOURS
critical severity high confidence

QRadar AQL query over Sysmon/Windows process-creation events for the recovery-inhibition command set. Recommend a QRadar rule requiring 2+ distinct Technique values from the same UserName/host within 30 minutes to reproduce the multi-command burst pattern that distinguishes ransomware precursor activity from a single routine maintenance command.

Data Sources

Sysmon (via QRadar Windows/Sysmon DSM)Windows Security Event Log Event ID 4688

Required Tables

events

False Positives & Tuning

  • Scheduled backup software pruning shadow copies or backup catalogs
  • Administrators manually reclaiming shadow copy storage
  • Golden-image pipelines adjusting bcdedit settings
  • VM/disk imaging tools clearing shadow copy state

Other platforms for THREAT-Impact-VSSShadowCopyDeletion


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Delete All Volume Shadow Copies via vssadmin

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=vssadmin.exe, CommandLine contains 'delete shadows /all /quiet'.

  2. Test 2Delete Shadow Copies via WMIC

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=wmic.exe, CommandLine contains 'shadowcopy delete'.

  3. Test 3Delete Local Backup Catalog via wbadmin

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=wbadmin.exe, CommandLine contains 'delete catalog -quiet'.

  4. Test 4Disable Windows Recovery Environment via bcdedit

    Expected signal: Sysmon/DeviceProcessEvents/Security 4688 process creation: FileName=bcdedit.exe, two events with CommandLine containing 'recoveryenabled no' and 'bootstatuspolicy ignoreallfailures' respectively.

Unlock playbooks & atomic tests with Pro

Get the full detection package for THREAT-Impact-VSSShadowCopyDeletion — response playbook and atomic red team tests, plus investigation guidance and hunting queries.

df00tech Pro — £29/user/month

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections

Tactic Hub

Detection Variants (1)

Different telemetry and tradecraft for the same technique — pick the one that matches the data you collect.