← See all resources
Man-in-the-Middle Attack
🎭network attacks • Attack Types

Man-in-the-Middle Attack

How attackers intercept and manipulate communications between two parties.

Tags

MITMInterceptionNetworkSpoofing
Download infographic

File: SecPro-ataque-man-in-the-middle.png

What is a Man-in-the-Middle attack?

The attacker positions themselves between two parties that believe they are talking directly, and can read the communication, modify it or impersonate either end. Compromising either machine is not required: controlling one point along the path is enough, which is why shared networks — public Wi-Fi, a poorly segmented office network — are the classic setting.

How that position is obtained

Through ARP poisoning on the local network, making machines send traffic to the attacker believing it is the gateway; by standing up a fake Wi-Fi access point using a legitimate name; by manipulating DNS responses so a domain resolves to a controlled IP; or, at larger scale, by diverting BGP routes. Also through a relay proxy in advanced phishing, the variant that steals already-authenticated sessions.

What stops it?

Properly validated end-to-end encryption. HTTPS with verified certificates turns an interception into a browser warning rather than a silent read; HSTS prevents downgrade to HTTP, which is how many of these attacks slip in. Add FIDO2 keys, which will not complete against a relay domain, and distrust of certificate warnings, which is exactly the moment the attack gives itself away.

More from network attacks • Attack Types

Explore more infographics

View full catalog

Need help with your cybersecurity? 💬