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 Must Reads - September 25, 2014
Dark Reading's new Must Reads is a compendium of our best recent coverage of identity and access management. Learn about access control in the age of HTML5, how to improve authentication, why Active Directory is dead, and more.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2012-5485
Published: 2014-09-30
registerConfiglet.py in Plone before 4.2.3 and 4.3 before beta 1 allows remote attackers to execute Python code via unspecified vectors, related to the admin interface.

CVE-2012-5486
Published: 2014-09-30
ZPublisher.HTTPRequest._scrubHeader in Zope 2 before 2.13.19, as used in Plone before 4.3 beta 1, allows remote attackers to inject arbitrary HTTP headers via a linefeed (LF) character.

CVE-2012-5487
Published: 2014-09-30
The sandbox whitelisting function (allowmodule.py) in Plone before 4.2.3 and 4.3 before beta 1 allows remote authenticated users with certain privileges to bypass the Python sandbox restriction and execute arbitrary Python code via vectors related to importing.

CVE-2012-5488
Published: 2014-09-30
python_scripts.py in Plone before 4.2.3 and 4.3 before beta 1 allows remote attackers to execute Python code via a crafted URL, related to createObject.

CVE-2012-5489
Published: 2014-09-30
The App.Undo.UndoSupport.get_request_var_or_attr function in Zope before 2.12.21 and 3.13.x before 2.13.11, as used in Plone before 4.2.3 and 4.3 before beta 1, allows remote authenticated users to gain access to restricted attributes via unspecified vectors.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
In our next Dark Reading Radio broadcast, we’ll take a close look at some of the latest research and practices in application security.