Threat Detection

How to Detect Ransomware with a SIEM: Early Warning Signs and Detection Rules

June 202413 min read

By the time files start getting encrypted, it is too late. The good news: ransomware is not a single instantaneous event — it is a multi-stage operation that generates detectable signals at every step before the payload fires. A properly configured SIEM can catch those signals and let you intervene while there is still time.

Ransomware Is a Process, Not an Event

Modern operators follow a predictable sequence: gain initial access, establish persistence, escalate privileges, move laterally, exfiltrate data for double-extortion, and only then deploy encryption. This often unfolds over days or weeks — a long window in which a SIEM has many chances to detect the intrusion.

The core insight

Encryption is the last stage, not the first. Every stage before it leaves log evidence. Detection is about catching the earlier stages, not the encryption itself.

The Attack Stages and Their SIEM Signals

Stage 1: Initial Access

Via phishing, exposed remote access, or unpatched internet-facing systems. Signals: logins from unusual geographies, authentication to remote access outside business hours, email gateway logs showing a malicious attachment opened.

Stage 2: Persistence and Privilege Escalation

Signals: new scheduled tasks or services, new accounts added to privileged groups, a standard user account suddenly performing administrative actions.

Stage 3: Lateral Movement

Signals: a single account authenticating to an unusually large number of hosts in a short window, remote execution tools used across systems, internal traffic deviating sharply from baseline.

Stage 4: Data Staging and Exfiltration

Modern ransomware steals data before encrypting (double extortion). Signals: large internal transfers consolidating data on one host, then large outbound transfers to unfamiliar external destinations.

Stage 5: Backup Destruction

Operators disable recovery just before encryption. Signals: commands deleting volume shadow copies, attempts to stop backup services, security tool tampering. This is the highest-priority signal — it almost always immediately precedes encryption.

Stage 6: Encryption

Signals: a single process modifying and renaming files at extremely high rates, mass file extension changes, ransom notes appearing across many directories at once.

The Detection Rules That Matter Most

  1. Volume shadow copy deletion — almost never legitimate; one of the strongest pre-encryption signals
  2. Backup service tampering or mass backup deletion — recovery destruction precedes encryption
  3. Mass file modification rate anomaly — a process touching hundreds of files per minute is encryption in progress
  4. Lateral movement velocity — one account authenticating to many hosts rapidly
  5. Privileged group membership changes outside change windows
  6. Security tool disablement
  7. Anomalous large outbound transfers — the exfiltration stage

Why correlation beats single rules

Any one signal alone might be a false positive. The power of a SIEM is correlation: shadow copy deletion AND lateral movement AND a privileged group change within the same hour is not noise — it is an active intrusion in its final stage. nPro maps these to MITRE ATT&CK so the chain is visible as a single incident.

Why Self-Hosted Matters

During an incident, attackers try to disable or blind monitoring. A self-hosted SIEM with append-only, tamper-evident log storage preserves the evidence you need for response even if endpoints are compromised — and keeps your sensitive incident data within your control.

Catch Ransomware Before Encryption

nPro ships with MITRE ATT&CK-aligned ransomware detection rules out of the box.