What it is
The Compromised-Session Incident Runbook is a step-by-step playbook for the moment you suspect a remote-access session has been hijacked, a credential has been stolen, or an external connection is doing something it shouldn't. It's built for the on-call responder who needs to act in minutes, not read theory, and it walks the full lifecycle — detect and triage, contain, eradicate, recover, and learn — with explicit guidance on what to kill first, how to preserve the session recording and logs as evidence before any cleanup, who to notify, and how to bring access back safely.
Each phase is concrete. Detect and triage confirms the signal is real (which session ID, identity, source, target), classifies severity by what the session can reach (production and privileged targets are P1), assigns an incident lead, and opens a timestamped log. Contain terminates the active session, disables the implicated identity and revokes its tokens everywhere, force-revokes its standing access to other systems, isolates the target host if compromised, blocks the source, and — critically — preserves the recording, logs, and host telemetry before any cleanup. Eradicate rotates the compromised credential and reachable secrets, hunts for persistence, reviews what the session touched, and scans the originating endpoint. Recover restores access only after rotation and posture re-verification, with step-up auth and tightened privilege. Learn runs a blameless review, names the control that should have caught it, and updates the runbook.
It includes a scenario quick-reference (hijacked privileged session, stolen credential with MFA bypassed, compromised vendor/jump host, rogue service/unattended session, EDR detection mid-session) mapping each to its first containment move and the evidence to grab, plus an evidence-and-notification checklist covering tamper-evident recording export, timeline reconstruction, stakeholder notification, legal/compliance engagement, and the breach-notification clock. It's designed to be kept where responders can reach it without a login — because the moment you need it, the systems may be exactly what you can't trust.
What it's used for
When a remote session goes bad, the cost is measured in minutes and in whether you preserved the evidence. The runbook is what turns panic into a sequence. It's used to:
- ✓ Respond to a suspected hijacked, hijacked-privileged, or anomalous remote-access session in minutes, with a defined order of operations rather than improvisation under pressure.
- ✓ Contain fast and correctly — terminate the session, disable the identity and revoke its tokens everywhere, force-revoke its other access, and isolate the target host — in the right sequence.
- ✓ Preserve the session recording, access logs, and host telemetry before any cleanup, so you have a real timeline instead of a guess after eradication.
- ✓ Work the specific scenario at hand using the quick-reference — stolen credential with MFA bypassed, compromised vendor/jump host, rogue unattended session, EDR detection mid-session — each with its first move and evidence list.
- ✓ Eradicate the foothold methodically: rotate credentials and reachable secrets, hunt for persistence (new accounts, SSH keys, scheduled tasks), and scan the originating endpoint.
- ✓ Recover safely — restoring access only after rotation and posture re-verification, with step-up auth and time-boxed privilege — and monitor closely for recurrence.
- ✓ Run a blameless post-incident review that names the control which should have caught it, fixes the root cause, and feeds improvements back into the runbook and the broader access program.
Who uses it
A compromised-session incident pulls in the responder, the system owner, and the people who must be notified. The runbook assigns each their part.
Context & good to know
Every compromised remote session is, by definition, a failed control — posture, conditional access, recording, or expiry let something through. That framing matters because it shapes both the response (move fast, preserve evidence, contain blast radius) and the learning (name the gap, close it). The runbook is built for the reality that you'll be acting under uncertainty and time pressure, possibly on systems you can no longer fully trust, which is why it's meant to live somewhere responders can reach without logging into the very environment that's compromised.
Containment order is where responders most often go wrong, and where the runbook is most opinionated. The instinct is to clean up immediately; the correct first moves are to stop the bleeding (terminate the session, disable the identity, revoke tokens everywhere, isolate the host) and then preserve the evidence before any cleanup. If you rotate credentials and wipe the host before exporting the recording and logs, you've destroyed the timeline you need to understand what happened and to meet any breach-notification obligation. 'Contain, then preserve, then eradicate' is the sequence that keeps the evidence intact.
The session recording is the single most valuable artifact in a remote-access incident, which loops back to why recording is mandated upstream. Without it, you're reconstructing the attack blind — guessing at what an attacker did instead of watching it. Preserving the recording in tamper-evident storage before eradication is the difference between a defensible timeline and a guess, and it's the first thing both an auditor and a legal team will ask for. This is why the runbook treats evidence preservation as a containment step, not an afterthought.
Dwell time — how long between the first malicious action and detection — is the headline metric the post-incident review fixates on, because shrinking it is usually worth more than any single new control. And the recurring root cause is over-privilege: an over-privileged identity turns one hijacked session into a major incident, while least-privilege limits the blast radius when, not if, a session is compromised. The runbook's 'learn' phase deliberately asks which control should have caught it and whether the compromised identity had more access than it needed — feeding answers back into the zero-trust checklist, the posture policy, and the access reviews that prevent the next one.