Skill · 1 hands-on labs

Ransomware Precursor Detection

Investigate a ransomware night in real Windows logs: stale accounts, encoded PowerShell, Defender tampering, vssadmin delete shadows (T1490), Run keys and Event ID 1102.

What is Ransomware Precursor Detection?

Most ransomware attacks follow the same steps before anything is encrypted: get in with a valid account, switch off or blind security tools, delete backups and shadow copies, set up persistence, then run the encryptor. Each step leaves log evidence, and catching any one of them early can stop the attack.

How analysts do it

  1. Find the first logon by the account that did the damage, and check when it was last used before.
  2. Read 4104 and 4688 for Defender changes and downloads.
  3. Search for vssadmin, wbadmin and bcdedit command lines.
  4. Check Run keys, scheduled tasks and services for persistence.
  5. Note log clearing (1102, 104) and which logs survived through forwarding.

What to look for

  • vssadmin delete shadows /all /quiet (ATT&CK T1490).
  • Set-MpPreference -DisableRealtimeMonitoring and new Defender exclusions.
  • Dormant or contractor accounts logging on at night.
  • Database services stopped right before a new executable runs.
  • 1102 or 104 shortly after all of the above.

Practise it: 1 labs, easiest first

Every lab gives you real evidence to download and a set of questions. Guided labs tell you where to look, challenges do not.

Windows Event IDs you will use

Certifications that test this skill

Related skills

Questions people ask

Why does ransomware delete shadow copies?

Shadow copies let Windows restore earlier versions of files. Deleting them with vssadmin, together with backup catalogues (wbadmin) and recovery options (bcdedit), removes the quick way back, so victims are more likely to pay. MITRE ATT&CK tracks this as T1490 Inhibit System Recovery.