Interception
Man in the middle
A machine placed on the path between two parties, able to read and alter what is not protected end to end.
A man in the middle is a machine on the path between two parties that can read and change whatever is not protected end to end. It gets there as a hostile gateway, by a forged DHCP or ARP answer, or through a compromised device. Plain HTTP and DNS are exposed; TLS keeps content private and detects impostors, if its warnings are respected. VPNs and switch protections reduce the exposure.
Read next
- TLS and certificates Encryption plus proof of identity: the server shows a certificate for the name, signed by a trusted authority.
- DHCP snooping and ARP inspection Switch features that learn which device holds which address, and drop answers that do not match.
- VPN Packets wrapped, encrypted, in UDP to a VPN server, which unwraps them on the far side.
- Default gateway The router a device sends everything to that is not on its own network.
- Rogue DHCP server An attacker's own DHCP server answering devices on the LAN, handing out a poisoned gateway and DNS.
- Downgrade attack An attacker in the path makes two sides settle for a weaker protocol, version or cipher than both support, then breaks that.
- Access point and controller The bridge between the air and the wired network, and the box that manages many of them.
- Evil twin and rogue access point An access point that copies a trusted network's name to lure clients onto an attacker's radio.
- Trust store The list of root certificates a device trusts; every certificate it accepts chains to one of them.
- ARP spoofing Forged ARP messages that tie someone else's IP address, usually the gateway's, to the attacker's MAC address.
- MAC flooding Filling a switch's MAC table with made-up addresses so that it floods everyone's frames to every port.
- DNS spoofing A forged DNS answer that sends a name to the attacker's address, believed by a client or cached by a resolver.
- Credential harvesting A page that imitates a real login so the credentials a tricked visitor types are captured by the attacker instead of reaching the real service.
- HTTPS interception Reading an HTTPS session from a box in the path by forging the server's certificate — which works only once the victim trusts the box's CA, and which certificate pinning defeats even then.
- weak TLS configuration A server with a valid certificate that still accepts obsolete protocol versions (TLS 1.0/1.1) or weak cipher suites — a configuration flaw the padlock never shows, found by enumerating what the server offers and fixed by policy, not a new certificate.
- Replay attack Resending a captured, still-valid request so the server honours it a second time — because nothing in the message ties it to a single use.
- Session hijacking Stealing a live session's identifier — a cookie read off the wire — and presenting it to the server to act as that user, without ever knowing their password.