Sigma rule: Deletion of Volume Shadow Copies via WMI with PowerShell - PS Script

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-968fdbc637b2, updated 2022-12-02T00:00:00.000Z.

Rule

Title
Deletion of Volume Shadow Copies via WMI with PowerShell - PS Script
Status
test
Level
high
Author
Tim Rauch, frack113
Date
2022-09-20
Modified
2022-12-02
File
rules/windows/powershell/powershell_script/posh_ps_susp_win32_shadowcopy_deletion.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects deletion of Windows Volume Shadow Copies with PowerShell code and Get-WMIObject. This technique is used by numerous ransomware families such as Sodinokibi/REvil

Log source

product
windows
category
ps_script

Detection

selection_get:
    ScriptBlockText|contains:
        - 'Get-WmiObject'
        - 'gwmi'
        - 'Get-CimInstance'
        - 'gcim'
selection_shadowcopy:
    ScriptBlockText|contains: 'Win32_ShadowCopy'
selection_delete:
    ScriptBlockText|contains:
        - '.Delete()'
        - 'Remove-WmiObject'
        - 'rwmi'
        - 'Remove-CimInstance'
        - 'rcim'
condition: all of selection*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.impact
  • attack.t1490

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_win32_shadowcopy_deletion.yml

Sources and licences

  • SigmaHQ

    "Deletion of Volume Shadow Copies via WMI with PowerShell - PS Script" by Tim Rauch, frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_win32_shadowcopy_deletion.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Deletion of Volume Shadow Copies via WMI with PowerShell - PS Script",
entity page, dataset version ref-968fdbc637b2, updated 2022-12-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c1337eb8-921a-4b59-855b-4ba188ddcc42 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c1337eb8-921a-4b59-855b-4ba188ddcc42, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.