Skip to content
Experiencing a breach? Get help now
Cyberphore

Definition

Adversary-in-the-middle

AiTM

In one sentence

Adversary-in-the-middle (AiTM) phishing is an attack that places a proxy between the victim and a real login service, capturing the password and the authenticated session cookie so the attacker can bypass ordinary MFA.

Phishing-resistant MFAAccount takeoverConditional accessPhishing

Adversary-in-the-Middle Explained

In an AiTM attack, the phishing page is not a static copy of the Microsoft sign-in screen. It is a live relay. The victim enters their password, which the proxy passes to Microsoft. Microsoft sends an MFA challenge, which the proxy shows the victim. The victim approves it, Microsoft issues a session cookie, and the proxy captures it. The attacker now has a signed-in session.

Phishing kits that automate this are sold as services, which has made AiTM one of the most common causes of Microsoft 365 account takeover in small businesses. From the user's perspective, everything looked normal, including the MFA step.

The strongest defence is phishing-resistant MFA, such as FIDO2 keys, passkeys or Windows Hello for Business, which bind the login to the real domain so a proxy cannot complete it. Conditional access policies requiring compliant or registered devices also help, because the attacker's device will not qualify. Monitoring for sign-ins from unfamiliar infrastructure and new inbox rules catches what gets through.

General information for Canadian organizations, not legal advice.

Book free assessment