---
title: "Session Hijacking: How Stolen Cookies Beat 2FA | Browser.lol"
description: "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."
url: "https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa"
language: "en"
---

1. [Home](https://browser.lol/en)
2. [Blog](https://browser.lol/en/blog)
3. [Security](https://browser.lol/en/blog#security)

# 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.

[Janis Zesiger](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#author) February 5, 2026 Updated November 19, 2026 4 min read

![Session hijacking: inside a browser window, a bitten cookie with an arrow pointing at an open padlock, showing how a stolen cookie opens an account](https://browser.lol/img/blog/session-hijacking/hero.webp)

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.

## Key takeaways

1. Hijacking often sets off no new sign-in alert: nobody signs in again.
2. Several accounts taken over at once usually point to malware on your computer.
3. A stolen cookie [keeps working after the malware is removed](https://blog.google/chromium/fighting-cookie-theft-using-device/).

## 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.

1. You sign in

   Password plus a code, an app approval or a passkey

2. The site sets a cookie

   Your browser sends it with every page

3. Someone copies it

   Without you noticing

4. 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](https://spycloud.com/blog/2026-annual-identity-exposure-report/) in the infostealer logs it recovered from criminal sources.

- ### [Infostealer malware](https://browser.lol/en/blog/drive-by-downloads-infected-without-clicking)

  A program you installed by mistake copies your browser's cookies and passwords.

- ### [Fake sign-in pages](https://browser.lol/en/blog/typosquatting-and-homoglyph-domains)

  An adversary-in-the-middle (AitM) page relays the real sign-in, keeping your cookie.

- ### [Hijacked extensions](https://browser.lol/en/blog/browser-extensions-the-supply-chain-risk)

  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](https://blogs.microsoft.com/on-the-issues/2026/03/04/how-a-global-coalition-disrupted-tycoon/) 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](https://fidoalliance.org/passkeys/), so a fake page gets nothing.

What each sign-in protection stops

| 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](https://www.proofpoint.com/us/blog/threat-insight/dont-phish-let-me-down-fido-authentication-downgrade) (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](https://blog.google/security/protecting-cookies-with-device-bound-session-credentials/). Google [switched them on for Google accounts](https://workspaceupdates.googleblog.com/2026/05/prevent-account-takeovers-with-DBSC-now-generally-available-in-the-Chrome-browser-for-Windows.html) in Chrome on Windows in May 2026 and is [rolling them out on Macs](https://scotthelme.co.uk/device-bound-session-credentials-lands-in-chrome-on-macos/); 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

1. ### Use a clean device

   Your phone or another computer. Reset the suspect one before trusting it again.

2. ### Sign out everywhere

   In the account's security settings, end every session. This kills the stolen cookie.

3. ### Change the password

   After malware, change every password that browser had saved.

4. ### 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](https://www.microsoft.com/en-us/security/blog/2026/03/04/inside-tycoon2fa-how-a-leading-aitm-phishing-kit-operated-at-scale/) 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](https://browser.lol/en/blog/cloud-browser-that-stays-logged-in) (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.

## Frequently asked questions

**Can a website's script steal my session? (XSS)**

Cross-site scripting (XSS) is a website bug that runs an attacker's script on its pages. Well-built sites [hide session cookies from scripts](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie), but the script can still act as you on that page while it is open, in any browser; only the site can fix it.

**How do I know if my session was hijacked?**

Look for what the attacker does: messages you did not send, new mail forwarding rules, changed recovery details or unknown devices in the account's device list.

**Does a VPN protect against session hijacking?**

Hardly. HTTPS already protects cookies on their way across the network on nearly every site, and a VPN does nothing against malware, fake sign-in pages or bad extensions.

**Do device-bound sessions work in a cloud browser?**

Not in Browser.lol: its sessions run their browser on Linux, where Chrome does not use DBSC as of November 2026, so sites give it an ordinary cookie.

## Janis Zesiger

Founder of Browser.lol and Guard.ch

Janis Zesiger founded Browser.lol and Guard.ch and runs Zesiger.net in Switzerland. Janis builds the isolated session platform behind both products and writes about browser security, privacy and AI agents that use the web.

[LinkedIn](https://www.linkedin.com/in/janis-zesiger/) [zesiger.net](https://zesiger.net/)

Try it in a disposable session

Start a real desktop browser in your tab. There is nothing to install, and everything is deleted when the session ends.

[Start a session](https://browser.lol/en/create)

In this guide

1. [What is session hijacking?](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#what-is)
2. [How do hackers steal session cookies in 2026?](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#how)
3. [How do hackers bypass 2FA with a stolen cookie?](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#bypass-2fa)
4. [Session cookie stolen? What to do now](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#stolen)
5. [How to prevent session hijacking](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#prevent)
6. [Does a cloud browser stop session hijacking?](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#cloud-session)
7. [Frequently asked questions](https://browser.lol/en/blog/session-hijacking-how-stolen-cookies-beat-2fa#faq)

## Related articles

[All articles](https://browser.lol/en/blog)

- Security

  ### [Are Browser Extensions Safe? How to Spot a Hijacked One](https://browser.lol/en/blog/browser-extensions-the-supply-chain-risk)

  Are browser extensions safe? Most are, but sold or hijacked ones turn malicious overnight. Real cases, what each permission means and how to check yours.

  January 22, 2026

- Cloud browser

  ### [Cloud Browser That Stays Logged In: How Saved Profiles Work](https://browser.lol/en/blog/cloud-browser-that-stays-logged-in)

  A cloud browser that stays logged in keeps your cookies, logins and history in a saved profile you open from any device. How it works, and its limits.

  November 19, 2026

- Security

  ### [How to Open a Suspicious Link Safely (Check It First)](https://browser.lol/en/blog/testing-suspicious-links-without-risk)

  How to open a suspicious link safely: check it without clicking, scan it privately, open it in a disposable cloud browser, and what to do if you clicked.

  October 30, 2025
