Network Attack
Patterns
Understand how attackers exploit networks using spoofing, man-in-the-middle, and DDoS techniques: and learn the high-level mitigations that defend against them.
What Is a Network Attack?
A network attack is any deliberate action designed to disrupt, intercept, or gain unauthorized access to data traveling across a computer network. Attackers exploit weaknesses in protocols, configurations, and human behavior to compromise systems.
Three Core Attack Families
Why Attacks Succeed
Spoofing: Faking Identity
The attacker sends packets with a forged source address (IP, MAC, or DNS), making the victim believe the data comes from a trusted source. Common types include IP spoofing, ARP spoofing, and DNS spoofing.
Man-in-the-Middle: Secret Relay
DDoS: Overwhelming the Target
A Distributed Denial-of-Service attack uses a botnet (network of compromised devices) controlled by an attacker. Thousands of bots send requests simultaneously, exhausting the target's resources (bandwidth, CPU, memory).
Key Distinctions
| Spoofing | MITM | DDoS | |
|---|---|---|---|
| Goal | Impersonate | Intercept / Alter | Deny service |
| Position | Outside the path | Between two parties | Many sources |
| Data stolen? | Sometimes | Yes | No |
| Service disrupted? | Rarely | Rarely | Yes |
| Requires botnet? | No | No | Yes |
Attacks vs. the CIA Triad
How to Identify an Attack Pattern
High-Level Mitigations
Example 1: ARP Spoofing
Example 2: HTTPS Downgrade
Example 3: SYN Flood DDoS
In a SYN flood, the attacker sends thousands of TCP SYN requests with spoofed source IPs. The server responds with SYN-ACK but never receives the final ACK, filling its connection table. SYN cookies let the server avoid storing half-open connections.
Common Mistakes
Attack Pattern Summary
| Feature | Spoofing | MITM | DDoS |
|---|---|---|---|
| Technique | Forge source address | Intercept + relay | Flood with traffic |
| CIA Pillar | Integrity | Confidentiality + Integrity | Availability |
| Key Mitigation | Ingress filtering, DNSSEC | TLS/HTTPS, HSTS | Rate limiting, CDN |
| Detection Signal | ARP table conflicts | Certificate warnings | Traffic spike |
| Can chain with others? | Yes (enables MITM) | Uses spoofing | Uses spoofed IPs |
Question 1 of 5
An attacker sends fake ARP replies to redirect a victim's traffic through their own machine. Which attack pattern does this represent?
Question 2 of 5
In a man-in-the-middle attack, which two pillars of the CIA Triad are most directly threatened?
Question 3 of 5
A website enables HSTS (HTTP Strict Transport Security). Which attack does this primarily mitigate?
Question 4 of 5
What distinguishes a DDoS attack from a simple DoS attack?
Question 5 of 5
A server receives thousands of TCP SYN requests per second with spoofed source IPs. Its connection table fills up. Which mitigation is most appropriate?