← See all resources
Adversary-in-the-Middle Attack
🎭Attack Anatomy • Attack Types

Adversary-in-the-Middle Attack

How attackers intercept sessions and credentials using AITM attacks.

Tags

AITMSession Hijacking
Download infographic

File: SecPro-ataque-aitm.gif

What is an Adversary-in-the-Middle (AiTM) attack?

In an AiTM attack the adversary places a relay server between the victim and the legitimate service. The victim sees the real page — because it is real: the server proxies it live — and enters credentials and second factor as usual. The attacker forwards them to the genuine service, completes the sign-in and keeps the resulting session cookie. It is the evolution of classic cloned-page phishing.

Why doesn't MFA stop it?

Because the attack does not try to guess or steal the second factor: it lets the victim use it correctly and steals what comes next. The session cookie is proof that authentication already happened, so presenting it is enough to get in without going through MFA again. This affects one-time-code factors and push notifications alike, and it is why these attacks grew precisely as MFA became widespread.

Which defenses actually work?

The most effective is phishing-resistant MFA: FIDO2 keys or passkeys, which cryptographically bind authentication to the real domain and simply will not complete against a relay domain. Add conditional access policies requiring a known or compliant device, session binding to client characteristics, and monitoring for sign-ins with anomalous geolocation or device fingerprint.

More from Attack Anatomy • Attack Types

Explore more infographics

View full catalog

Need help with your cybersecurity? 💬