How it works · 19 of 34 Advanced
What is session hijacking (session cookie theft)?
Logged in without the password
Session theft: After you log in, the site gives your browser a session token that says "already checked"; whoever holds that token is treated as you, without password or second factor, until it expires or is revoked.
Loading the animation…
Say it like this After login, the site trusts a session token, not your password, so whoever copies the token is you until it is revoked; bind sessions to the device and make "revoke every session" part of every reset.
Under the hood — for builders
- Real example: what the wristband is
- After login the site sends a cookie (a small value the browser sends back on every request). Its flags limit where it goes, not who holds it:
- How long a stolen wristband lasts
- Microsoft Entra's defaults: the access token that pages check is short; the refresh token that quietly gets new ones is long:
- Binding: how the copy goes grey
- Device Bound Session Credentials (DBSC): the laptop's security chip makes a key pair at login; the site ties the session to the public half and keeps cookies short, renewing them only on proof:
- Reset vs revoke
- What happens to a stolen session after each response:
- Where wristbands are stolen
- Info-stealer malware on laptops; pass-through phishing pages (C1); a hacked VPN box, as in our gunra paper.
- Do first
- Put "revoke every session" beside "reset the password"; shorter sessions for admin tools; bind sessions where offered.
- Spot it
- One session used from two countries, or from a new device without a fresh login.
- Sources
- CISA AA26-237A · Microsoft Learn, token lifetimes · Google, DBSC in Chrome 146 · W3C DBSC explainer · RFC 6265.
What happens in the session theft animation, step by step?
Bind the wristband to this device: Copyable
- You log in with your password and code. In return, your browser gets a session token: a wristband.
- From now on, every page looks only at the wristband. That's why you aren't asked for your password on every click.
- Malware on a laptop copies the wristband. The thief walks in: no password, no code asked.
- Your turn: switch "bind to this device" on, above. Tie the wristband to the laptop it was given to.
- And cancel stolen wristbands. In CISA's 2026 test neither organisation had a process to revoke stolen tokens, so an attacker could walk back in.
- Shut out of the people's doors, attackers go after the software itself. Next: how software breaks, starting with injection.
Bind the wristband to this device: Bound to device
- Bound: the booth also ties the wristband to a key that never leaves Asha's laptop.
- Inside nothing changes for Asha: the lamps check the wristband, and now its key too.
- Malware copies the wristband again. Without the laptop's key, the copy goes grey on the thief's wrist and the gate stops him.
- That's Device Bound Session Credentials: on by default in Chrome 146 on Windows since April 2026, with the key kept in the laptop's TPM chip.
- And still cancel stolen wristbands. In CISA's 2026 test neither organisation had a process to revoke stolen tokens.
- Shut out of the people's doors, attackers go after the software itself. Next: how software breaks, starting with injection.
What everyday example explains session theft?
A festival wristband. The ticket and ID are checked once at the gate; after that, staff only look at the wristband. Steal the wristband and you skip every check.
Why should a team care about session theft?
You will write the incident playbook; make "revoke every session" a step beside "reset the password", shorten session life for admin tools, and turn on device-bound sessions where offered.