Open to everyone Reading, lesson 34 of 100, 2 min read
How networks are attacked
How networks are attacked
| Attack | What happens | Defences |
|---|---|---|
| Scanning | Automated tools probe addresses to find open ports and services | Close unused ports; firewall; alerts on scans |
| Eavesdropping (sniffing) | Someone captures traffic on a shared or compromised network | Encrypt everything in transit (HTTPS, SSH, VPN) |
| Man-in-the-middle | The attacker sits between two parties, reading or changing traffic | Encryption with certificate checking; secure Wi-Fi |
| ARP spoofing | On a local network, an attacker claims another device's address so traffic flows to them | Switch protections (dynamic ARP inspection); encryption |
| Rogue access point / evil twin | A fake Wi-Fi network with a familiar name tricks devices into joining | Use trusted networks; WPA3 enterprise; VPN on public Wi-Fi |
| DNS spoofing | False DNS answers send you to the wrong server | DNSSEC; trusted resolvers; HTTPS certificate checks |
| Denial of service (DoS) | A service is flooded or crashed so real users cannot reach it | Rate limits; spare capacity; upstream filtering |
| Distributed DoS (DDoS) | The flood comes from thousands of hijacked devices at once | DDoS protection services from hosting and network providers |
| Lateral movement | After getting into one device, the attacker spreads inside the network | Segmentation; least privilege; monitoring internal traffic |
Encryption changes the picture
Before HTTPS was everywhere, anyone on the same café Wi-Fi could read passwords sent to many websites. Today most traffic is encrypted, so sniffing reveals much less, but metadata (which sites you visit, when, how much data) can still be seen, and unencrypted protocols still exist inside many organisations.
Inside is not safe
Many networks are "hard outside, soft inside": a strong firewall at the edge, and nothing stopping a compromised laptop from reaching every server. Modern design assumes an attacker may already be inside, and limits what each device can reach.
Note
The packet capture lab in this module lets you follow a web visit packet by packet: the DNS lookup, the TCP handshake and the encrypted HTTPS traffic.