11.3 Denial of Service Attacks Flashcards
What is Denial of Service?
Attempt to exhaust resources
i. e.
- Network bandwidth
- TCP connections
- Server resources
3 different types of defenses against DoS attacks
1) Ingres Filtering
2) uRPF checks (reverse path filtering checks)
3) Syn Cookies (TCP)
Ingres Filtering
Fool proof. Works at edges
Doesn’t work if core is same (This is where a routing table is needed)
uRPF
Pros: Automatic
Cons: Requires symmetric routing
Syn Cookies
When server receives a SYN from client, the server keeps no state and picks a sequence number of server and client src,dst and port… server will check seq number by rehashing info it already has to make sure it corresponds.
Quiz:
What are some advantages of SYN cookies?
Can prevent server from exhausting state after receiving the initial TCP SYN packet
When an attacker spoofs a source IP address, the replies to that initial TCP SYN from the victim will go to the location of the source IP adress. These replies to forge attack messages are called
Inferring Dos Activity
Backscatter
Quiz:
Telescope: 2^16 addresses (n)
Backscatter: 100,000 pps (x)
What is the attack rate?
m = x*(2^32/n) m=100,00(2^32/2^16) m=100,000(2^16) m=100,000 * 65536 m=6,553,600,000 m=6.5 billion pps