← Back to all articles

How a Malicious Chrome Extension Steals Your Session

Most red team engagements follow a familiar script. You scan the perimeter, find a vulnerability, exploit it, escalate privileges, and demonstrate impact. It’s effective, and organizations have gotten reasonably good at defending against that playbook.

What they’re less prepared for is an attacker who doesn’t touch the perimeter at all, who instead rides into the environment through a browser extension installed by one of their own employees.

This is a scenario I’ve run in red team operations, and it’s one of the most underappreciated attack vectors in a corporate environment. The reason it works isn’t because it’s technically sophisticated. It’s because browser extensions operate in a layer that most security controls aren’t watching.

What’s Actually Happening

When a malicious Chrome extension compromises a browser, it doesn’t need to break any encryption or steal a password. It just needs to be present while the user is already authenticated. From there, it can turn that browser into a fully functional HTTP proxy, meaning an attacker can route their own traffic through the victim’s browser, inheriting every active session, every authenticated cookie, every open application the user has access to.

Think about what that means for a corporate environment. Email. Internal tools. Cloud infrastructure. HR systems. Finance platforms. If your employee is logged into it and the extension is installed, an attacker can access it too, without triggering a login alert, without failing an MFA challenge, without leaving a trace in your identity provider’s logs. The session is already valid. They’re just using it.

Why This Vector Gets Overlooked

Extensions are trusted by default. Once installed, they operate with whatever permissions they requested, and users rarely revisit those permissions after the initial install. More importantly, enterprise security tooling is largely focused on network traffic and endpoint processes. A browser extension that’s quietly proxying sessions doesn’t look like malware to most EDR products. It looks like a browser doing browser things.

The delivery mechanisms are also low-friction. A convincing phishing email with a link to a “productivity tool” or a “required company plugin” is often enough. In more targeted scenarios, an attacker can inject extension code into an existing extension the user already trusts, one that already has broad permissions and hasn’t been audited. Or if the environment uses Chrome enterprise policies, there are paths to force-install extensions without user interaction at all.

What the Attack Path Looks Like

The part that should concern security leaders isn’t the technical sophistication: it’s the lack of it. Purpose-built tooling for this attack is freely available, openly documented, and requires no advanced skill to deploy. A motivated attacker can have a working command and control infrastructure stood up in an afternoon. Once a victim installs the extension, the attacker inherits their browser session entirely, browsing as them, accessing what they have access to, without any credentials changing hands.

What that means in practice: no login event fires. No MFA prompt triggers. No identity provider alert goes off. The session was already valid before the attacker touched it. From a detection standpoint, there’s nothing anomalous to catch, unless you’re specifically watching for it at the browser layer, which most environments aren’t.

What This Means for Security Programs

The reason I include this in red team operations isn’t to demonstrate a parlor trick. It’s to show organizations that session-based attacks via browser are real, accessible, and actively underdefended.

The controls that close this gap are not particularly exotic. Browser extension whitelisting through enterprise policy so only approved extensions can install. Endpoint visibility into what’s running in the browser environment. User training that specifically calls out unsolicited extension install requests as a red flag, not just phishing links.

The harder problem is the organizational one. Browser hygiene sits in a gray zone between IT, security, and end user behavior. Nobody fully owns it, which means it tends not to get addressed until something goes wrong.

If your security program hasn’t thought about what an attacker could do with access to a single employee’s authenticated browser session, that’s worth putting on the list. The tools to exploit it have been freely available for years. The defenses are achievable. The gap is just attention.

Share this article

Get new posts by email