Attacks/Breaches
2/18/2009
09:16 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

How Metasploit Turned The Tables On Its DDoS Attackers

An inside look at how Metasploit creator HD Moore battled the botnet that flooded Metasploit servers for nearly one week

At one point during the recent weeklong round of distributed denial-of-service (DDoS) attacks on white-hat hacker site Metasploit, an anonymous hacker sent a blackmail message to Metasploit creator HD Moore.

"Some random guy [said], "Give me all of your source codes,'" says Moore, who employed various counter-attacks to the series of DDoS assaults, which he describes as more annoying than destructive. But after stringing the purported blackmailer along for a while in order to trace him, Moore discovered the email message had come from one of the bots in a botnet army that was flooding the Metasploit site. Moore says the email may have been from someone other than the DDoS attackers; either way, Moore had no intention of falling for the blackmail.

The DDoS attacks began around Feb. 6 against security sites Metasploit, Immunity, Milw0rm, and Packet Storm, when a botnet flooded the sites' domains with HTTP requests. After a few days, the attacks focused entirely on Metasploit. Moore says the DDoS' incoming connection exceeded 15 Mbps with SYN packets sent to the www.metasploit.com and metasploit.com domains.

"They would follow over to the new IPs I had made," Moore says of his attempts to change DNSes and evade the attackers.

But Moore remained undaunted, and even had a little fun with the attackers, who appeared to be novices, he says. "It didn't look like the folks behind it were particularly clever -- more like someone got access to their friend's botnet and went on an ego-stroking rampage," Moore says.

At one point, Moore decided to try using Google Sites, a free Web hosting service from Google, to mitigate the DDoS attack. It worked for a few minutes -- until Google Sites hit its page limit, Moore says.

With the help of other researchers, Moore was able to narrow down the culprit command and control (C&C) domains to three -- all out of Russia. The researchers then got one of the domains blackholed. All three of the domains are associated with botnets and malware distribution.

Most of the bots, meanwhile, were infected Windows XP machines based in Turkey.

Moore decided to give the remaining two C&C domains a taste of their own medicine. He ran a reverse: For about 24 hours, he pointed the two DDoS streams that were flooding Metasploit back onto the offending domains so that they were flooding their own C&C infrastructure, he says. "The flood showed no sign of stopping before, and I sure wasn't trying to negotiate with them," he says.

The DDoS attacks finally came to a halt last Thursday. To take the sting out of future DDoS attacks, Moore is working on configuring his domain settings to a more "granular" level -- placing the various Metasploit resources, such as the framework and SSL, on different domains. "That would make it easier to bring the service up and down [in the event of another attack]," he says. "I had mail on a different network [so it wasn't affected in the latest round of attacks], and our DNS servers were fine [as well]."

But Moore says he wouldn't be surprised if the DDoS attacks on Metasploit resumed. If and when that happens, he said he would also enlist the help of some botnet-fighting volunteer organizations at the onset of an attack.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-4440
Published: 2014-12-19
Password Generator (aka Pwgen) before 2.07 generates weak non-tty passwords, which makes it easier for context-dependent attackers to guess the password via a brute-force attack.

CVE-2013-4442
Published: 2014-12-19
Password Generator (aka Pwgen) before 2.07 uses weak pseudo generated numbers when /dev/urandom is unavailable, which makes it easier for context-dependent attackers to guess the numbers.

CVE-2013-7401
Published: 2014-12-19
The parse_request function in request.c in c-icap 0.2.x allows remote attackers to cause a denial of service (crash) via a URI without a " " or "?" character in an ICAP request, as demonstrated by use of the OPTIONS method.

CVE-2014-2026
Published: 2014-12-19
Cross-site scripting (XSS) vulnerability in the search functionality in United Planet Intrexx Professional before 5.2 Online Update 0905 and 6.x before 6.0 Online Update 10 allows remote attackers to inject arbitrary web script or HTML via the request parameter.

CVE-2014-2716
Published: 2014-12-19
Ekahau B4 staff badge tag 5.7 with firmware 1.4.52, Real-Time Location System (RTLS) Controller 6.0.5-FINAL, and Activator 3 reuses the RC4 cipher stream, which makes it easier for remote attackers to obtain plaintext messages via an XOR operation on two ciphertexts.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.