Pass-the-Cookie
Also called session cookie theft, cookie replay.
Replaying a stolen session cookie to hijack an authenticated session.
What it is
An attack that steals a valid authentication or session cookie from a victim's browser and imports it into the attacker's browser to resume the victim's logged-in session. Because the session is already established, the cookie alone proves identity.
Why it matters
A stolen session token bypasses the password and any multi-factor prompt that was satisfied when the session began, making it a favorite post-phishing move against cloud apps. Defenders bind sessions to device or network context and watch for token reuse from new locations.
In practice
An IR team sees a cloud session active from two countries at once, traced to an infostealer that exfiltrated the user's browser cookies.
What to look for
- One session cookie used from two IPs, devices or countries.
- Sessions that continue after the user signs out.
- Infostealer activity on the user's device before the odd access.
Common mistake
Resetting the password and calling it done. The stolen session stays valid until it is revoked.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Cloud Identity Case
A cloud account acting out of character: read its CloudTrail records and sign-ins, name the attack, and pick the containment.
- Event Log Reader
Read a binary .evtx file or pasted event XML, with logon types, NTSTATUS codes and the Keywords mask decoded.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Microsoft Entra ID Protection Commercial
Scores sign-in and user risk in Microsoft Entra ID and can force MFA or a reset.
-
Okta Identity Threat Protection Commercial
Evaluates session risk continuously and can end sessions when it changes.
-
BloodHound Open source
Maps attack paths through Entra ID and Active Directory relationships.
Read next
- Session Hijacking: Taking over an already-authenticated session via its token.
- OAuth Token Theft: Stealing or phishing OAuth tokens to access accounts without a password.
- Adversary-in-the-Middle Phishing: A proxy phishing page that relays login to steal session tokens.