What Is Token Theft?
Token theft is the compromise and replay of an authentication token already issued to a signed-in user, which lets an attacker act as that user without the password or a multifactor prompt.
Credential theft takes the secret used to log in. Token theft takes the proof that login already happened, so attackers can replay tokens issued to a user (opens in new tab) even after that user satisfied multifactor authentication (MFA).
How token theft works
Most tokens in use are bearer tokens: any party that holds one (opens in new tab) can use it. The service checks that the token is valid and unexpired, not who presents it. Attackers can extract tokens (opens in new tab) from device memory, local storage, or network traffic and replay them from a machine they control.
Adversary-in-the-middle (AiTM) phishing is the representative case. The target clicks an impersonation lure, lands on a reverse proxy that relays traffic to the real sign-in page, and completes the password and MFA prompt as normal. The proxy copies the session cookie the real service issues at the end. In one documented campaign (opens in new tab), the attacker signed in with the stolen cookie hours later from a different IP address, read email and documents, and generated a new access token to stay in.
A token's lifetime sets the exposure window. In Microsoft Entra, access tokens last 60 to 90 minutes (opens in new tab), while refresh tokens carry a 90-day rolling window that restarts with each use.
Why token theft is hard to stop
Token theft inherits a completed authentication, so the type of MFA in use does not slow the attacker down. After AiTM steals the session cookie, the attacker is authenticated regardless of the sign-in method (opens in new tab) the victim used. No reauthentication challenge fires, and because stolen tokens are valid and time bound, anomaly detection often fails to flag the activity.
Remediation takes more than a password reset. In a January 2026 SharePoint-themed AiTM campaign, password resets alone proved insufficient (opens in new tab), so defenders also revoked session cookies and deleted attacker-created inbox rules. Revocation itself leaves a gap, because standard session revocation often invalidates only refresh tokens and leaves access tokens active for up to an hour (opens in new tab).
Newer variants produce legitimate tokens with no fake login page at all. Device code phishing and OAuth consent abuse hand attackers real access and refresh tokens, and device code phishing grants access without exposing credentials (opens in new tab), so password-focused detection has little to see.
Once inside, attackers read mail, set inbox rules, and launch business email compromise against the victim's own customers and partners. One stolen token can fuel a second-stage impersonation campaign.
Types of token theft attacks
Documented token theft techniques include:
- AiTM reverse-proxy phishing and phishing-as-a-service (PhaaS). Kits such as Evilginx and PhaaS services such as Tycoon2FA automate the relay and capture the session cookie after MFA. AiTM credential phishing is now the most prevalent example (opens in new tab) of modern phishing.
- Infostealer malware. Infostealers such as Lumma (opens in new tab) extract saved passwords, session cookies, and autofill data from Chromium, Mozilla, and Gecko-based browsers. Unmanaged personal devices (opens in new tab) often hold corporate logins alongside personal ones, so one infection can expose both.
- Device code phishing. The victim enters an attacker-generated code on Microsoft's legitimate device sign-in page and authorizes the attacker's session. Storm-2372 (opens in new tab) ran this flow with fake Teams meeting invitations, and EvilTokens (opens in new tab) abused the device code flow at scale before Microsoft disrupted it.
- OAuth consent phishing. The attacker sends a consent link for a malicious app, and approval returns access and refresh tokens. ShinyHunters-linked actors posed as IT support (opens in new tab) and guided employees through consent for an app disguised as a Salesforce Data Loader tool.
- Malicious browser extensions. The Cookie-Bite proof of concept watched for Microsoft login URLs (opens in new tab), filtered out the session cookies, and exfiltrated them through a Google Form.
- Pass-the-cookie and session replay. Attackers import cookies or tokens that they phished, harvested, or bought on a dark market into their own browser and replay them.
MITRE catalogs the replay step as T1550.004 (opens in new tab).
How to defend against token theft
Phishing-resistant MFA closes the proxy's main opening. A passkey presents its credential only to the exact domain it was issued to, so a lookalike domain gets nothing. Passkeys protect the sign-in step, though, and the session token issued afterward still needs protection.
Token binding removes the bearer property:
- Entra Conditional Access Token Protection accepts only device-bound sign-in session tokens (opens in new tab). It is generally available for native apps on Windows, iOS, and macOS, with browser support still in preview.
- Chrome Device Bound Session Credentials (DBSC) bind the session cookie to the device it was issued to, and Google Workspace (opens in new tab) has it on by default for Chrome on Windows.
- OAuth DPoP on Okta binds access and refresh tokens to a client-held private key (opens in new tab).
Operational controls shorten the window. Block device code flow, which Microsoft recommends blocking wherever possible (opens in new tab). Enable Continuous Access Evaluation so Exchange Online, SharePoint Online, and Teams cut off access within minutes (opens in new tab) of a critical event such as revoked refresh tokens. On Okta, refresh-token rotation with reuse detection invalidates the newest refresh token (opens in new tab) and every access token issued since authentication.
When defenders confirm a theft, they should revoke sessions, temporarily disable the account, delete inbox rules, and review consent grants (opens in new tab) on a weekly cadence in larger organizations.
How Doppel helps
Doppel is the agentic Social Engineering Defense (SED) platform that unifies Digital Risk Protection (DRP) and Human Risk Management (HRM). Token theft starts before any token is stolen: a lookalike login page, a spoofed sender, a QR code pointing at a login page, or a help-desk impersonation call.
The Doppel Threat Graph correlates the domain hosting the AiTM proxy, the paid ad or SMS lure pointing to it, and the fake profiles behind the pretext into one view of the attacker's infrastructure. Brand Protection then dismantles the lookalike login page, and agentic AI runs those takedowns at scale and routes only complex cases to analysts.
A session cookie the proxy captured stays valid after the domain comes down, so responders must pair the takedown with session revocation and inbox-rule cleanup. Each dismantled campaign feeds the Threat Graph, and Doppel can turn the same campaign into an employee phishing Simulation in one click.
Security Awareness Training can then rehearse the device code invitation or Teams IT-support call your people received that week. When attackers find their pages dismantled faster than they can rebuild them, your brand becomes too costly to attack
Request a demo to get started.
Frequently asked questions about token theft
What is token theft?
Token theft is an attack in which someone steals a token a service issued after sign-in, such as a browser session cookie or an OAuth access or refresh token, and replays it to act as the user. The service issued the token only after the password and MFA steps succeeded, so the attacker performs neither. The token works until it expires or an administrator revokes it.
What is token theft in cybersecurity?
In enterprise security, the term covers session cookies, OAuth tokens, SAML assertions, and Primary Refresh Tokens in identity platforms such as Entra ID, Okta, and Google Workspace. MITRE tracks the techniques as Steal Web Session Cookie (T1539) (opens in new tab) and Steal Application Access Token (T1528) (opens in new tab). Stolen tokens typically lead to mailbox access, data theft, and business email compromise.
What is the difference between token theft and session hijacking?
Session hijacking is the broader outcome: in a session hijack attack (opens in new tab), the attacker inserts themselves between the claimant and the verifier after a successful authentication. Token theft reaches that outcome by replaying an already-issued token. Session fixation is a different method that starts before login, when the attacker plants a known session ID and waits for the user to authenticate with it.
What is an example of a token theft attack?
Between August 8 and 18, 2025, the actor tracked as UNC6395 used stolen OAuth tokens tied to the Salesloft Drift integration to export data from Salesforce objects (opens in new tab) at customer organizations and search it for AWS keys, Snowflake tokens, and passwords. The attackers had been inside Salesloft's GitHub (opens in new tab) since March 2025 and went on to reach Drift's AWS environment and take the tokens. No password was phished and no MFA prompt appeared, because the tokens already carried the access each customer had granted the integration.

