Risk May 12, 2026 · 7 min read

What Happens in the First 24 Hours of a Ransomware Attack

Most companies don't discover a ransomware infection at the moment it happens. By the time the ransom note appears, the attacker has often been inside the network for days. Here's what the first 24 hours actually look like — and what decisions determine whether you recover.

The word "ransomware" tends to conjure an image of a red screen and a demand for Bitcoin. That's the end of the story. What happens before that — in the hours and days leading up to the ransom note — is where the actual damage is done, and where prepared organizations separate themselves from unprepared ones.

Understanding the ransomware attack timeline isn't just useful for incident responders. It's the most compelling argument for the network controls that prevent, detect, and contain attacks before they become existential events for your business.

Before the Clock Starts: The Dwell Period

The first thing to understand about ransomware is that what you see isn't when it started. The average dwell time — the period between initial compromise and ransomware detonation — is measured in days, not hours. Sophisticated groups operate quietly inside a network for a week or more, mapping the environment, identifying backup systems, exfiltrating sensitive data for double-extortion leverage, and staging for maximum impact before pulling the trigger.

This matters because it means detection and containment during the dwell period is the single highest-value security investment any organization can make. Catching an attacker before detonation is categorically different from responding after.

The double-extortion reality: Modern ransomware groups don't just encrypt your data — they exfiltrate it first. Even if you recover from backups, the threat of publishing your data gives attackers a second lever. This changes the calculus of "we'll just restore from backup" as a response strategy.

The 24-Hour Timeline

Here's what a typical ransomware incident looks like from the inside, hour by hour.

Hour 0 Detonation

Ransomware Executes

Encryption begins across accessible file shares, endpoints, and any connected storage. In a flat network, this spreads quickly. A well-segmented environment limits the blast radius to the affected segment. Users start reporting they can't open files. Help desk volume spikes.

Hour 1–2 Discovery

Ransom Note Appears / IT Is Notified

The ransom note surfaces — on encrypted systems, as a desktop wallpaper change, or via email. IT leadership is pulled in. The immediate instinct is to start remediation. The correct instinct is to stop, isolate, and document before touching anything.

Hour 2–4 Triage

Scope Assessment Begins

IT attempts to determine what was hit — which systems, which data, which locations. Without centralized logging and network visibility tools, this is largely manual and takes far longer than it should. Organizations with a SIEM or centralized log management can answer these questions in minutes. Those without it are guessing.

Hour 4–8 Escalation

Leadership and Legal Are Notified

The incident is no longer just an IT problem. The CEO, CFO, legal counsel, and cyber insurance carrier need to be looped in. If patient data, financial records, or PII was exfiltrated, notification obligations under HIPAA, state breach laws, or contracts may have already been triggered — with clocks running.

Hour 8–16 Containment

Network Isolation and Backup Assessment

Affected segments are isolated. The critical question surfaces: are the backups intact? Attackers specifically target backup infrastructure during the dwell period. Organizations with offline or immutable backups are in a fundamentally different position than those with network-attached backups that were also encrypted.

Hour 16–24 Decision

The Pay-or-Recover Decision

Leadership faces the core decision: negotiate and potentially pay the ransom, or begin the recovery process from backups and clean systems. This decision is driven by the integrity of backups, the estimated downtime of each path, the sensitivity of exfiltrated data, and the attacker's credibility and demands. There's no right answer — only better-prepared and less-prepared organizations.

The Decisions That Determine the Outcome

The difference between a recoverable incident and a catastrophic one usually comes down to a handful of pre-incident decisions — controls that either exist or don't when the attack detonates.

Without Preparation

Flat network allows full lateral spread. No centralized logging means no visibility into scope. Network-attached backups are encrypted. Downtime extends to weeks. Ransom payment becomes the likely path.

With Preparation

Segmented network limits blast radius. Log management enables rapid scope assessment. Immutable backups are intact. Incident response plan is executed. Recovery begins within hours, not weeks.

What Prevents This — or at Least Contains It

There's no control that makes ransomware impossible. But there are controls that make the difference between a contained incident and an existential crisis:

  • Network segmentation — limits how far ransomware can spread from a single compromised device
  • Centralized logging and alerting — enables detection during the dwell period and rapid scope assessment post-detonation
  • Immutable or offline backups — preserved backup integrity means recovery is always an option
  • Endpoint detection and response (EDR) — provides behavioral detection that signature-based AV misses
  • Email security controls — phishing remains the most common initial access vector
  • Multi-factor authentication — prevents credential theft from enabling lateral movement or remote access
  • A documented incident response plan — replaces chaotic improvisation with structured decision-making under pressure

Most of these aren't expensive. They're architectural and procedural. A network security assessment tells you exactly which of these you have, which you're missing, and in what order to address the gaps.

About the Author
Christopher M. Fraser

Christopher M. Fraser is the founder of Mercury Rising Security and a Director of Network Engineering with 20+ years of experience designing and securing enterprise networks. He holds CCNA, CCSK, and VMware NSX certifications and has led network security initiatives across healthcare, manufacturing, and professional services organizations.

Don't wait for the ransom note.

A network security assessment surfaces the gaps attackers exploit — before they get the chance to use them.

Request Your Assessment →