QUIC flood attack
Volumetric AttacksDec 21, 2022
7 min read
What is the QUIC protocol?
The QUIC (Quick UDP Internet Connections) protocol is a transport layer protocol that was developed by Google to improve the performance and security of web applications. It is based on the User Datagram Protocol (UDP), which is a connectionless protocol that allows data to be transmitted without the need for a prior connection setup. QUIC provides a secure and low-latency connection between two endpoints over the Internet by using a combination of multiplexing, stream prioritization, encryption, and connection recovery.
Multiplexing allows multiple streams of data to be transmitted over a single connection, which reduces the overhead of establishing multiple connections for each stream. Stream prioritization allows the sender to specify the priority of each stream, allowing the receiver to prioritize the delivery of certain streams over others. Encryption is provided by the Transport Layer Security (TLS) protocol, which helps to protect against eavesdropping and tampering. Connection recovery mechanisms help to improve the reliability of the connection by allowing it to recover from packet loss and network congestion.
Overall, the QUIC protocol aims to improve the performance of web applications by reducing the time it takes to establish a connection and transmit data between the client and server, while also providing enhanced security and reliability.
How does the QUIC protocol work?
The QUIC protocol operates at the transport layer of the Internet Protocol (IP) stack and provides a secure and low-latency connection between two endpoints over the Internet. It achieves this through the use of several key features, including multiplexing, stream prioritization, encryption, and connection recovery.
Multiplexing allows multiple streams of data to be transmitted over a single connection, which reduces the overhead of establishing multiple connections for each stream. This is accomplished by assigning a unique stream identifier to each stream, which allows the sender and receiver to differentiate between the streams and transmit them independently over the same connection.
Stream prioritization allows the sender to specify the priority of each stream, allowing the receiver to prioritize the delivery of certain streams over others. This is useful in situations where certain streams are more important than others, as it allows the receiver to prioritize the delivery of those streams to ensure that they are received in a timely manner.
Encryption is provided by the Transport Layer Security (TLS) protocol, which helps to protect against eavesdropping and tampering by encrypting all data transmitted over the connection. This ensures that the data is only accessible to the intended recipient, which helps to protect against attackers who may try to intercept or alter the data.
Connection recovery mechanisms help to improve the reliability of the connection by allowing it to recover from packet loss and network congestion. This is accomplished through the use of retransmission and flow control mechanisms, which allow the sender to retransmit lost packets and adjust the rate at which it sends data based on the available capacity of the network.
What is a QUIC flood and how does it work?
A QUIC flood is a type of distributed denial-of-service (DDoS) attack that involves sending a large number of QUIC packets to a target server in an attempt to overwhelm its resources and disrupt its services. This can be done by a single attacker or a group of attackers coordinating their efforts.
The goal of a QUIC flood is to disrupt the normal operation of the target server by inundating it with an excessive amount of traffic that it is unable to handle. This can be accomplished by sending a large number of QUIC packets to the server, either from a single source or from multiple sources. The packets may contain random or malformed data and may be sent at a high rate in an attempt to saturate the server's bandwidth or consume its available processing resources.
QUIC floods can be particularly effective because the QUIC protocol is designed to be efficient and reliable, making it difficult for the server to differentiate between legitimate traffic and attack traffic. As a result, the server may continue to process the incoming packets, consuming its resources and eventually causing it to become unavailable to legitimate users.
Overall, a QUIC flood is a malicious attempt to disrupt the operation of a server or network by sending a large volume of traffic that the server is unable to handle. It is one of several types of DDoS attacks that can be used to target servers and networks, and it is important for organizations to have measures in place to protect against such attacks.
Types of QUIC attacks
There are several types of QUIC attacks that can be used to disrupt a server or network:
-
Reflection attack: A reflection attack involves spoofing the source IP address of QUIC packets and sending them to servers that are configured to send responses to the spoofed address. This can create a large volume of traffic that is directed at the target server, overwhelming its resources and disrupting its services. The attack relies on the fact that the server is unable to determine the true source of the packets and will send its responses to the spoofed address, amplifying the attack traffic.
-
Amplification attack: An amplification attack involves sending a small number of QUIC packets to a server that is designed to elicit a large response. This can create a large volume of traffic that is directed at the target server, overwhelming its resources and disrupting its services. The attack relies on the fact that the server will respond to the packets with a much larger amount of data, amplifying the attack traffic.
-
Resource exhaustion attack: A resource exhaustion attack involves sending a large number of QUIC packets to a server that consumes its available resources, such as memory or processing power. This can cause the server to become unresponsive or unavailable to legitimate users, disrupting its services.
-
Protocol violation attack: A protocol violation attack involves sending QUIC packets that are malformed or do not conform to the QUIC protocol specification. This can cause the server to crash or behave unexpectedly, disrupting its services.
QUIC floods vs. UDP floods: What are the differences?
QUIC floods are similar to UDP floods in that they both involve sending a large number of packets to a target server in an attempt to overwhelm its resources and disrupt its services. However, there are some differences between the two types of attacks:
-
Protocol: Both QUIC floods and UDP floods involve sending a large number of packets to a target server in an attempt to overwhelm its resources and disrupt its services. However, QUIC floods use the QUIC protocol, which is based on UDP, while UDP floods use the UDP protocol directly.
-
Features: QUIC provides a number of features, such as multiplexing, stream prioritization, and connection recovery, that are not available in UDP. These features can make QUIC floods more effective at disrupting the target server, as they allow the attacker to multiplex and prioritize their traffic, and recover from packet loss and congestion.
-
Encryption: QUIC uses the Transport Layer Security (TLS) protocol to encrypt all data transmitted over the connection, while UDP does not provide any encryption. This means that QUIC floods can be more difficult to detect and mitigate, as the attack traffic is encrypted and may not be easily identifiable.
-
Detection and mitigation: Both QUIC floods and UDP floods can be difficult to detect and mitigate, as they involve a large volume of traffic that may be difficult to distinguish from legitimate traffic. However, the additional features of QUIC, such as encryption and connection recovery, can make it more challenging to detect and mitigate QUIC floods compared to UDP floods.
Does DiamWall block QUIC flood DDoS attacks?
As a CDN, DiamWall is the intermediate between a user connection and the backend, which allows us to intercept and evaluate traffic before it reaches our customers' backend. Our advanced mitigation systems are able to detect and mitigate any QUIC flood attack, regardless of scale or complexity, even if it is a bypass.
At DiamWall, we are committed to providing the highest level of security and reliability to our customers. Our global network is designed to absorb and mitigate even the most sophisticated DDoS attacks, ensuring that our customers' websites and applications remain available and accessible to their users.
If you have any questions about our ability to block QUIC flood DDoS attacks or any other type of DDoS attack, please don't hesitate to contact us. We are always here to help you keep your website and applications secure and available to your users.
To learn more about how DiamWall CDN can help mitigate QUIC flood DDoS attacks against any service on our network, please follow this topic. Our advanced technologies and global network allow us to intercept and evaluate malicious traffic, ensuring that our customers' websites and applications remain secure and available to their users.