Skip to content

New high-volume vector: Memcached reflection amplification attacks

Published
Reading time2 minutes
CategoryThreat landscape
Threat landscape

High DDoS risk due to newly discovered high-volume vector. Link11 Security Operations Center registered memcached reflection amplification attacks.

Attack characteristics
Attack vector: Memcached reflection
Peak Bandwidth: 460 Gigabits per second (previously)

In late February 2018, the Link11 Security Operation Center discovered massive UDP attacks using UDP source port 11211. This type of attack was previously unknown. These current attacks thus represent the appearance of a new amplification vector, which the Link11 DDoS security experts call "Memcached Reflection" after initial analysis.

The attacks began on several consecutive days; the duration of the attacks is currently up to ten minutes. The attacks are particularly dangerous due to their high bandwidths, which exceeded 100 Gbps during every attack. Furthermore, the peaks of these hyper attacks went well beyond 400 Gbps.

Memcached reflection attacks fall into the class of reflection amplification attacks and are similar to DNS reflection. Memcached is a free, high-performance object caching system under open source license. It is used to accelerate dynamic web applications, as objects and other data can be temporarily stored in the server's main memory. The attackers exploit the free caching system's poorly secured installations: it can be reached unsecured via UDP port 11211 for reading and writing data, as well as querying statistics.

Memcached Reflection Attacken

Memcached reflection attacks use freely available servers on the internet which have installed Memcached. These servers are used as "amplifiers." The attack itself is relatively simple: first, potential amplifiers are searched for using UDP internet scans on port 11211. The attacker then makes (tens of) thousands of requests to the corresponding servers using the IP address of the attack target, so that the responses of the Memcached instances are not sent to the attacker but to the target of the attack. (Tens of) thousands of answers are sent from the Memcached hosts to the target of the attack.

Attack characteristics

Attack vector: Memcached Reflection

Peak Bandwidth: 460 Gigabits per second (previously)

Source Port: 11211

Memcached Reflection Attack 2018-02-xx 02:34:56.628098 IP S1.S1.S1.S1.11211 > Z.Z.Z.Z.47834: UDP, length 1150 2018-02-xx 02:34:56.628100 IP S2.S2.S2.S2.11211 > Z.Z.Z.Z.57156: UDP, length 1150 2018-02-xx 02:34:56.628101 IP S1.S1.S1.S1.11211 > Z.Z.Z.Z.35003: UDP, length 1150 2018-02-xx 02:34:56.628102 IP S1.S1.S1.S1.11211 > Z.Z.Z.Z.51276: UDP, length 1150 2018-02-xx 02:34:56.628104 IP S2.S2.S2.S2.11211 > Z.Z.Z.Z.24129: UDP, length 1150 2018-02-xx 02:34:56.628107 IP S3.S3.S3.S3.11211 > Z.Z.Z.Z.61202: UDP, length 1150

The actual requests to the memcached host are quite small, while the answers are many times larger. Analysis of the attacks showed that the amplification factor can climb into the thousands. Even an attacker with a relatively small bandwidth connection can launch attacks of greater than 100 Gbps with minimum resource input.

CountryCount
US452
FRA205
NL117
CAN108
JPN75
UK55
RUS36
VNM31
IND31
BRA20
TUR16
THA15
GER14
POL13

Conclusion

Memcached reflection attacks are a serious threat as the amplification factor is always extremely high. It is also alarming that Memcached allows access to the data stored in the cache without any form of authentication. With free access to port 11211 via UDP and TCP, third parties can easily access data in the corresponding caches and even modify them. Link11 recommends restricting external access to Memcached servers as much as possible.

DDoS protection that explains what it mitigates.

Network DDoS Protection filters in front of the uplink, learns your normal behavior and logs every intervention.

Let’s talk

Your business stays online. We’ll show you how.

Which products should the demo cover? (choose one or more)
What do you need to protect? (optional)
Are you already a Link11 customer?
What is affected? (optional)

A specialist will get back to you. The form does not replace the call.

  1. Area
  2. Scope
  3. Result
What do you want to protect? (choose one or more)
How many domains do you want to protect?
1 domain
How much data do your sites deliver per month?
0.25 TB per month
How many requests reach your sites per month?
5 million requests per month

Also needed? (optional)