← All posts

Session security

Why a stolen session cookie walks straight past MFA

Multi-factor authentication is one of the best controls we have. It stops the attacker who has your password, and it should be on everywhere.

But MFA protects a single moment: the login. Once you've proven who you are, the application hands your browser a session cookie. For the rest of the session, that cookie is the proof. Whoever presents it is you.

The attacker doesn't need to log in

Infostealer malware runs on a victim's device and collects what's stored in the browser: saved passwords, autofill data and session cookies. Infostealers harvested more than 52 billion browser cookies last year.

An attacker with a valid, unexpired session cookie doesn't have to defeat MFA. They load the cookie into their own browser or script and send it with a request. The application sees a valid session and serves the request. There was no login, so there was no MFA prompt.

Why this is hard to see

From the edge, a replayed session can look ordinary. The cookie is valid, the request is well-formed, and the IP may be residential or proxied. A request-by-request score has little to go on, because no single request is wrong.

What changes is the session as a whole:

  • The client changes. The browser, OS or network is different from the one that logged in, often seconds later.
  • The behavior changes. The session goes straight to what's valuable: exports, payout details, API endpoints, account settings. A real user rarely works that way.
  • The pace changes. Sequential, machine-speed calls that no person would make.

None of these is visible from a single request. All of them are visible in your application logs, if you read the session end to end.

Bots and agents make it noisier

Bots are now 53% of web traffic, and AI agents act on behalf of real users, which blurs the old "bot or human" line. An agent using a customer's real session is legitimate if it's doing what that customer wants, and an attack if it isn't. Telling them apart takes intent, not just a bot score.

What actually helps

  1. Shorten and bind sessions where you can. Re-authenticate for sensitive actions and tie sessions to device signals.
  2. Watch behavior after login, not just at login. Compare what each session does against how your application is really used.
  3. Make verdicts explainable. If you lock out a real customer, you need to say why, and your analysts need to verify it quickly.
  4. Act through controls you already have. Step-up through your identity provider, challenge through your CAPTCHA, block through your WAF. Start in monitor mode and enforce once you trust the precision.

Look back before you build forward

You likely have hijacked sessions in your logs right now. That's why we offer a free 2-week retro-analysis of 30 days of your logs: we show you the hijacked and abusive sessions your current stack missed, each explained in plain English. If you'd like to see what's in yours, Book a call.