WatchGuard Blog

Session Hijacking: The Threat That Survives Authentication

Session hijacking doesn't start at login. Learn how infostealers steal active sessions and why endpoint protection must be the first line of defense.

AI tools have quietly become repositories of sensitive business information, making them targets. Recent attacks targeting Claude users show exactly how that exposure happens, and it has nothing to do with the AI platform itself. These incidents originated from infostealers already installed on the affected users’ devices, likely delivered through malicious applications or unofficial downloads. 

These programs harvested data from active sessions, which attackers then reused to access accounts without having to authenticate again. After detecting suspicious activity and spikes in unauthorized usage, Anthropic terminated the affected sessions and removed saved payment methods. However, these measures alone didn’t fully resolve the problem.

Why Invalidating a Stolen Session Isn’t Enough

Session cookies keep users logged in so they don’t have to authenticate with every single interaction. When an infostealer compromises a device, it can extract these cookies from the browser and send them to an attacker-controlled server. As long as those cookies remain valid and can be reused from another machine, threat actors can impersonate the user without needing to know their password.

Furthermore, infostealers maintain persistent access to the device, hooking into browser processes to intercept credentials and session tokens each time the user logs in to a new account. The malware doesn't need to be triggered again; it's already resident and active. That’s why protecting access also requires paying close attention to what happens on the device after authentication.

In the case of the Claude attack, terminating active sessions prevented the attackers from continuing to use them, but the infostealers remained on the devices. This meant the malware had to be removed before securing the accounts; otherwise, any new logins would be exposed again.

The Importance of Context for Investigation and Response

As the Claude case shows, unauthorized account access often stems from a compromised device. For MSPs, investigating an incident like this means piecing together account activity and device-level signals. However, for those serving SMB clients without a dedicated security team, this strains limited resources, making it hard to quickly stop a threat and meet tight SLA windows. That's exactly why the investigation burden must shrink, and why endpoint prevention tools must do more of the heavy lifting.

The problem is compounded in environments where employees mix personal and work devices, a norm for most SMB clients. When a user accesses a work account from a personal device that's outside the managed environment, the infostealer may already be resident before the device is ever seen by IT. This means the compromise can predate onboarding or reach into devices that endpoint policies never touch. For MSPs, this reinforces why monitoring managed devices thoroughly is critical: it's the surface you can control, and the signals from those devices often reveal compromised sessions originating elsewhere.

Why Endpoint Prevention Has to Come First

Even thorough investigation of endpoints has limits if the threat isn't caught before it executes. The priority should be to detect and stop the threat right where the attack begins: at the endpoint. If an infostealer manages to run on a device, it can harvest session cookies, credentials, and other sensitive data long before any suspicious activity shows up in an account or application.

This is precisely why modern endpoint protection solutions play such a vital role. Beyond simply identifying known malware, these solutions enable detection of anomalous behavior, monitoring of suspicious activity, and blocking threats before stolen data can be used to compromise the organization’s other resources.

Lacking this visibility, security teams often find themselves reacting to the consequences of an attack rather than addressing its root cause. This slows down incident investigation and can allow the compromise to spread to other users, systems, or cloud services.

XDR capabilities add further value by providing deeper context. By correlating endpoint telemetry with signals from identities, networks, and cloud services, analysts gain a clearer picture of an incident’s scope and can prioritize their response actions. For MSPs without in-house analysts, partnering with a managed detection and response (MDR) service that operates across endpoint, identity, and network signals delivers capability without adding headcount. However, this visibility still hinges on the ability to detect malicious activity on the compromised device itself.

With a clearer view of the compromise’s root cause and impact, analysts can make informed decisions about which devices or accounts require intervention and what actions to take. Working within a unified workflow also reduces the effort needed to coordinate those responses.

Once a threat is confirmed, automated workflows built into endpoint protection platforms accelerate actions such as isolating affected devices, killing malicious processes, and cleaning up attack artifacts. This helps contain the incident while teams evaluate its full scope and restore normal operations.

That’s why finding the right endpoint platform is critical. When evaluating endpoint protection for a managed services environment, look for capabilities such as:

  • Behavioral detection, not just signature matching
  • Process classification before execution, not after detection
  • Correlated visibility across endpoint, identity, and network signals
  • Automated containment that doesn't require analyst intervention to trigger
  • Multi-tenant management so the same capability covers all client environments from one console

Conclusion

The Claude case demonstrates that authentication can no longer be viewed as the last line of defense. When threat actors can reuse legitimate sessions, security must extend to the very devices from which many of these threats originate.

For MSPs, this underscores the importance of adopting a strategy centered on endpoint prevention, detection, and response. The earlier an infostealer or suspicious activity is identified, the lower the risk that an account, an AI application, or an enterprise service becomes compromised.

The most effective intervention point isn't detection after the infostealer runs, nor is it session invalidation after the attacker is already in. It's preventing the malicious process from executing in the first place. Endpoint solutions that classify and enforce on every process before it runs, not just flag known signatures, close the window that infostealers depend on. For MSPs whose clients can't afford extended incident timelines, that shift from reactive to preventive is where the real risk reduction happens.