Man-in-the-Middle
Cheat sheet · https://pcornel.dk/topic.php?topic=4949
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.
Remember
- ARP/DNS spoofing and rogue Wi-Fi enable it.
- TLS with certificate validation defeats most MITM.
- Certificate warnings must never be clicked through.
First checks
openssl s_client -connect <host>:443— certificate as expectedarp -a / ip neigh— ARP table anomalies- HSTS and certificate validation in apps — protection
Verify in this order
victim ↔ attacker ↔ server (blocked by validated TLS)
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4949