Detecting Ransomware Staging and Recovery Inhibition

Identify commands used to delete backups, shadow copies, recovery options, event logs, and other resources during ransomware staging.

Detecting Ransomware Staging and Recovery Inhibition
Detection queriesRansomware Jan 17, 2024#Ransomware#Shadow Copies#VSSAdmin#Recovery#Impact

Ransomware activity often includes preparation before encryption begins. Attackers may attempt to reduce recovery options, remove backups, clear evidence, or change system settings that make restoration more difficult.

The source defines a Windows command-line hunt for several behaviors associated with this staging and impact phase.

Commands Included in the Hunt

The query looks for activity involving:

  • vssadmin deleting shadow copies;

  • WMI shadow-copy deletion;

  • wbadmin deleting the backup catalog;

  • bcdedit disabling recovery;

  • wevtutil clearing logs;

  • cipher /w;

  • fsutil SymlinkEvaluation changes.

Detection Query

data.win.system.eventID:1 and data.win.eventdata.commandLine:(*vssadmin*delete*shadows* or *wmic*shadowcopy*delete* or *wbadmin*delete*catalog* or *bcdedit*recoveryenabled*no* or *wevtutil*cl* or *cipher*/w* or *fsutil*behavior*set*SymlinkEvaluation*)

The source recorded three matching events during the previous 30 days.

Why These Events Matter

Many of these commands have legitimate administrative uses, but several are uncommon in normal user activity.

Deleting shadow copies or backup catalogs, in particular, should be reviewed carefully when it happens outside approved maintenance or backup operations.

The event becomes more significant when combined with:

  • suspicious shell execution;

  • credential dumping;

  • security-control disabling;

  • mass file modification;

  • newly created scheduled tasks;

  • unusual remote administration.

Investigation Workflow

For each match, analysts should determine:

  • who executed the command;

  • whether the host is a workstation or server;

  • the parent process;

  • exact command line;

  • whether backup or recovery operations were planned;

  • other processes launched around the same time;

  • whether multiple systems performed the same action.

If the command appears shortly before widespread file changes, the event should be treated as a potential ransomware precursor.

Tuning

Known backup software or maintenance scripts may legitimately invoke some of these commands.

Exceptions should therefore be based on known process paths, signed software, service accounts, and expected schedules.

Correlation Value

The small result count in the source makes this rule useful for manual review.

A particularly concerning chain could be:

credential dumping → remote execution → shadow copies deleted → logs cleared

Such correlation can help distinguish isolated administration from coordinated malicious activity.

Operational Value

Ransomware detection should not begin only when encryption is already visible. Monitoring recovery-inhibition behavior can provide earlier signals and help the SOC respond before the final impact stage is complete.

Cloud image

30 Days of Enterprise-Grade Cyber Defense

Step into the future of cybersecurity with full access to a unified, intelligent platform — free for 30 days. Empower your security team with:

  • Advanced SIEM for real-time visibility, smart alerting, and deep forensics across cloud, on-prem, and hybrid environments

  • Continuous Vulnerability Management to identify, prioritize, and remediate risk across all assets

  • Live Cyber Threat Intelligence integrated directly into your workflows, with global insights and attacker profiling

  • AI-Powered Threat Detection that learns from your environment, explains alerts in plain language, and suggests next steps

  • Built-in Compliance Readiness for NIS2, GDPR, ISO 27001, and more, with automated reporting and audit tools

Whether you're managing a lean SOC or a full-scale enterprise security team, this platform gives you the tools to detect faster, respond smarter, and stay ahead of evolving threats — all without the complexity.

Experience enterprise-grade protection, streamlined workflows, and total control.

Your 30-day head start begins now.

Unlock Your 30 Days Free Trial