Explore our new Cybersecurity Terms Glossary, explained by our experts.


Simply sending a ping flood to a targeted system is the most basic and primitive method of carrying out a DoS attack. More complex methods use specific packet types. SYN Flood, a popular form of DoS attack, is frequently employed.
When a session is initiated between a client and a server using the TCP protocol, a small buffer area is reserved in server memory for the “three-way handshake” messages that establish the session. The packets forming the session contain a SYN field that identifies the sequence in the message exchange.
SYN Flood attacks aim to disrupt this process.
An attacker sends a large number of connection requests very rapidly, causing a small area to be reserved on the server side for each packet. As too many packets arrive, limits are reached and the server becomes unable to respond.
In other words, the attacker requests a connection but never completes the rest of the connection sequence.
This has the effect of leaving connections on the server half-open, with a buffer space reserved for each one. Of course, these reserved spaces cannot be used by other applications. Although a packet in the buffer is dropped after a certain period of time (approximately three minutes) if no response is received, in practice the simultaneous arrival of a large number of these connection requests makes it difficult for legitimate requests to be answered in a session.
SYN Flood attacks are a significant DDoS attack that aim to exhaust available server resources and shut them off from legitimate traffic.
By repeatedly sending initial connection request (SYN) packets, the attacker can fill all available ports on the target machine, causing the targeted device to respond slowly to traffic or to stop responding entirely.
SYN flood attacks maliciously exploit the three-way handshake process of a TCP connection. TCP connection communication aims to establish a three-way handshake and a secure connection. Under normal conditions, a TCP connection involves three distinct processes.
To create a denial of service, the cyber attacker, after the initial SYN packet is received, causes the server to respond with one or more SYN/ACK packets without waiting for the final step of the handshake. At this point, a memory area on the server is locked until the connection times out.
In network communication, when a server leaves a connection open and there is no machine on the other end of the connection to respond, the connection is considered half-open. In this type of DDoS attack, the targeted server continuously leaves open connections and waits for the connection to time out before the port becomes available again. As a result, this type of attack is considered a “half-open attack”.
SYN Flood attacks can occur in three different ways:
Direct attack: An attack in which the attacker does not spoof the source IP address. Since the attacker is using their own IP address, they are easily identifiable. The attack simply sends very high volumes of SYN packets to the target server.
Spoofed attack: An attacker can spoof the source IP address of their SYN packets to hinder mitigation and make their identity harder to discover. This does not completely conceal the attacker’s location, but makes it more difficult to find them.
Distributed attack (DDoS): If the attack is launched using a botnet, tracking the attack back to its original source becomes even more difficult. The attacker may even use a distributed denial of service network, gaining an additional layer of obfuscation.
There are several approaches to preventing SYN flood attacks. The most widely used approach is SYN cookies. When the server receives a SYN packet, it sends back a SYN/ACK as normal, but does not store any information about the connection in a buffer. Instead, it embeds the data into the SYN/ACK response using a cookie. If the server later receives an ACK from the client, the server is able to reconstruct the connection from the cookie and complete the connection normally.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.