Detection rules › Sigma

Delete Volume Shadow Copies Via WMI With PowerShell

Status
stable
Severity
high
Log source
product windows, category ps_classic_start
Author
frack113
Source
github.com/SigmaHQ/sigma

Shadow Copies deletion using operating systems utilities via PowerShell

MITRE ATT&CK coverage

TacticTechniques
ImpactT1490 Inhibit System Recovery

Event coverage

Rule body yaml

title: Delete Volume Shadow Copies Via WMI With PowerShell
id: 87df9ee1-5416-453a-8a08-e8d4a51e9ce1
status: stable
description: Shadow Copies deletion using operating systems utilities via PowerShell
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1490/T1490.md
    - https://www.fortinet.com/blog/threat-research/stomping-shadow-copies-a-second-look-into-deletion-methods
author: frack113
date: 2021-06-03
modified: 2023-10-27
tags:
    - attack.impact
    - attack.t1490
logsource:
    product: windows
    category: ps_classic_start
detection:
    selection:
        Data|contains|all:
            - 'Get-WmiObject'
            - 'Win32_ShadowCopy'
        Data|contains:
            - 'Delete()'
            - 'Remove-WmiObject'
    condition: selection
falsepositives:
    - Legitimate Administrator deletes Shadow Copies using operating systems utilities for legitimate reason
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Data|contains|all:
        - 'Get-WmiObject'
        - 'Win32_ShadowCopy'
    Data|contains:
        - 'Delete()'
        - 'Remove-WmiObject'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Datamatch
  • Delete()
  • Get-WmiObject
  • Remove-WmiObject
  • Win32_ShadowCopy