Nobody plans an incident response the way they’d plan anything else — there’s no scheduled kickoff, no time to research the right approach, and the decisions that matter most get made in the first few hours, under pressure, often by whoever happens to be on call. The outcome of a web application security incident is disproportionately determined by what happens in the first 24 hours: whether detection was fast, whether containment was decisive without being destructive, and whether the organization had already decided who does what before the incident started rather than figuring it out in real time.
This guide walks through what should happen hour by hour during that critical window, and — more importantly — what needs to be decided and documented before an incident ever occurs, since the first 24 hours go well or badly based almost entirely on preparation that happened weeks or months earlier.
Contents
1. Introduction & Context
A web application security incident does not announce itself with a clear starting whistle. It usually begins with an ambiguous signal — an unusual spike in outbound traffic, a customer report of strange account activity, a file integrity alert — that someone has to recognize as a genuine incident before any response can begin at all. Everything that happens afterward, for better or worse, compounds from that recognition moment forward, which is exactly why the first 24 hours carry disproportionate weight in how the entire incident ultimately resolves.
This guide covers the specific decisions and actions that should happen during each phase of that first day — detection and triage, containment, investigation, and remediation with stakeholder communication — and the preparation work that determines whether an organization executes that timeline calmly or improvises it under pressure.
2. Business Impact: The Cost of a Slow First 24 Hours
IBM’s Cost of a Data Breach Report 2026 found that the mean time to identify and contain a breach rose to 247 days industry-wide — the first increase after five consecutive years of improvement — and that breaches with a lifecycle exceeding 200 days cost organizations an average of $5.65M, compared to $4.32M for those contained more quickly. That gap exists almost entirely because of what happens, or fails to happen, in the earliest hours of the response: a slow first 24 hours doesn’t just delay the outcome, it directly extends the window in which data continues to be exfiltrated and systems continue to be compromised.
| First-24-Hours Failure | Business Consequence | Regulatory Exposure | Severity |
| No designated incident commander or unclear escalation path | Hours lost while people determine who has authority to act | SOC 2 CC7.4, ISO 27001 A.5.24 | CRITICAL |
| Containment action destroys evidence needed for investigation | Root cause and full scope never confirmed; recurrence risk remains | PCI DSS Req. 12.10.5 | HIGH |
| No pre-approved communication plan | Delayed or inconsistent stakeholder and customer notification | GDPR Art. 33/34 — 72-hour notification window | CRITICAL |
| No documented runbook — response improvised in real time | Inconsistent execution, missed steps, extended containment time | SOC 2 CC7.3 | HIGH |
The GDPR notification row deserves particular emphasis: the 72-hour reporting window for a confirmed personal data breach starts running from the moment the organization becomes aware of it — not from when investigation concludes — which means the assessment of what data was actually exposed has to happen inside, not after, the first 24 hours if that deadline is to be met with confidence rather than a rushed, incomplete disclosure.
3. The First 24 Hours: Hour by Hour
3.1 Hour 0–1: Detection and Triage
The clock starts the moment an alert or report is recognized as a potential genuine incident, not when it’s fully confirmed. The immediate priority is triage: is this real, and how severe does it appear to be based on available information. The incident commander is formally declared and notified, and the response team begins assembling — this hour is about mobilizing the right people, not yet solving the problem.
3.2 Hour 1–4: Containment
Containment stops the immediate bleeding without destroying the evidence needed to understand what happened. This typically means: revoking or rotating compromised credentials, isolating the specific affected system rather than the entire environment where possible, and blocking confirmed malicious IP addresses or traffic patterns at the network edge. The goal at this stage is to stop active harm, not to fully resolve the incident — a rushed, overly broad containment action (like taking an entire production environment offline) can cause more business damage than the incident itself, while a too-narrow one leaves the attacker’s access intact.
3.3 Hour 4–12: Investigation
With immediate harm contained, the investigation phase establishes scope: what was actually accessed, how the attacker got in, and what other systems might share the same exposure. This is also the point at which legal counsel should be engaged to assess data exposure against notification obligations — a determination that depends on facts this phase is specifically working to establish, not on the earlier, less complete picture from containment.
3.4 Hour 12–24: Remediation and Communication
Remediation closes the actual vulnerability or misconfiguration that enabled the incident — not just the symptom that was contained earlier. In parallel, stakeholder communication begins based on what investigation confirmed.
Stakeholder Notification
Internal leadership needs a factual, non-alarmist status update; affected customers, if any confirmed data exposure exists, need clear notification through legal-approved channels; and regulators, where notification thresholds are met, need to be informed within their specific required windows. A pre-drafted communication template, adapted to the specific facts rather than written from scratch under pressure, is what separates a calm, controlled notification from a rushed one that raises more questions than it answers.
4. Proactive Incident Readiness with Teisoft
Teisoft’s Web Application Incident Response service is built around the fact that readiness determines outcome — the value of an experienced response team is largely wasted if the relationship starts after an incident is already underway, rather than being established, tested, and ready to activate the moment it’s needed.
4.1 What Incident Readiness Covers
- Pre-established response retainer: Experienced responders already familiar with the environment, available on a defined activation SLA rather than negotiated during the incident itself.
- Runbook development and review: A documented, role-specific response plan built for the organization’s actual infrastructure, not a generic template.
- Tabletop exercise facilitation: Structured walkthroughs that surface gaps in the runbook — an outdated contact, an unclear authority — before they surface during a real incident.
- Forensic investigation and evidence handling: Investigation conducted in a way that preserves evidentiary and legal defensibility, not just operational clarity.
| → Learn more about Web Application Incident Response |
| Teisoft’s Web Application Incident Response service establishes a ready response capability before an incident happens, not after. |
5. Step-by-Step: Building Your Incident Response Runbook Before You Need It
The following five-step process builds the preparation that determines whether the hour-by-hour timeline in Section 3 executes smoothly.
Step 1: Define Roles and Authority in Advance
Name an incident commander and a backup, explicitly, with the standing authority to declare an incident and activate the runbook without needing real-time approval from someone who may be unreachable.
Step 2: Pre-Authorize Containment Actions
Decide in advance which containment actions (credential revocation, system isolation, traffic blocking) the incident commander can execute immediately versus which require additional sign-off, so hour 1–4 isn’t spent seeking permission for actions already agreed to be reasonable.
Step 3: Draft Communication Templates Before an Incident, Not During One
Prepare legal-reviewed templates for internal, customer, and regulatory notification in advance, with placeholders for incident-specific facts — adapting a pre-approved template under pressure is far faster and less error-prone than drafting one from scratch.
Step 4: Run a Tabletop Exercise
Walk the full team through a realistic simulated incident, hour by hour, without executing any real actions. This is where a runbook that looks complete on paper reliably reveals its actual gaps — before those gaps are discovered during a real incident instead.
Step 5: Conduct a Post-Incident Review After Every Real Incident
After the incident is fully resolved, hold a blameless review: what worked, what didn’t, and what specific changes to the runbook would improve the next response. An incident that isn’t followed by this review teaches the organization nothing beyond the immediate fix, and the same gap tends to resurface in the next incident.
Incident Readiness: Before / After
| Element | State Before | State After | Improvement |
| Decision authority | Improvised in real time during the incident | Named commander with pre-agreed authority | Hours of delay eliminated |
| Containment actions | Debated during the incident | Pre-authorized within defined limits | Faster, more consistent containment |
| Stakeholder communication | Drafted from scratch under pressure | Adapted from a legal-reviewed template | Faster, more consistent notification |
| Runbook validity | Untested assumption | Verified through tabletop exercise | Gaps found before they matter |
6. Frequently Asked Questions (FAQ)
Q: Should we take a compromised web application completely offline the moment we detect an incident?
Not automatically. Taking the system fully offline stops the immediate damage but also destroys volatile evidence (active memory, network connections) needed for investigation, and may tip off an attacker who still has access elsewhere. Contain the specific compromised component — revoke credentials, isolate the affected server, block the malicious IP — while preserving the system in a state investigators can still examine, unless active, ongoing data exfiltration makes full isolation unavoidable.
Q: Who should have the authority to declare an incident and start the response clock?
This should be decided in advance, not improvised during the event. Typically a designated incident commander — often the security lead or CISO, with a named backup — has standing authority to declare an incident and invoke the runbook without needing sign-off from someone who may be unreachable at 2 AM.
Q: How do we know when to notify customers or regulators, versus continuing to investigate quietly?
Notification obligations are typically triggered by confirmed exposure of specific data categories (personal data, payment card data, health records) under frameworks like GDPR, not by the mere existence of an incident. Legal counsel should be looped in during the investigation phase — hour 4 to 12 — specifically to make this determination, rather than waiting until remediation is complete.
Q: Do we need an external incident response retainer if we already have an internal security team?
An internal team that has never handled a live incident under real pressure benefits significantly from a retainer relationship established in advance — the value isn’t replacing internal capability, it’s guaranteed access to experienced responders and a tested process during the specific hours when internal teams are often overwhelmed or too close to the incident to think clearly.
Q: How often should we run a tabletop exercise if we’ve never had a real incident?
At least annually, and after any significant change to infrastructure or the response team’s composition. A runbook that looks complete on paper routinely reveals gaps — an outdated contact list, an assumption about who has access to a specific system — the first time it’s actually walked through, and it’s far better to find those gaps in a tabletop exercise than during a real incident.
7. Conclusion & Next Steps
- IBM’s 2026 data shows breaches contained within 200 days cost $1.33M less on average than those that take longer — and that gap is driven almost entirely by decisions made or delayed in the earliest hours of response, not by anything that happens later in the incident lifecycle.
- The hour-by-hour structure in this guide — detection and triage, containment, investigation, remediation and communication — only executes smoothly if the roles, authority, and communication templates it depends on were established well before the incident began.
- A tabletop exercise is the single highest-leverage preparation step available: it’s the only way to find out whether a runbook that looks complete on paper actually works, without the cost of finding out during a real incident instead.
| → Web Application Incident Response |
| Teisoft’s Web Application Incident Response service establishes a tested, ready response capability — runbook development, tabletop exercises, and a response retainer — before an incident happens, not after. Contact Teisoft |
| → Managed Vulnerability Monitoring |
| Faster detection starts with continuous visibility. Teisoft’s Managed Vulnerability Monitoring service shortens the time between compromise and detection, which is precisely the variable that determines how much of the incident timeline is already behind you when the clock in this guide starts. |
Related Resources on teisoftllc.com
Incident response is the operational counterpart to continuous exposure management — see our guide to CTEM’s five stages for how proactive discovery and validation reduce how often this runbook needs to be activated in the first place.
- CTEM Explained: The 5 Stages of Continuous Threat Exposure Management
- Bot Management: Controlling Automated Traffic Without User Friction