Security Monitoring · Topic 4 of 8
Network Attacks: Protocol, DoS, DDoS and MITM
Describe protocol based attacks, denial of service, distributed denial of service and man in the middle attacks, with signs to look for and defences.
- 5 min
- Includes a diagram
- A SYN flood leaves half open TCP connections and exhausts the connection table.
- DoS comes from one source. DDoS comes from many, often a botnet.
- Both DoS and DDoS attack availability.
What it is
Network attacks abuse the way protocols work, flood a target with traffic, or sit between two parties to read or change what they send.
This page covers four groups. Protocol based attacks misuse a weakness in a protocol, denial of service attacks stop a service from working, and distributed attacks do the same from many sources. Man in the middle attacks intercept communication.
For each group, know the idea, a typical example, and how it looks in the data.
How it works
Each attack targets a different goal, and each leaves different traces.
Protocol based attacks
Protocol attacks exploit how a protocol is designed, not a bug in one product.
- SYN flood sends many TCP SYN packets and never completes the handshake. The target holds half open connections until its table is full.
- ARP spoofing sends false ARP replies so that other hosts send their traffic to the attacker.
- DNS spoofing or cache poisoning places false answers in a resolver, so users are sent to the wrong address.
- ICMP abuse, such as sending very large or very many echo requests, can overload or probe a target.
- IP spoofing forges the source address, often to hide the sender or to aim replies at a victim.
Denial of service (DoS)
A denial of service attack makes a service unavailable to its users, which is an attack on availability. It can work by overloading bandwidth, exhausting connection tables or crashing the service with malformed input.
A single source is sending the traffic, so blocking that source often stops it.
Distributed denial of service (DDoS)
A distributed denial of service attack uses many sources at once, often a botnet of compromised devices. Because the traffic comes from thousands of addresses, blocking one address does nothing.
A reflection and amplification attack is a common form. The attacker sends small requests with a forged source address, which is the victim.
Servers reply with much larger responses to the victim. DNS and NTP servers have been misused this way.
Defences include rate limiting, filtering at the provider, using a scrubbing service and spreading load across many servers.
| Attack | Sources | Goal | Typical sign |
|---|---|---|---|
| DoS | One | Availability | Heavy traffic from one address |
| DDoS | Many | Availability | Huge traffic from many addresses at once |
| SYN flood | One or many | Exhaust connection table | Many SYN packets with no completed handshakes |
Man in the middle (MITM)
In a man in the middle attack, the attacker places a device between two parties. The attacker can read the traffic, change it, or both, while each side thinks it is talking to the other directly.
Common ways to get into the path are ARP spoofing on a local network, a rogue wireless access point, or DNS tampering. Encryption with properly validated certificates is the main defence, since the attacker cannot read or change protected traffic without the keys.
On a Cisco switch, features such as Dynamic ARP Inspection and DHCP snooping help against ARP based attacks. Port security limits which devices can connect.
Reading the signs
- A sudden jump in traffic or connections points to DoS or DDoS.
- Many half open TCP connections suggest a SYN flood.
- Two different MAC addresses claiming the same IP address suggest ARP spoofing.
- Certificate warnings in a browser can point to interception.
What to remember for the exam
Seven facts cover most questions on this topic.
- A SYN flood leaves half open TCP connections and exhausts the connection table.
- DoS comes from one source. DDoS comes from many, often a botnet.
- Both DoS and DDoS attack availability.
- Reflection and amplification use forged source addresses and larger replies.
- ARP spoofing redirects local traffic through the attacker.
- In a man in the middle attack, the attacker can read or change traffic.
- Validated certificates and encryption are the main defence against interception.
Count the sources. One source is DoS, many sources is DDoS.
Common mistakes
These four errors appear often.
Calling any flood a DDoS. A flood from a single address is a DoS.
Blocking one address to stop a DDoS. The attack comes from many addresses, so that does little.
Thinking MITM only happens on wireless. ARP spoofing and DNS tampering work on wired networks.
Confusing a SYN flood with a port scan. A flood tries to fill the table. A scan tries to map open ports.
Spoofed source addresses mean the address in the logs may not belong to the real attacker.
Check yourself
Work through these three questions.
How does a SYN flood harm a server?
It sends many SYN packets without completing the handshake, so half open connections fill the connection table.
What separates a DDoS from a DoS attack?
A DDoS uses many sources at once, often a botnet. A DoS comes from one source.
How does ARP spoofing enable a man in the middle attack?
False ARP replies make other hosts send their traffic to the attacker, who can then read or change it.
Topic 4 of 8 in Security Monitoring
Test yourself on Security Monitoring
The full Cisco CCNA 200-201 CBROPS question bank has 754 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Cisco. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.