Hunting ransomware precursor behavior

From meltedinhex/analyst-ai-pack · View interactive version

Hunting ransomware precursor behavior is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Hunts for ransomware precursor behavior that precedes encryption — shadow-copy and backup deletion, recovery disabling, security-tool tampering, and mass file modification — so the attack can be stopped before payload detonation. Activates for requests to hunt ransomware precursors, detect shadow-co

How to use this skill

Skill file

Hunting Ransomware Precursor Behavior

When to Use

before encrypting — deleting shadow copies, disabling recovery, killing security tools, and

stopping backup/database services.

Do not use this as a substitute for blocking the encryption itself — it is an early-warning

hunt for the preparation phase, not a recovery procedure.

Prerequisites

Workflow

Step 1: Hunt recovery-inhibition commands

python scripts/analyst.py hunt events.csv

Flags vssadmin delete shadows, wmic shadowcopy delete, wbadmin delete catalog,

bcdedit /set recoveryenabled no / bootstatuspolicy ignoreallfailures, and wevtutil cl.

Step 2: Detect defense and service tampering

Surface stopping/killing of AV/EDR and backup/DB services (net stop, taskkill,

sc stop) targeting veeam, sql, backup, sophos, defender, etc.

Step 3: Correlate and prioritize

A host showing recovery-inhibition + service-stop in a short window is a high-priority

pre-encryption signal — escalate immediately.

Step 4: Operationalize

Write a high-severity detection for shadow-copy deletion and recovery disabling.

Validation

Pitfalls

vssadmin-only rules.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.