Season 1 Part of Threat of the Week · Episode 04 of 10
View all 10 episodes →
Threat of the Week · Episode 04 · AiTM Phishing · Session Hijacking · MITRE ATT&CK T1557 · Business Email Compromise · February 8, 2027 · 10 min read

Adversary-in-the-Middle Phishing: How Kits Steal Your Session and Skip MFA Entirely

Threat of the Week · Ep 04 AiTM Phishing Session Hijacking MITRE ATT&CK T1557 Business Email Compromise · 10 min read
💬 Feedback
10,000+
Organisations targeted in one campaign
Microsoft tracked an AiTM phishing campaign against them from September 2021
~5 min
From phish to mailbox access
Microsoft saw the attacker use the stolen cookie in Outlook minutes after the victim signed in
$120
Starting price of a phishing kit service
Reported for 10 days of Tycoon 2FA, a kit with ready-made Microsoft 365 and Gmail pages

You click a link, see your organisation's normal sign-in page, type your password and approve the MFA prompt on your phone. Everything works. You land in your inbox. What you do not see is that every step passed through a server in the middle, and that server just kept a copy of your signed-in session.

For years, the advice was simple: turn on MFA and a stolen password is no longer enough. That advice is still right. MFA stops the huge majority of account takeover attempts. But attackers adapted, and the most important adaptation is the adversary-in-the-middle (AiTM) phishing kit.

These kits do not try to defeat MFA. They let you complete it, and then take what MFA produces: the session cookie that proves you are already signed in. With that cookie, the attacker can open your account without your password or your phone.

We introduced the idea of session theft for a general audience in Your Password Wasn't Hacked. Your Session Was Stolen. This episode looks at the kits behind it, and at what defenders can do.

Microsoft put it plainly: this is not a vulnerability in MFA. The attacker does not break the lock. They copy the key you were just handed.
MITRE ATT&CK mapping Delivery: T1566 Phishing
Interception: T1557 Adversary-in-the-Middle
Theft: T1539 Steal Web Session Cookie (Credential Access)
Use: T1550.004 Use Alternate Authentication Material: Web Session Cookie
Tools named by MITRE: Evilginx2 and Muraena, open-source frameworks that collect session cookies through a malicious proxy

1. How an AiTM Kit Works

  1. The lure. A phishing email, text or QR code (see Episode 03) sends the victim to a link.
  2. The proxy. The link points to the attacker's server. Instead of hosting a copy of the sign-in page, it quietly fetches the real one from Microsoft or Google and shows it to the victim, live.
  3. The relay. Everything the victim types is passed to the real service, and every response is passed back. The real service sends a genuine MFA prompt, and the victim approves it.
  4. The capture. When the real service issues a session cookie to say "this person is signed in", the proxy keeps a copy before passing it on.
  5. The replay. The attacker loads the cookie into their own browser and is signed in as the victim, without needing the password or a fresh MFA approval.

Because the victim sees the genuine page and a genuine MFA prompt, nothing looks wrong. The only visible clue is the web address, which belongs to the attacker rather than to Microsoft or Google.

2. A Documented Campaign: From Cookie Theft to Payment Fraud

In July 2022, Microsoft published a detailed account of an AiTM campaign that had targeted more than 10,000 organisations since September 2021, using the Evilginx2 kit.

  • The lure was an email with an HTML attachment claiming the recipient had a voice message. It led, through a redirect page, to a proxied Microsoft sign-in page with the victim's email address already filled in.
  • About five minutes after a victim signed in, the attacker used the stolen cookie to open their mailbox in Outlook on the web.
  • Over the following days, the attacker searched for emails about payments and invoices, deleted the original phishing email, and created an inbox rule to hide replies from the organisations they were targeting.
  • Then came the fraud. The attacker replied to genuine payment threads from the victim's real mailbox, a form of business email compromise, and deleted their replies from Sent and Deleted Items.

3. Phishing as a Service

Running a proxy like this once needed real technical skill. Today it can be rented. Researchers at Sekoia documented Tycoon 2FA, a phishing-as-a-service platform active since at least August 2023, which offers ready-made AiTM pages for Microsoft 365 and Gmail. GovInfoSecurity reported prices starting at $120 for ten days of access, and Sekoia found more than 1,100 domains linked to it between October 2023 and February 2024.

The result is that AiTM phishing is no longer reserved for sophisticated groups. Any criminal with a credit card can run it.

4. How to Stop It

Phishing-resistant MFA is the answer. MITRE notes that hardware tokens such as FIDO keys prevent session cookie theft through proxy methods, and Microsoft's first recommendation was phishing-resistant MFA such as FIDO2 security keys or certificate-based authentication. Passkeys work the same way. The user's device checks the real web address, so on the attacker's proxy domain it simply refuses to sign in. There is no session for the proxy to steal.

Conditional access adds a second barrier. Microsoft points out that conditional access policies are evaluated again when a stolen cookie is replayed. Requiring a compliant or managed device, or a trusted network, for sensitive applications means a cookie copied to the attacker's laptop does not work.

Also worth doing:

  • Shorten session lifetimes for sensitive applications and require re-authentication for high-risk actions.
  • Block newly registered and known phishing domains through web filtering.
  • Review who can create inbox rules and forwarding, since these are the attacker's next step.

5. How Defenders Can Detect It

AiTM attacks leave a trail between the identity provider and the mailbox. Microsoft and MITRE point to these signals:

  • The same session used from two places. A sign-in from the user's normal location followed, within minutes, by activity on the same session from a different IP address, country or browser. MITRE calls out token reuse without re-authentication, from unusual user agents or locations.
  • Built-in alerts. Microsoft cites alerts such as "Stolen session cookie was used", anomalous token, impossible travel and anonymous IP address.
  • Inbox rules created soon after a risky sign-in, especially rules that move, delete or mark as read messages about payments, invoices or particular senders.
  • New MFA methods registered shortly after a sign-in, as attackers often add their own to keep access.
  • Proxy-hosted sign-in pages. Web proxy and DNS logs showing users visiting unfamiliar domains that serve Microsoft or Google sign-in content.
Response: kill the session, not just the password Resetting the password is not enough on its own, because the attacker is using a session, not the password. Revoke all of the user's sessions and refresh tokens, reset the password, remove any MFA methods and inbox rules the attacker added, and review sent mail for fraudulent payment requests. Warn finance teams and any external contacts who may have received them.

6. What Everyone Should Know

  • Check the web address before you sign in, every time, even if the page looks perfect.
  • A sign-in prompt from an email link is a reason to pause. Go to the service directly instead.
  • If your password manager does not offer to fill in your password, the site may not be what it claims (see Security in 5 Minutes, Episode 03).
  • Switch to passkeys wherever possible. They are the one sign-in method these kits cannot relay.

Final Thoughts

AiTM kits are the reason security agencies now talk about phishing-resistant MFA rather than just MFA. Codes and push approvals stop most attacks, but they cannot tell a real website from a perfect relay of one. Passkeys and security keys can, because they check the address themselves.

If your sign-in can be relayed, it can be stolen. The fix is a sign-in method that knows exactly which website it is talking to.

Sources and Further Reading

Cyber Insight | Threat of the Week · Season 1

Making cybersecurity easier to understand, one issue at a time.

Season 1

Threat of the Week · All 10 Episodes

One attack technique explained, mapped to MITRE ATT&CK, with detection tips.

01
MFA fatigue (push bombing): how it works and how to detect it Episode 01 · Published
02
OAuth consent phishing Episode 02 · Published
03
QR-code phishing (quishing) Episode 03 · Published
04
Adversary-in-the-middle phishing kits and session theft Episode 04 · Now reading
05
Software supply-chain attacks: typosquatting and dependency confusion Episode 05 · Published
06
Business email compromise Episode 06 · Coming soon
07
Infostealer malware and stolen browser sessions Episode 07 · Coming soon
08
Living off the land: attackers using your own tools Episode 08 · Coming soon
09
Deepfake voice and video scams Episode 09 · Coming soon
10
Credential stuffing Episode 10 · Coming soon
PS
Poorna Sujampathi Rathnayaka
Writer · Cyber Insight · Digital Literacy

I started Cyber Insight because everywhere online people only talk about cybersecurity in technical terms — and most people are left without a proper understanding of how the digital world works. I work in cybersecurity, but I write here for everyone. No jargon. Just clear, honest explanations.