Man-in-the-Middle & Post-Exploitation

Own the LAN after you're in โ€” intercept traffic, land a payload, persist and pivot deep

20 lessons ยท CHF 9.90 one-time

20 lessons ยท knowledge checks ยท final exam ยท verifiable certificate ยท in-browser Live-Lab

Buy now ยท CHF 9.90 Open in the course reader

Frequently asked questions

How does a man-in-the-middle attack work on a local network?

On a LAN, machines map IP addresses to hardware addresses using ARP, which has no authentication. An attacker sends unsolicited ARP replies telling the victim that the gateway is at the attacker's hardware address and vice versa. Both sides update their caches and route traffic through the attacker, who enables forwarding so the traffic still reaches its destination unnoticed.

Why does an ARP spoofing attacker enable IP forwarding?

Without forwarding, traffic the attacker intercepts would stop at their machine and the victim would lose connectivity, revealing the attack instantly. Enabling IP forwarding relays the packets on to their real destination, so interception is transparent and the victim keeps working normally while the attacker reads or alters the traffic in transit.

What is the difference between MITM and post-exploitation?

A man-in-the-middle attack is about position: inserting yourself on the path between a victim and the gateway to read or redirect traffic. Post-exploitation is what you do after gaining control of a host: establishing persistence, logging keystrokes, collecting credentials and loot, and preparing to pivot. MITM often provides the foothold; post-exploitation turns it into lasting impact.

How do you defend against ARP spoofing?

Because ARP itself cannot be authenticated, defences sit higher up: Dynamic ARP Inspection with DHCP snooping on managed switches drops forged replies, ARP monitoring tools alert when an IP suddenly maps to a new hardware address, and static entries protect critical gateways. The strongest layer is encrypting all internal traffic, so an interceptor sees only ciphertext.

Is performing a man-in-the-middle attack legal?

Only against systems you own or are explicitly authorised in writing to test. ARP spoofing, DNS spoofing, payload delivery and pivoting on a network you do not have permission for are crimes in essentially every jurisdiction. This course uses an isolated lab so you can practise the techniques legally and safely.

How can you detect an ARP man-in-the-middle from the victim side?

Baseline the gateway's legitimate IP-to-MAC mapping while the network is known-good, then watch the neighbour table. Two clear signs point to a spoof: one hardware address claiming several IPs, or the gateway's MAC changing away from the baseline. A MAC that rapidly flaps between two values is the fingerprint of an active spoof competing with the real gateway.

Get the full course

One-time purchase, no subscription. Pay as a guest โ€” no account needed.

Buy now ยท CHF 9.90 Open in the course reader

Course syllabus

Lessons unlock after a single one-time purchase โ€” no subscription. Pricing & FAQ โ†’ ยท All course overviews โ†’