Session Hijacking: How Stolen Cookies Get Past Your 2FA
Session hijacking lets a stolen cookie skip your password and 2FA. How infostealers and phishing kits steal sessions, what stops them and what to do now.

Session hijacking is taking over an account you are signed in to by copying its session cookie, the code your browser sends to stay signed in. The site already checked your password and 2FA (the code or approval after it), so whoever holds the copy walks straight in.
What is session hijacking?
It is also called a pass-the-cookie attack. A copied cookie works until it expires or the site ends the session, and many sites keep you signed in for weeks.
You sign in
Password plus a code, an app approval or a passkey
The site sets a cookie
Your browser sends it with every page
Someone copies it
Without you noticing
They are you
No password, no 2FA
How do hackers steal session cookies in 2026?
Three routes dominate, and each needs a different defence. In 2025 alone, SpyCloud found 8.6 billion stolen cookies in the infostealer logs it recovered from criminal sources.
Infostealer malware
A program you installed by mistake copies your browser's cookies and passwords.
Fake sign-in pages
An adversary-in-the-middle (AitM) page relays the real sign-in, keeping your cookie.
Hijacked extensions
An automatic update turns a trusted add-on into a cookie thief.
Criminals rent these relay kits by subscription. The biggest, Tycoon 2FA, made up about 62% of the phishing attempts Microsoft blocked by mid-2025. Microsoft, Europol and partners seized 330 of its domains in March 2026, but rival kits remain.
How do hackers bypass 2FA with a stolen cookie?
2FA guards only the sign-in. A passkey (a sign-in key on your device, unlocked by fingerprint or PIN) is tied to the real site's address, so a fake page gets nothing.
| Protection | Fake sign-in page | Malware on your computer |
|---|---|---|
| Password only | No | No |
| SMS, app code or push approval | No | No |
| Passkey or security key | Yes, unless a fake error pushes you to a code (shown in 2025, not seen in real attacks then) | No |
Device-bound sessions (DBSC, cookies tied to your computer's security chip) make copied cookies expire quickly. Google switched them on for Google accounts in Chrome on Windows in May 2026 and is rolling them out on Macs; most other sites, Firefox and Safari do not support them yet, and malware still on your computer can use your sessions from there.
Session cookie stolen? What to do now
Use a clean device
Your phone or another computer. Reset the suspect one before trusting it again.
Sign out everywhere
In the account's security settings, end every session. This kills the stolen cookie.
Change the password
After malware, change every password that browser had saved.
Check what changed
Recovery email and phone, 2FA methods, mail forwarding rules and connected apps.
The order matters: Microsoft found that Tycoon 2FA victims stayed exposed after a password reset unless their sessions were revoked. For a work account, tell your IT team at once.
How to prevent session hijacking
You cannot see a cookie leave, so prevention keeps the three routes closed.
Session hijacking protection checklist
- Install software only from the maker's site or your app store
- Never paste a command a web page tells you to run, whatever its CAPTCHA claims
- Keep your browser and system updated
- Keep extensions to the few you need, from publishers you know
- Let your password manager fill sign-ins: it will not fill on a lookalike address
- Log out of sensitive accounts when you are done: that ends the session
Does a cloud browser stop session hijacking?
Partly. A Browser.lol session runs the browser on our servers and streams only the picture to your tab.
Helps against
Pros
- Malware that copies cookies from your computer
- Extensions installed in your own browser
- Leftovers: a disposable session is deleted when you end it
Does not stop
Cons
- A fake sign-in page you type into inside the session
- Malware that records your screen or steals your Browser.lol sign-in
- Fake CAPTCHA commands: the session's clipboard reaches your computer
A saved profile (Plus and Premium, in beta) keeps logins between sessions, so your Browser.lol account becomes the key: protect it with a passkey. If you suspect theft, Sign out other sessions under Sign-ins in your dashboard ends every other sign-in.


