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, January 2015
To find and fix exploits aimed directly at your business, stop waiting for alerts and become a proactive hunter.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-7402
Published: 2014-12-17
Multiple unspecified vulnerabilities in request.c in c-icap 0.2.x allow remote attackers to cause a denial of service (crash) via a crafted ICAP request.

CVE-2014-5437
Published: 2014-12-17
Multiple cross-site request forgery (CSRF) vulnerabilities in ARRIS Touchstone TG862G/CT Telephony Gateway with firmware 7.6.59S.CT and earlier allow remote attackers to hijack the authentication of administrators for requests that (1) enable remote management via a request to remote_management.php,...

CVE-2014-5438
Published: 2014-12-17
Cross-site scripting (XSS) vulnerability in ARRIS Touchstone TG862G/CT Telephony Gateway with firmware 7.6.59S.CT and earlier allows remote authenticated users to inject arbitrary web script or HTML via the computer_name parameter to connected_devices_computers_edit.php.

CVE-2014-7170
Published: 2014-12-17
Race condition in Puppet Server 0.2.0 allows local users to obtain sensitive information by accessing it in between package installation or upgrade and the start of the service.

CVE-2014-7285
Published: 2014-12-17
The management console on the Symantec Web Gateway (SWG) appliance before 5.2.2 allows remote authenticated users to execute arbitrary OS commands by injecting command strings into unspecified PHP scripts.

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.