Session cookie theft is now one of the simplest ways into a cloud account. When someone signs in to Microsoft 365, Google Workspace or Okta, the service hands their browser a session cookie or token that says, in effect, "this person has already signed in, with MFA". Whoever holds that cookie is treated as that person until it expires or is revoked. Steal it, and the password and the MFA prompt never come up. This guide explains how the theft happens, why MFA does not help once it has, and what security teams can do about it.
What is session cookie theft?
A session cookie is a small piece of data that keeps you signed in between page loads. Without it, every click would mean another password and another MFA prompt. Session cookie theft, also called session hijacking or pass-the-cookie, is copying that data and loading it into a different browser on another machine. Microsoft compares it to pass-the-hash and pass-the-ticket attacks in Active Directory: the attacker reuses proof of a sign-in rather than signing in [1].
Why doesn't MFA stop a stolen session cookie?
MFA protects the moment of sign-in. A session cookie is issued after that moment. Microsoft's incident responders put it plainly: tokens are issued to an identity that has already completed multifactor authentication, so a replayed token satisfies the MFA check and access is granted [1]. Describing a large adversary-in-the-middle (AiTM) campaign in 2022, Microsoft stressed that this is not a vulnerability in MFA [2]. The stolen cookie works whatever sign-in method the user chose [2].
That has a practical consequence. Microsoft recommends phishing-resistant MFA, such as FIDO2 security keys and certificate-based authentication, against relay kits that capture a sign-in as it happens [2]. Strong MFA still does nothing about a cookie copied from a laptop by malware after a genuine sign-in.
How do attackers steal session cookies?
Infostealer malware
Infostealers are malware that copy saved passwords, cookies and other secrets from a device and send them to the attacker, who often sells them on. Last month Microsoft led a global action against Lumma, one of the most widely used. Between 16 March and 16 May 2025 it identified more than 394,000 Windows computers infected with Lumma, which spreads through spear-phishing emails and malicious adverts [3]. Lumma's operators were among those who claimed in 2024 to have bypassed new cookie protections in Chrome, and researchers confirmed it could extract cookies from the latest version [4].
The stolen data feeds bigger attacks. SpyCloud's summary of Verizon's 2025 Data Breach Investigations Report notes that 54% of ransomware victims had credentials exposed in infostealer logs beforehand [5]. The same report found that 46% of compromised systems holding corporate logins were not managed by the company, and that they held personal and business credentials side by side [6]. A contractor's home PC or a family laptop can leak a work session as easily as a company device, and the security team never sees it happen.
Adversary-in-the-middle phishing
AiTM kits put a proxy between the user and the real sign-in page. The victim sees the genuine Microsoft or Google page, types a password, approves the MFA prompt, and the proxy keeps the session cookie that comes back. Microsoft tracked one such campaign that attempted to target more than 10,000 organisations from September 2021 [2]. These kits need somewhere to host the fake page, and Interisle Consulting Group found that 79% of the domains reported for phishing in its 2024 study were registered by the criminals themselves [7]. That is why treating brand-new domains with caution helps, as our guide to URL filtering and newly registered domains explains.
Malicious browser extensions
An extension with permission to read cookies can take them straight from the browser. In April, Varonis researchers published a proof of concept called Cookie-Bite: a Chrome extension that watched for Microsoft sign-ins, read the Entra ID session cookies and sent them to the attacker, who loaded them into another browser [8]. When the researchers uploaded the packed extension to VirusTotal, no security vendor flagged it [8]. The targeted cookies last up to 24 hours, or up to 90 days for the persistent "stay signed in" version [8].
What are the signs of a hijacked session?
Theft itself is hard to see, because it happens on the endpoint or on the attacker's server. Replay is easier to spot, because the attacker's browser is not the victim's. Signals worth watching include:
- A session that suddenly moves to a new IP address, network provider or country without a new sign-in [2].
- A change of browser or operating system in the middle of a session [2].
- Access from anonymising services rather than home or office networks [2].
- New inbox rules that hide or forward messages, a common follow-up to AiTM theft [2].
- A session cookie in use in a browser where nobody signed in, which only a sensor in the browser itself can confirm.
Some identity providers now evaluate these signals after sign-in, not just at the door. Okta, for example, says its Identity Threat Protection evaluates every request after authentication and can challenge a hijacked session and revoke the Okta session cookie, forcing a fresh sign-in [9].
How to reduce the impact of session cookie theft
No single control stops session theft, so the aim is to shorten the window and raise the cost:
- Check the device on every sign-in. Conditional access policies based on device compliance are enforced even when a stolen cookie is replayed [2], and Microsoft advises that allowing only known devices that meet its security baselines helps against credential-theft malware [1].
- Shorten sessions where it matters. Reducing session lifetime forces people to re-authenticate more often, which limits how long a stolen cookie works [1]. Apply it to admin portals and finance apps first, not to everyone.
- Control browser extensions. Allow only approved extensions by policy and block developer mode, as the Cookie-Bite researchers recommended [8].
- Use continuous access evaluation where it exists. Microsoft supports it for Exchange, SharePoint and Teams, so those services can act on events such as a revoked session instead of waiting for a token to expire [1].
- Stop infostealers at the endpoint. Endpoint detection and application control remain the main defence against the malware itself. Chrome's newer protections make theft noisier on the device, which gives those tools more to catch [10][4].
Resetting a password does not end a stolen session. Microsoft advises revoking refresh tokens as well as resetting the password, and notes that an access token can stay valid for up to an hour after revocation [1].
What are device-bound session credentials?
The lasting fix is to make a stolen cookie useless on any other machine. Google's Device Bound Session Credentials (DBSC), announced in April 2024, let a website tie a session to one browser on one device [11]. The browser creates a key pair and stores the private key in a way that is hard to export. The website issues short-lived cookies and asks the browser to prove it still holds the key before refreshing them [11]. A copied cookie then stops being useful elsewhere, so attackers would be forced to act on the device itself, where endpoint tools have a better chance of catching them [11].
There are two catches. Google described DBSC as a prototype when it announced it, and a website has to add support before its sessions are protected [11]. Google also says that, because of how cookies and desktop operating systems interact, browsers cannot protect cookies against malware with the same level of access as the browser itself [11]. Earlier hardening shows the arms race: Chrome 127 added app-bound encryption for cookies on Windows in July 2024 [10], and within weeks several infostealer families claimed to have bypassed it [4].
What to look for in session theft protection
When you assess tools, ask how each one helps at each stage of the attack:
- Before theft: does it block known infostealers and malicious extensions, and can it report which extensions are able to read cookies?
- At replay: does your identity provider re-check the session after sign-in, and can it take signals from other tools, such as endpoint risk scores [9]?
- After detection: can one action revoke every session for a user across connected apps, and does the alert reach your SIEM with enough context to act?
- For the future: do your identity provider and key SaaS apps plan to support device-bound sessions?
Session theft often starts with a phishing page or a malicious download, so stopping those early still pays. SafeToOpen Browser Security judges every page as it loads and blocks brand-new phishing pages before a password is typed.