Detection rules › Sigma

Windows native backup size re-configuration

Status
experimental
Severity
high
Log source
category process_creation, product windows
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker attempts to delete existing Windows native backup by reducing the allocated backup storage.

Known false positives

  • administrator cleaning outdated backup

MITRE ATT&CK coverage

TacticTechniques
Impact

Telemetry coverage

Rule body

title: Windows native backup size re-configuration
description: Detects scenarios where an attacker attempts to delete existing Windows native backup by reducing the allocated backup storage.
references:
- https://www.picussecurity.com/resource/blog/how-to-beat-nefilim-ransomware-attacks
- https://www.itechtics.com/volume-shadow-copies/
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin
- https://www.picussecurity.com/resource/blog/technique-to-delete-volume-shadow-copies-deviceiocontrol
tags:
- attack.impact
- attack.t1490
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection: # vssadmin resize shadowstorage /for=c: /on=c: /maxsize=401MB
    EventID: 4688
    NewProcessName|endswith: \Windows\System32\vssadmin.exe
    CommandLine|contains|all:
      - resize
      - shadowstorage
  condition: selection
falsepositives:
- administrator cleaning outdated backup
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 4688
  NewProcessName|endswith: \Windows\System32\vssadmin.exe
  CommandLine|contains|all:
    - resize
    - shadowstorage

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • resize corpus 9 (elastic 5, sigma 3, splunk 1)
  • shadowstorage corpus 4 (sigma 3, splunk 1)
field:"CommandLine" kind:match
NewProcessNameends_with
  • \Windows\System32\vssadmin.exe
field:"Image" kind:ends_with value:"\Windows\System32\vssadmin.exe"