Lesson 01Attack
Man-in-the-Middle
If you can sit in the middle of a conversation, you can hear (even change) its content. Man-in-the-middle is the name for an eavesdropper who slips in between two parties who think they are talking directly.
- Layer
- Cross-layer · depends where it is inserted
- Reference
- An attack, not a protocol
- Steps
- 6
NETLEARN · your study buddy
Net · guide
Hi! I’m Net, your guide today. We’ll look at Man-in-the-Middle in the Web Attacks module.
how it works
tap Net · advance one step⟲ button · start overEnter · open the full explanation
legendcautionsecure / encryptedcontrolmessage in flight
Common misunderstandings
- Ignoring a certificate warning (pressing "just continue") is exactly the same as inviting the intermediary in.
Key notes
- Not a single protocol
- MITM is a role, not a single technique. It can come via ARP, DNS, WiFi, or a fake certificate.
- HTTPS helps
- Certificate verification makes the disguise visible, not entirely impossible.
- HSTS
- Forces the browser to always use HTTPS, closing the downgrade-to-HTTP gap.
- Certificate pinning
- A mobile app can pin a specific CA so that fake certificates are not accepted.
