Claude Session Theft: How Infostealers Bypass 2FA and SSO

- Infostealer malware stole Claude session cookies to bypass 2FA and SSO guards.
- Attackers targeted card-billed, self-serve accounts that lack corporate IT oversight.
- Stolen sessions could potentially reach corporate Google Workspace via account grants.
- Anthropic responded by signing out affected users and refunding fraudulent charges.
The security perimeter of the modern enterprise is often imagined as a fortress guarded by multi-factor authentication (MFA) and Single Sign-On (SSO) protocols. However, a recent security campaign targeting Anthropic users demonstrates that attackers are no longer trying to break down the front door. Instead, they are stealing the digital keys that prove a user has already entered.
The mechanics of session cookie replay
At the heart of this breach is the session cookie, a small piece of data that tells a server a user has already successfully authenticated. When a person logs into Claude, the system verifies their credentials and 2FA code, then hands the browser a cookie. This allows the user to navigate the platform without re-entering a password every few minutes. The vulnerability lies in the fact that if an attacker steals this cookie, they can replay it on their own machine, appearing to the server as a previously verified user.
Because the attacker possesses the active session, they never touch the login page. This means the two-factor authentication guards, which only trigger during the initial login process, are completely bypassed. As noted by Help Net Security, this shift marks a transition where session theft is effectively becoming the new credential theft.
Infostealers and the malware chain
The attack did not rely on a flaw in Anthropic's core code but rather on the infection of end-user devices. General-purpose infostealer malware was used to lift login sessions and saved passwords directly from browsers. The campaign involved several known stealer families, specifically targeting both Windows and macOS environments.
The malware families identified in this campaign include:
- Windows: Vidar, LummaC2, StealC, RedLine, and Acreed.
- macOS: Atomic Stealer.
In one documented case, a user traced the initial infection back to the installation of a pirated game, illustrating how common vectors of malware can lead to high-stakes corporate data exposure. Once the malware is active, it scrapes the browser's cookie store and sends the data to the attacker, who then injects the Claude session into their own browser.
The danger of self-serve corporate accounts
A critical detail in this security event is the specific type of accounts targeted. The affected users were utilizing card-billed, self-serve accounts rather than enterprise-managed identities. This creates a massive blind spot for corporate IT departments. While an enterprise account is governed by a corporate identity provider, self-serve accounts are essentially personal accounts used for professional work.
Because these accounts sit outside the corporate admin console, IT administrators have no visibility into them and no power to revoke sessions. This means that while SSO provides revocation and visibility for official corporate accounts, it offers zero prevention or control for employees who sign up for AI tools using a credit card on the side. The attack chain runs in one direction: from an infected machine, through a stolen cookie, past a checkpoint that never fires, and into every resource the account can reach.
From AI prompts to corporate Gmail access
The risk extends far beyond the loss of AI usage credits. The most alarming aspect of this campaign is the potential for lateral movement into other corporate systems. If a Claude account has been granted permissions or connectors to a corporate Google Workspace, a stolen session cookie could potentially provide a gateway into corporate Gmail.
This creates a scenario where a breach of a third-party AI tool leads to the exposure of sensitive internal communications. Since the session is already authenticated, the attacker inherits the grants associated with that account. The exposure is not limited to the AI interface but extends to whatever integrated data the user has connected to their Claude environment.
Anthropic's response and mitigation
Anthropic detected the anomaly through its usage meters, noticing that account limits were being refilled and drained while the legitimate owners were away from the platform. To combat the campaign, the company took several corrective steps, including signing out all affected sessions and stripping saved payment methods from the compromised accounts.
The company also issued refunds for charges incurred by the attackers. While the financial loss from burned usage was relatively small, the primary concern remained the potential data exposure. Signing out the accounts was the only effective remedy, as a replayed cookie dies once the session it copies is terminated by the server.
The attack chain runs in one direction, from an infected machine through a stolen cookie past a checkpoint that never fires, and into everything the account can reach.
For a deeper dive into how these session cookies can bridge the gap to corporate email, detailed reports can be found via VentureBeat and Aventure.
Global implications for US and UK enterprises
For businesses in the USA and UK, this incident highlights the growing danger of Shadow AI—the use of AI tools by employees without official IT approval. In these jurisdictions, where corporate liability for data breaches is high, the use of self-serve accounts creates an unmanaged attack surface that bypasses standard security stacks.
From a regulatory perspective, US companies must consider how such breaches impact their data privacy obligations, especially if corporate Gmail access is compromised. In the UK, the lack of administrative control over these accounts could be viewed as a failure in maintaining adequate technical and organizational measures to protect personal data. The core lesson for international firms is that 2FA is not a silver bullet; it protects the login, but it does not protect the session. Enterprises must move toward stricter policies regarding third-party AI integrations and mandate the use of centrally managed enterprise accounts to ensure that IT admins can revoke access instantly across the entire organization.
FAQ
Does 2FA protect against this type of attack?
No, because the attacker steals a session cookie created after the 2FA check has already been completed, allowing them to bypass the login page entirely.
Why couldn't IT admins stop the breach?
The attacks targeted self-serve, card-billed accounts which are not managed by corporate identity providers, meaning they are invisible to the company's admin console.
How did the attackers get the cookies?
They used infostealer malware (such as LummaC2 or RedLine) that was installed on users' computers, often through vectors like pirated software.
Can this happen with other AI tools?
Yes, any service that uses session cookies to maintain user logins is potentially vulnerable to session replay attacks if the user's device is infected with infostealer malware.
Sources: Venturebeat, Aventure, Timesindia ·
Scrivila qui: Susanna, l assistente AI di glacom, ti risponde via email con un approfondimento gratuito.
Nessuna consulenza personalizzata (finanziaria, legale o medica): solo informazione e fonti. Email usata solo per rispondere.
oppure scrivile su: WhatsApp · Telegram · SimpleX · Delta Chat · Email











