Skip to content
WETNav

Impact · Windows · LOLBAS

vssadmin.exe

Volume Shadow Copy administration

Manages volume shadow copies. Deleting or resizing shadow copies removes the restore points used to recover files, which is a signature step in ransomware before encryption.

Legitimate use

Admins use it to list and manage shadow copies and their storage.

Worst caseCritical

Subcommands

delete

Deletes shadow copies. With shadows /all it removes all restore points.

High
shadows

Acts on shadow copies, used with delete, list or create.

Low
resize

Changes the storage for shadow copies. Shrinking it can silently drop existing copies.

High
create

Creates a shadow copy (server editions). Can be used to snapshot files for extraction.

Medium
list

Lists shadow copies, storage or providers.

Low

Switches

/all

Targets all shadow copies.

High
/quiet

Suppresses prompts, so a delete runs without confirmation.

Medium

Command lines to worry about

  • Critical

    Shadow copies deleted

    Deleting shadow copies removes local recovery points. One of the clearest pre-encryption ransomware steps. Treat as an active impact event.

    Detection regexvssadmin(\.exe)?\s+delete\s+shadows\b

    T1490

  • High

    Shadow storage resized

    Shrinking shadow storage can silently discard existing shadow copies, a quieter way to defeat recovery. Check the size value.

    Detection regexvssadmin(\.exe)?\s+resize\s+shadowstorage\b

    T1490

Where it is recorded

  • Security4688Process creation with the full command line, when command-line auditing is enabled.
  • Sysmon1Process creation with command line, hashes and parent process.
  • System7036The Volume Shadow Copy service changing state around the command.

Community detections

4 SigmaHQ rules for vssadmin.exe. The explainer checks every pasted command line against all of them.

  • High
    Shadow Copies Deletion Using Operating Systems Utilities

    Shadow Copies deletion using operating systems utilities

    T1070T1490by Florian Roth (Nextron Systems), Michael Haag, Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community, Andreas Hunkeler (@Karneades)

  • High
    Webshell Detection With Command Line Keywords

    Detects certain command line parameters often used during reconnaissance activity via web shells

    T1505.003T1018T1033T1087by Florian Roth (Nextron Systems), Jonhnathan Ribeiro, Anton Kutepov, oscd.community, Chad Hudson, Matt Anderson

  • High
    Webshell Hacking Activity Patterns

    Detects certain parent child patterns found in cases in which a web shell is used to perform certain credential dumping or exfiltration activities on a compromised system

    T1505.003T1018T1033T1087by Florian Roth (Nextron Systems)

  • Medium
    Shadow Copies Creation Using Operating Systems Utilities

    Shadow Copies creation using operating systems utilities, possible credential access

    T1003T1003.002T1003.003by Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.