Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Man-in-the-Middle

Direct answer

A man-in-the-middle attack secretly sits between two parties to read or change their traffic, using ARP or DNS spoofing or rogue Wi-Fi. Encryption with properly validated certificates is the main defence.

When to use this

Use this when an attacker may be intercepting or altering traffic.

First 30 seconds

1. MITM intercepts traffic (ARP/DNS spoofing, rogue Wi-Fi, proxies).

2. TLS with validation stops most.

3. HSTS.

4. L2 protections (DAI).

5. Detect certificate warnings.

Operational verification

victim ↔ attacker ↔ server (blocked by validated TLS)

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • 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.
Platform / version applicability
Incident response and forensics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIncident response and forensics
Scope / prerequisiteUse this when an attacker may be intercepting or altering traffic.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

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.

observation · 1
Key points
  • ARP/DNS spoofing and rogue Wi-Fi enable it.
  • TLS with certificate validation defeats most MITM.
  • Certificate warnings must never be clicked through.
Key checks
  • openssl s_client -connect <host>:443 — certificate as expected
  • arp -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:

LayerControl
Encryption with authenticationTLS with certificate validation, SSH host key verification, IPsec
Local networkDynamic ARP Inspection, DHCP snooping, 802.1X
WirelessWPA3/Enterprise with server certificate validation, PMF
Name resolutionDNSSEC validation, trusted resolvers
ApplicationsHSTS, 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

LayerMethod
L2ARP spoofing, rogue DHCP
WirelessEvil twin
DNSSpoofed responses
TLSSSL stripping, fake certificates
WebAdversary-in-the-middle phishing proxies (Evilginx)

TLS with HSTS and certificate validation defeats most network MitM; FIDO2 defeats phishing proxies.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIncident response and forensics current

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%
Confirmation

Confirm action

Continue?