DML School of Technology
Menu

Open to everyone Reading, lesson 34 of 100, 2 min read

How networks are attacked

How networks are attacked

AttackWhat happensDefences
ScanningAutomated tools probe addresses to find open ports and servicesClose unused ports; firewall; alerts on scans
Eavesdropping (sniffing)Someone captures traffic on a shared or compromised networkEncrypt everything in transit (HTTPS, SSH, VPN)
Man-in-the-middleThe attacker sits between two parties, reading or changing trafficEncryption with certificate checking; secure Wi-Fi
ARP spoofingOn a local network, an attacker claims another device's address so traffic flows to themSwitch protections (dynamic ARP inspection); encryption
Rogue access point / evil twinA fake Wi-Fi network with a familiar name tricks devices into joiningUse trusted networks; WPA3 enterprise; VPN on public Wi-Fi
DNS spoofingFalse DNS answers send you to the wrong serverDNSSEC; trusted resolvers; HTTPS certificate checks
Denial of service (DoS)A service is flooded or crashed so real users cannot reach itRate limits; spare capacity; upstream filtering
Distributed DoS (DDoS)The flood comes from thousands of hijacked devices at onceDDoS protection services from hosting and network providers
Lateral movementAfter getting into one device, the attacker spreads inside the networkSegmentation; 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.