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

Memcached DDoS attacks are a dangerous type of DDoS attack carried out by using the victim’s internet traffic. The attacker sends heavy traffic to their target by exploiting requests made to a vulnerable UDP memcached server. At this point, congestion is created on the target system using the victim’s internet traffic, resulting in a denial of service.
When the target system’s internet infrastructure is overloaded, it becomes unable to function and cannot respond to legitimate traffic. At this point the cyber attacker will have achieved their goal through the denial of service attack.
Memcached is actually a caching system used to speed up websites and network traffic and to relieve server load.
Memcached DDoS attacks are carried out using NTP amplification or DNS amplification techniques. They operate in a similar way to other DDoS types.
The attack technique is initiated by sending fake requests to a vulnerable memcached server. The aim of this attack is to amplify the traffic volume by receiving a much larger data response than the original request.
Memcached servers have the ability to operate using the UDP protocol. They respond quickly and no authentication takes place. UDP is a network process in which both sides accept the communication without requiring a three-way handshake. Since the response given is many times larger than the request received, when a fake IP is used in the packet header, the server sends its response to the targeted system. This is the point at which the amplification technique is applied.
The amplification or multiplication power of this type of attack can be astonishingly large. According to Cloudflare’s reports, an amplification factor of up to 51,000 times is achievable.
This means that a 15-byte data packet could elicit a 750 KB response. The cyber attacker gains enormous power at this point. By using multiple vulnerable memcached servers, massive volumes of data packets are sent in practice to opposing servers. Naturally, this also makes vulnerable memcached servers a target in DDoS attacks.
Several mitigation techniques are used against memcached servers that can send enormous amounts of data.
First and foremost, disabling UDP is one of the most important steps. The default-enabled UDP connection support can leave your server vulnerable to this type of attack.
Another mitigation measure is the firewall. You can also mitigate these attacks by preventing IP spoofing. Preventing IP spoofing is the first-choice method for blocking DDoS traffic coming from outside the network. Many ISP companies disable the spoofed IP feature. In other words, ISPs, organisations, and large companies try to prevent traffic leaving their networks from appearing to come from somewhere else.
Another way to eliminate amplification attacks is to disable the amplification factor for any incoming request. If the response to an incoming data packet is much smaller than or equal to the request, the amplification factor is eliminated.
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.