Github rides record-breaking ddos attack that leveraged memcached servers database version 706

GitHub on wednesday withstood the largest-ever recorded distributed denial of service attack in history, experiencing roughly 10 minutes of disruption during the onslaught, which was amplified using exposed memcached servers — a vector that has seen a significant increase in abuse since last month.

A 1 march blog post by the github engineering team reported that the attack reached a peak of 1.35 terabytes per second, with a throughput of 126.9 million packets per second. The all-out assault rendered the web-based hosting service unavailable on 28 february from 17:21 to 17:26 GMT and intermittently unavailable from 17:26 to 17:30 GMT.

Nevertheless, the site staved off the volumetric attack and quickly restored normal service, an achievement github credits to doubling its transit capacity over the past year, as well as the decision to move traffic to akamai technologies’ content delivery platform, which was able to provide additional edge network capacity.DDoS attacks


The post’s author, github’s manager of site reliability engineering sam kottler, wrote that the attack "originated from over a thousand different autonomous systems (asns) across tens of thousands of unique endpoints."

The use of memcached servers continues a rapidly emerging trend that was initially referenced by content delivery network provider cloudflare, which reported earlier this week that misconfigured, publicly accessible memcached servers were being exploited via UDP (user datagram protocol) port 11211 to deliver malicious traffic. (memcached is a free and open-source, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.)

content delivery

Cyber-security software company imperva on 1 march issued a similar warning, reporting that its researchers observed two massive ddos amplification attacks on 28 february — the same day as the github incident. According to imperva, these incidents also stemmed from memcached servers, which adversaries can recruit into ddos attacks by sending a UDP packet "with a spoofed IP containing a message asking for statistics, which will cause the server to return an enormous message to the victim."

Ofer gayer, senior product manager at imperva, told SC media via email interview that the attacks witnessed by his company targeted a cryptocurrency exchange, as well as e-commerce websites and enterprise networks.Content delivery

Using this technique allows attackers to unleash a massive amount of packets for each small UDP packet they send, essentially amplifying the attack without having to rely on a botnet of hacked devices. While imperva reported that the amplification factor can be 9,000x or more, both github and cloudflare wrote that it can actually soar as high as roughly 51,000x.

"The real issue here is not the ddos attack itself, but the amplification mechanism used," said mounir hahad, head of threat research at juniper networks, in comments emailed to SC media. "Memcached is a service that helps websites scale, but it is supposed to be internal and never exposed to the internet.Memcached servers yet, there are a little over 90,000 misconfigured installations accepting non-authenticated requests coming from the internet that could easily use spoofed return IP addresses. That’s a recipe for disaster."

"It behooves us to remediate this issue immediately before the next wave of attacks hits," hahad continued. "In the meantime, it is recommended that all firewalls implement a rate limit on port 11211, or block it off completely."

On the other hand, gayer said other recent ddos attacks from the mirai and leet botnets are actually far more complex "since they generate legitimate-looking traffic at very high packet rates arriving from an endless pool of compromised iot devices.Port 11211 the memcached vector uses amplification of a rarely used protocol, which makes it very trivial to mitigate…"

Moreover, the memcached servers used for amplification "are easy to detect and many cloud and transit providers are doing great work in actively filtering for outbound [memcached] traffic from their network and contacting server owners," gayer continued. "Memcached servers are also typically operated by highly technical IT/webdev staff who can be contacted in order to update the version and remove the vulnerability, unlike iot devices which are more of an uncontainable chaotic mess of end-user devices."

banner