Use this when an attacker may be intercepting or altering traffic.
Man-in-the-Middle
victim ↔ attacker ↔ server (blocked by validated TLS)
Context & applicabilityCommon mistakes · platform/version boundaries
- Applications that do not validate TLS certificates (
verify=False, accepting any certificate). - Users clicking through certificate warnings.
- No HSTS, allowing SSL stripping.
- Trusting public Wi-Fi without VPN for admin work.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
openssl s_client -connect <host>:443— certificate as expectedarp -a / ip neigh— ARP table anomalies- HSTS and certificate validation in apps — protection
ReferenceWhy it matters1 section · depth on demand
Defences
- TLS with certificate validation (and HSTS) for applications.
- DAI and DHCP snooping on access switches against ARP and DHCP attacks.
- DNSSEC validation or DoH/DoT to trusted resolvers.
- 802.1X and WPA3 against rogue access points.
Certificate warnings that users click through are the classic sign of a man-in-the-middle.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A man-in-the-middle (MITM) attack places the attacker between two communicating parties, letting them read, modify or inject traffic. On local networks this is done with ARP or DHCP spoofing or rogue Wi-Fi access points; on wider networks through DNS or BGP manipulation, or compromised proxies.
Defences:
| Layer | Control |
|---|---|
| Encryption with authentication | TLS with certificate validation, SSH host key verification, IPsec |
| Local network | Dynamic ARP Inspection, DHCP snooping, 802.1X |
| Wireless | WPA3/Enterprise with server certificate validation, PMF |
| Name resolution | DNSSEC validation, trusted resolvers |
| Applications | HSTS, certificate pinning for mobile apps (with care) |
Encryption without authentication is not enough: unvalidated certificates allow a MITM to present its own.
Common MitM methods
| Layer | Method |
|---|---|
| L2 | ARP spoofing, rogue DHCP |
| Wireless | Evil twin |
| DNS | Spoofed responses |
| TLS | SSL stripping, fake certificates |
| Web | Adversary-in-the-middle phishing proxies (Evilginx) |
TLS with HSTS and certificate validation defeats most network MitM; FIDO2 defeats phishing proxies.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Common Attacks → Man-in-the-Middle. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%