TCP/IP security

Note: These lecture notes were slightly modified from the ones posted on the 6.858 course website from 2014.

Threat model for network security

Eavesdropping on packets.

Sending / spoofing packets.

A Look Back at "Security Problems in the TCP/IP Protocol Suite"

Paper here

TCP sequence number attack

1. Spoof connections to applications that rely on IP addresses

2. Denial of service attack: connection reset

How bad is a connection reset?

3. Hijack existing connections

How to mitigate this problem?

How to patch up TCP?

Are sequence number attacks still relevant?

SYN flooding

Defense for SYN flooding: SYN cookies.

Another DoS attack vector: bandwidth amplification.

TCP congestion control.

Routing protocols: overly-trusting of participants.

Many other problems too.

How do adversaries know what software / protocol you are running?

How do adversaries know the IP address of the system to attack?

Why are things so insecure at the TCP/IP level?

How to improve security?