Resources

Session Hijacking: Token Theft and Cloud Account Takeover

Written by Jordan Dean | Nov 30, 2026

Hackers don't always need to steal passwords to break into cloud accounts. Sometimes, they can skip the login process entirely.

Session hijacking allows attackers to exploit the authentication tokens and session cookies that keep employees signed in to platforms such as Microsoft 365 and Google Workspace. By stealing these digital credentials, cybercriminals may gain access to corporate email, sensitive files, and cloud applications without triggering another multi-factor authentication (MFA) challenge.

As attackers increasingly target cloud identities rather than traditional network defenses, session hijacking and token theft have become important cybersecurity threats. Even organizations with strong password policies and MFA can face account takeover attacks when authenticated sessions are compromised.

What is session hijacking?

Session hijacking is a cyberattack in which an attacker takes control of a legitimate user's authenticated session to gain unauthorized access to an application or account.

When employees log in to cloud applications, authentication systems issue session cookies or security tokens that allow them to remain signed in. These tokens confirm that the user has already completed authentication, eliminating the need to repeatedly enter credentials or approve MFA requests.

If an attacker steals a valid session cookie or authentication token, they may be able to reuse it from another device and impersonate the legitimate user. This technique, known as a token replay attack or pass-the-cookie attack, can allow unauthorized access without another login.

Session hijacking differs from traditional credential theft because it targets an account after authentication has already occurred. This makes it difficult for security teams that rely primarily on login alerts to identify unauthorized access.

MITRE ATT&CK classifies session cookie theft as T1539 and the use of stolen web session cookies as T1550.004, both of which are relevant to cloud account compromise.

How attackers steal authentication tokens and hijack sessions

Session hijacking attacks can originate from phishing campaigns, malware infections, or compromised applications. While the initial attack methods vary, the objective is to obtain authentication material that can be reused to access an account.

One of the most common techniques is adversary-in-the-middle (AiTM) phishing, where attackers use malicious reverse proxies to intercept authentication sessions. An employee who follows a phishing link may be directed through attacker-controlled infrastructure that forwards their login activity to the legitimate Microsoft 365 sign-in page.

The employee enters their credentials and completes MFA, but the attacker can capture the resulting session cookie. If the stolen cookie is accepted by the service, the attacker may gain access without another authentication challenge.

Attackers also use information-stealing malware (infostealers) to extract browser cookies and authentication tokens from compromised endpoints. This approach can expose active cloud sessions even when employees haven't interacted with a phishing website.

Another growing concern is OAuth token theft through device code phishing. Rather than stealing a browser session cookie, attackers manipulate legitimate device authorization workflows to obtain access or refresh tokens. These tokens can potentially provide unauthorized access to cloud resources through services such as Microsoft Graph.

Microsoft's 2026 Digital Defense Report documented attackers abusing legitimate device sign-in workflows to obtain OAuth tokens and access Microsoft 365 resources. This illustrates how attackers can exploit trusted authentication processes without relying on traditional password theft.

Can session hijacking bypass MFA?

Yes, session hijacking can bypass certain MFA protections because attackers reuse an already authenticated session rather than attempt a new login.

Multi-factor authentication remains an important defense against credential theft and unauthorized access. However, many MFA methods verify identity during the initial authentication process, while subsequent requests rely on issued session cookies or tokens.

If an attacker steals that authentication material and successfully replays it, the cloud service may recognize the request as part of an existing authenticated session.

This comes into play during AiTM phishing attacks, where users may complete legitimate MFA challenges while attackers capture the resulting session information.

Phishing-resistant MFA methods, including FIDO2 security keys and passkeys, can significantly reduce exposure to authentication phishing. However, they do not automatically prevent malware from stealing an already established session.

Organizations should combine multiple security controls to reduce the risk of token theft and account takeover, including:

  • Phishing-resistant MFA: Protects against credential theft and phishing-based authentication attacks.
  • Conditional Access policies: Restrict access based on device compliance, location, and risk signals.
  • Device-bound tokens: Make stolen authentication tokens harder to reuse on unauthorized devices.
  • Endpoint detection and response (EDR): Detects malware and suspicious activity that could lead to token theft.
  • Continuous identity threat monitoring: Identifies unusual sign-ins and suspicious account behavior

Cloud account takeover: The risks of stolen sessions

A stolen authentication token can provide more than temporary access to an employee's inbox. Depending on the account's permissions and the token's scope, attackers may gain access to sensitive business information across connected cloud services.

In Microsoft 365 environments, compromised identities can expose resources within Outlook, SharePoint, OneDrive, and other applications. Attackers may search confidential communications, download documents, or impersonate employees in existing conversations.

This creates opportunities for business email compromise (BEC), data exfiltration, and additional identity-based attacks. Rather than sending suspicious messages from unfamiliar addresses, attackers can exploit the credibility of an established employee account to target colleagues, customers, or vendors.

Microsoft documented this behavior in its investigation of the Storm-2755 threat actor in April 2026. The campaign combined credential and token theft with session persistence to target employee payroll workflows. By operating through authenticated accounts, the attackers were able to blend malicious activity into legitimate business processes.

For organizations within the Defense Industrial Base (DIB), cloud account takeover presents additional risks. Compromised identities may expose controlled unclassified information (CUI), intellectual property, sensitive defense communications, or supplier relationships.

The potential damage depends heavily on the permissions associated with the compromised account, making least privilege access and cloud identity security essential components of defense.

How to detect session hijacking and token theft

Detecting session hijacking requires security teams to look beyond whether an account successfully authenticated. Because attackers may be using valid session tokens, their activity can initially resemble legitimate user behavior.

Microsoft Entra ID, Microsoft Defender XDR, and other cloud security platforms provide capabilities for identifying suspicious authentication activity, but effective detection often depends on correlating identity events with endpoint and cloud application telemetry.

Common indicators of session hijacking include:

  • Impossible travel and unfamiliar sign-ins: Account activity appears from geographically distant locations, unexpected IP addresses, or unrecognized devices.
  • Suspicious token replay: Authentication tokens are used from unusual devices, browsers, or locations without corresponding login activity.
  • Abnormal cloud activity: Unexpected SharePoint or OneDrive downloads, mailbox searches, or unusual access to sensitive resources.
  • Unauthorized account changes: New email forwarding rules, MFA registrations, or application permissions appear without a legitimate business reason.
  • Endpoint compromise indicators: Malware or suspicious processes attempt to access browser cookie storage or authentication material.

These behaviors don't always indicate an attack individually. However, when combined, they can reveal patterns consistent with compromised sessions or unauthorized cloud access.

For security operations centers (SOCs), continuous monitoring and threat hunting are especially valuable. Correlating endpoint detection, cloud audit logs, and identity telemetry helps analysts investigate suspicious sessions and identify potential account takeovers before attackers can expand their access.

How to prevent session hijacking and cloud account takeover

Preventing session hijacking requires security controls that protect authentication sessions as well as the login process.

Phishing-resistant MFA and strong identity security provide an important foundation. FIDO2 authentication and passkeys help protect against many credential-harvesting and AiTM phishing techniques, while Conditional Access policies can restrict access based on device compliance, risk signals, and other contextual factors.

Token protection and endpoint security add another layer of defense through:

  • Device-bound authentication tokens: Help prevent stolen tokens from being replayed on unauthorized devices.
  • Endpoint detection and response (EDR): Helps identify infostealer malware and suspicious attempts to access browser session data.

Organizations should implement appropriate session management policies, including token expiration, secure cookie configurations, and reauthentication for sensitive actions. These measures help limit the opportunities for attackers to exploit stolen authentication material.

Security teams should investigate anomalous sign-ins, unusual cloud activity, and suspicious identity behavior rather than assuming that successful authentication means an account is secure.

If a session hijacking attack is suspected, incident responders should revoke affected sessions and refresh tokens where supported, investigate the compromised endpoint, and review cloud activity for unauthorized changes or data access. A password reset alone may not immediately invalidate every existing access token.

Protecting cloud identities after authentication

Session hijacking highlights a weakness in traditional account security: successfully completing authentication doesn't guarantee that subsequent activity comes from the legitimate user.

For defense contractors and other businesses handling sensitive information, protecting cloud accounts requires continuous visibility into identity activity, strong endpoint security, and the ability to identify suspicious behavior across authenticated sessions.

RADICL helps organizations strengthen their cybersecurity defenses through continuous threat monitoring, detection, and response, identifying suspicious activity that may indicate compromised identities, token theft, or unauthorized cloud access.

By combining proactive threat detection with rapid investigation and response, organizations can reduce the risk of cloud account takeover and better protect the information their businesses depend on.