Man-in-the-Middle Attack
Subject: Computer and Technology noun /ˌmæn ɪn ðə ˈmɪd.əl əˈtæk/ 1 definition
- network-security
- computer-networking
- information-security
- traffic-interception
-
Definition (noun)
Entry #186 · UpdatedA Man-in-the-Middle Attack (MITM) is an active security intrusion in which an attacker covertly inserts an inline relay between two communicating endpoints, forwarding messages so both parties believe they are exchanging data directly. Because all traffic passes through this hidden proxy, the adversary can silently read sensitive payloads, inject forged commands, or modify requests and responses in transit. Unlike purely passive eavesdropping—which observes traffic without controlling the forwarding path—or direct device malware, a MITM attack exploits routing, name resolution, or weak identity verification to compromise the communication channel itself.
Common Types
ARP Spoofing: Sends forged Address Resolution Protocol messages on a local network to link the attacker's MAC address with a gateway's or peer's IP address, forcing LAN frames through the attacker's host.
DNS Spoofing: Injects fabricated Domain Name System records so a target resolves a legitimate hostname to an attacker-controlled IP address, steering connections through an adversarial proxy.
Evil Twin Access Point: Operates an unauthorized Wi-Fi hotspot broadcasting a trusted network's SSID so nearby devices associate with it and route their traffic through the attacker's radio.
SSL/TLS Stripping: Intercepts a victim's initial unencrypted HTTP request and suppresses the upgrade to HTTPS, keeping the client leg in plaintext while maintaining a separate encrypted session with the origin server.
Example
At a coffee shop, a traveler's laptop automatically associates with a rogue Wi-Fi access point broadcasting the café's SSID, routing all traffic through an attacker's machine to the legitimate gateway. When the browser requests
http://portal.example.com, the attacker's inline proxy strips the server's HTTPS redirect, relays the encrypted session to the origin server, and captures the traveler's plaintext session cookie and login credentials.