MarketSYN flood
Company Profile

SYN flood

SYN flooding is a form of denial-of-service attack against systems that provide services over the Transmission Control Protocol (TCP). It exploits the way many TCP implementations handle incoming connection requests by causing a server to retain state for large numbers of incomplete connections, leaving insufficient resources to accept new legitimate connections.

Technical details
When a client attempts to start a TCP connection to a server, the client and server exchange a series of messages which normally runs like this: • The client requests a connection by sending a SYN (synchronize) message to the server. • The server acknowledges this request by sending SYN-ACK back to the client. • The client responds with an ACK, and the connection is established. This is called the TCP three-way handshake, and is the foundation for every connection established using the TCP protocol. A SYN flood attack works by not responding to the server with the expected ACK code. The malicious client can either simply not send the expected ACK, or by spoofing the source IP address in the SYN, cause the server to send the SYN-ACK to a falsified IP address – which will not send an ACK because it "knows" that it never sent a SYN. The server will wait for the acknowledgement for some time, as simple network congestion could also be the cause of the missing ACK. However, in an attack, the half-open connections created by the malicious client bind resources on the server and may eventually exceed the resources available on the server. At that point, the server cannot connect to any clients, whether legitimate or otherwise. This effectively denies service to legitimate clients. Some systems may also malfunction or crash when other operating system functions are starved of resources in this way. ==Countermeasures==
Countermeasures
RFC 4987 describes several broad classes of mitigation for SYN flooding. These include ingress/source-address filtering (to reduce spoofed traffic), increasing backlog limits and shortening SYN-RECEIVED timeouts (simple but limited measures), and more robust end-host techniques such as SYN caches (which defer full state allocation) and SYN cookies (which avoid allocating state for half-open connections by encoding connection information into the SYN-ACK sequence number), which are included in most major operating systems. ==See also== • Fraggle attackIP address spoofingPing floodSmurf attackUDP flood attack ==References==
tickerdossier.comtickerdossier.substack.com