Quick answer

What is session hijacking?

Session hijacking is when an attacker copies the token a site gives you after you sign in, and uses it to act as you. Because the token is issued after your password and two-step check, the attacker doesn't need either. A VPN doesn't stop token theft, infostealer malware or phone scams. Passkeys, signing out of old sessions and clean devices help most.

What helps against session hijacking
SituationWhat helps
A fake sign-in page that relays the real loginPasskeys. Web Shield blocks known phishing pages while connected.
Infostealer malware on your PCAvoid cracked software. A VPN can't remove malware.
A caller asks for a device codeHang up. A VPN can't stop phone scams.
Malicious code on a site you trustSign out of sites you aren't using. A VPN can't fix the site.
You think a session was stolenSign out of all sessions, then change your password.
A hand holding a smartphone showing a blurred sign-in screen with a glowing padlock, a laptop in the background at dusk

For years the advice was simple: use a strong password and turn on two-step sign-in. That advice still matters, but attackers have adapted. Some attacks now skip the password entirely. Instead, criminals steal the proof that you have already signed in, and use it to walk straight into your email, bank or trading account.

This is session hijacking, and two cases from October 2026 show how it works.

Two Cases From October 2026

Microsoft 365 sessions replayed across 79 organizations despite two-step sign-in

In an October 22, 2026 report, security firm Huntress said it detected 497 Microsoft 365 sign-in events across 79 organizations between July 14 and September 22, 2026, tied to a token replay campaign, against more than 200,000 failed login attempts. The tokens came from fake sign-in pages that relayed the real Microsoft login, from device-code phishing and from social engineering during a real login. Because Microsoft issues the token after the two-step check, whoever holds it doesn't need to pass that check again. The attackers replayed the stolen tokens from their own machines.

Once inside, Huntress says, the attacker registered at least 48 fake computers in victim organizations' Microsoft directories. In 19 organizations, the victim's two-step methods were wiped and a new one registered within three hours of the first sign-in. The attacker also set up hidden inbox rules. In one case, a rule caught any message mentioning payroll, direct deposit, bank or bonus, and the mailbox was used to send a payroll-related email to an outside accountant. That is the setup for payroll diversion and invoice fraud.

About $2.7 million drained from logged-in Polymarket traders

On October 29, 2026, prediction market Polymarket paused trading on its international site after a script from a third-party website performance monitoring service was replaced with malicious code. SecurityWeek reported that the code looked for traders who were already logged in and reused the authority of their live sessions to sell positions or send tokens to an attacker's address. Researchers' loss estimates ranged from about $2.19 million to $2.71 million. Polymarket said "anyone who has been impacted will be made whole," and later said it was returning $3.9 million to traders, according to a SecurityWeek follow-up.

In both cases, the attackers used sessions that were already trusted. Neither depended on cracking a password.

What a Session Token Is

When you sign in to a website or app, it does not ask for your password on every click. Instead, it gives your browser a session token, often stored as a cookie. That token says, "This person already proved who they are." It lasts for hours, days or sometimes weeks, so you stay signed in.

Here is the problem: anyone who copies that token can often look like you until it expires or is revoked, without knowing your password and without passing your two-step check again.

Three Ways Sessions Get Stolen

1. Adversary-in-the-middle phishing

A fake login page sits between you and the real site, passing everything through. You type your password and approve the two-step prompt on the real service, so everything looks normal. The fake page keeps a copy of the session the real site hands back. This is how the Microsoft 365 campaign worked. We covered a related kit in our EvilTokens phishing breakdown and in vishing attacks on Microsoft 365.

2. Infostealer malware

Infostealers copy saved passwords and session cookies from your browser in seconds. Microsoft says it found more than 394,000 Windows computers infected with one stealer, Lumma, between March 16 and May 16, 2025, before its legal action against Lumma that May. Verizon's 2025 Data Breach Investigations Report found that 46% of the infostealer-compromised systems with corporate logins in their data were non-managed devices hosting both personal and business credentials. See whether a VPN can stop infostealer malware.

3. Poisoned website code

The Polymarket case shows a third route: code that runs inside a trusted website and acts with the logged-in user's permissions. Users did nothing wrong except visit a site they trusted while signed in.

Why Attackers Go After Sessions

  • Two-step sign-in works. As more people turn it on, stolen passwords alone are worth less, so criminals go after the session that comes after the check.
  • Kits make it easy. Phishing-as-a-service kits now include relay features that capture sessions automatically.
  • Sessions last a long time. Many apps keep you signed in for days or weeks for convenience, giving a stolen token a long useful life.
  • One session can unlock a lot. A single email session can reset passwords on other accounts, approve payments or read sensitive files.

See Web Shield block a known malicious site.

If a link points you at a known phishing page, Web Shield blocks it before the page loads while CyberFence is connected. Here it is in under a minute.

Watch the Web Shield film

Select play to load YouTube, then start the film in the player. YouTube processes data when loaded; its privacy policy applies.

Watch on YouTube (opens a new tab)

Read the video transcript

Fake websites can look exactly like the real ones. One wrong link can cost you a password, or put malware on your device.

That's where CyberFence Web Shield comes in. Built by cybersecurity professionals, it turns on with your VPN. No setup needed.

It checks the sites and links you open against CyberFence's own database of known threats. If there's a match, it's blocked. The page never loads, and nothing downloads. Safe sites open as usual.

It works in your apps too: at home, on hotel Wi-Fi, or on mobile data. On iPhone, iPad, Android, Windows and Mac.

CyberFence Web Shield. Malicious sites, blocked. Choose your plan today.

Where a VPN Helps and Where It Doesn't

CyberFence is a VPN with Web Shield, which blocks known malicious and phishing sites while you're connected. To be plain: a VPN doesn't stop session token theft, infostealer malware or phone scams. Here is where it fits and where it doesn't.

Where it helps

  • Blocking known phishing sites. While CyberFence is connected, Web Shield blocks known phishing and malware sites. If a link leads to a fake sign-in page that has already been reported, it doesn't load, so you never type anything. New pages may not be listed yet, so it is a layer, not a cure. Learn more in how DNS filtering works.
  • Adding encryption on untrusted networks. Most major sites use HTTPS, which already encrypts your session. On public Wi-Fi, a VPN adds a layer of encryption between your device and the VPN server, so people on the same network see encrypted data instead of the sites you use. See whether a VPN protects from man-in-the-middle attacks.

Where it doesn't

  • It cannot stop malware already on your device from copying your cookies.
  • It cannot fix a compromised website. In the Polymarket case, the malicious code came from the site itself.
  • It cannot stop you approving a real two-step prompt on a page you were tricked into using, or reading a code to someone who calls pretending to be IT.

Warning Signs Your Session Was Hijacked

Session hijacking is quiet by design, because the attacker looks like you. These signs are worth acting on right away:

  • "New sign-in" alerts from places or devices you do not recognize, even though you did not enter your password anywhere.
  • New devices or sign-in methods listed in your account's security settings that you did not add. In the Microsoft 365 campaign, Huntress saw victims' two-step methods replaced within three hours in 19 organizations.
  • Inbox rules you did not create, especially rules that move or delete messages containing words like "payroll," "invoice," "bank" or "deposit."
  • Sent messages, replies or file shares you did not make.
  • Unexpected orders, trades, transfers or password-reset emails on financial and shopping accounts.
  • Being signed out unexpectedly, which can happen when a service detects suspicious use and cuts all sessions.

If you see any of these, sign out of all sessions from the account's security page, change your password, review sign-in methods and devices, and check your inbox rules. If it is a work account, tell your IT team immediately, because one hijacked mailbox is often used to target coworkers, clients and vendors next.

How to Protect Your Sessions

  1. Use passkeys or a hardware security key where offered. These are tied to the real website's address, so a relay page cannot use them.
  2. Never sign in from a link in an email or text. Type the address yourself or use the official app.
  3. Watch for device-code requests. If someone asks you to enter a code at a Microsoft or Google "device login" page, stop. Real IT teams rarely ask for that out of the blue.
  4. Sign out of sessions you are not using, especially on financial and trading sites, and use "sign out of all devices" after any scare.
  5. After a suspected compromise, revoke sessions and change your password together. A password change alone may leave a stolen session working.
  6. Check account security pages for unknown devices, new sign-in methods and inbox rules you did not create.
  7. Avoid cracked software and unofficial extensions, the main sources of cookie-stealing malware. See fake VPN extensions in Chrome.
  8. Keep your browser and operating system updated.

For Business Owners

The Microsoft 365 campaign reached 79 organizations, according to Huntress, and in at least one case the attacker went after payroll email. If you run a business, ask your IT provider whether your accounts require phishing-resistant sign-in, whether device-code sign-in is restricted, and how quickly stolen sessions can be revoked. Our guide to phishing emails that pass authentication checks covers the email side of this threat. For staff on shared Wi-Fi, CyberFence Teams is $12 per person/month, billed annually, for teams of 2 to 500 people, with Web Shield for each person. It doesn't replace phishing-resistant sign-in.

The Bottom Line

Session hijacking is the next step in a long arms race: as passwords and two-step sign-in improved, attackers moved to stealing the trust that comes after them. The defense is layered: phishing-resistant sign-in, fewer long-lived sessions, careful link habits, clean devices, and a VPN with a site blocker for known bad domains when you're on public Wi-Fi.

Frequently Asked Questions

What is a session token?

It's the proof a site gives your browser after you sign in, often stored as a cookie, so you don't have to sign in on every click. Anyone who copies it can often act as you until it expires or is revoked.

Does two-step sign-in stop session hijacking?

Not by itself. The token is issued after you pass the two-step check, so a stolen token skips it. Passkeys and hardware security keys help because a fake page can't use them.

Does a VPN stop session hijacking?

No. A VPN encrypts your connection, but it can't stop malware copying your cookies, a hacked site, or a phone scam. Web Shield can block known phishing pages while CyberFence is connected.

What should I do if I think my session was stolen?

Sign out of all sessions from the account's security page, change your password, remove sign-in methods and devices you don't recognize, and check your inbox rules. Tell IT if it's a work account.

Does changing my password end a stolen session?

Not always. Sign out of all sessions as well, so the stolen token stops working.

Read Next

Want to go deeper? Read the CyberFence competitor comparison hub , our free privacy and security tools , or CyberFence plans and pricing .