New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Hunting For Shadow Copy Deletion

Free

Proactively detect shadow copy deletion activities.

Get this skill

Free · Opens the source repo

What Hunting For Shadow Copy Deletion does

The Hunting For Shadow Copy Deletion skill provides a structured approach to threat hunting focused on the detection of Volume Shadow Copy deletions, a tactic often employed by ransomware and other malicious actors to inhibit system recovery. By leveraging telemetry from EDR and SIEM systems, this skill allows security professionals to query for specific commands related to shadow copy deletion, such as those executed via vssadmin, wmic, and PowerShell. This proactive detection mechanism is essential for identifying potential ransomware activities before they escalate into full-blown incidents.

This skill is particularly useful in environments where threat intelligence indicates active campaigns utilizing these techniques. It guides users through a hypothesis-driven workflow, enabling them to formulate testable hypotheses based on the latest threat intel. By identifying relevant data sources and executing targeted queries, security teams can analyze results for anomalies and validate findings through contextual analysis. The skill emphasizes the importance of correlating activities with broader attack chains and threat actor TTPs, ensuring a comprehensive understanding of the threat landscape.

The skill is designed for use during various scenarios, including incident response, security assessments, and purple team exercises. It requires a robust infrastructure, including an EDR platform with telemetry capabilities, a SIEM for log analysis, and threat intelligence feeds for effective IOC correlation. By documenting findings and updating detection rules, users can enhance their security posture against future threats.

Overall, this skill is a valuable addition to any security toolkit, enabling organizations to stay ahead of potential ransomware threats by proactively hunting for indicators of shadow copy deletion.

When to use it

Use this skill when actively hunting for indicators of shadow copy deletion, especially after receiving threat intelligence about ongoing campaigns.

When not to use it

This skill may not be suitable for environments lacking the necessary EDR and SIEM infrastructure or where threat intelligence is not available.

What you can build with it

Ransomware Detection

Use this skill to identify shadow copy deletions that may indicate ransomware is preparing to encrypt data.

Incident Response Preparation

Deploy this skill during incident response to scope potential compromises related to shadow copy deletion.

Security Assessments

Incorporate this skill into periodic security assessments to proactively hunt for indicators of shadow copy deletion.

How to install Hunting For Shadow Copy Deletion

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/hunting-for-shadow-copy-deletion --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

Hunting For Shadow Copy Deletion

When to Use

  • When proactively hunting for indicators of hunting for shadow copy deletion in the environment
  • After threat intelligence indicates active campaigns using these techniques
  • During incident response to scope compromise related to these techniques
  • When EDR or SIEM alerts trigger on related indicators
  • During periodic security assessments and purple team exercises

Prerequisites

  • EDR platform with process and network telemetry (CrowdStrike, MDE, SentinelOne)
  • SIEM with relevant log data ingested (Splunk, Elastic, Sentinel)
  • Sysmon deployed with comprehensive configuration
  • Windows Security Event Log forwarding enabled
  • Threat intelligence feeds for IOC correlation

Workflow

  1. Formulate Hypothesis: Define a testable hypothesis based on threat intelligence or ATT&CK gap analysis.
  2. Identify Data Sources: Determine which logs and telemetry are needed to validate or refute the hypothesis.
  3. Execute Queries: Run detection queries against SIEM and EDR platforms to collect relevant events.
  4. Analyze Results: Examine query results for anomalies, correlating across multiple data sources.
  5. Validate Findings: Distinguish true positives from false positives through contextual analysis.
  6. Correlate Activity: Link findings to broader attack chains and threat actor TTPs.
  7. Document and Report: Record findings, update detection rules, and recommend response actions.

Key Concepts

ConceptDescription
T1490Inhibit System Recovery
T1486Data Encrypted for Impact
T1485Data Destruction

Tools & Systems

ToolPurpose
CrowdStrike FalconEDR telemetry and threat detection
Microsoft Defender for EndpointAdvanced hunting with KQL
Splunk EnterpriseSIEM log analysis with SPL queries
Elastic SecurityDetection rules and investigation timeline
SysmonDetailed Windows event monitoring
VelociraptorEndpoint artifact collection and hunting
Sigma RulesCross-platform detection rule format

Common Scenarios

  1. Scenario 1: Ransomware deleting shadow copies before encryption
  2. Scenario 2: vssadmin delete shadows /all /quiet pre-encryption
  3. Scenario 3: WMIC shadowcopy delete via PowerShell
  4. Scenario 4: bcdedit disabling recovery mode before impact

Output Format

Hunt ID: TH-HUNTIN-[DATE]-[SEQ]
Technique: T1490
Host: [Hostname]
User: [Account context]
Evidence: [Log entries, process trees, network data]
Risk Level: [Critical/High/Medium/Low]
Confidence: [High/Medium/Low]
Recommended Action: [Containment, investigation, monitoring]

Frequently asked questions about Hunting For Shadow Copy Deletion

Similar skills