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-2014-9676
Published: 2015-02-27
The seg_write_packet function in libavformat/segment.c in ffmpeg 2.1.4 and earlier does not free the correct memory location, which allows remote attackers to cause a denial of service ("invalid memory handler") and possibly execute arbitrary code via a crafted video that triggers a use after free.

CVE-2014-9682
Published: 2015-02-27
The dns-sync module before 0.1.1 for node.js allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the first argument to the resolve API function.

CVE-2015-0655
Published: 2015-02-27
Cross-site scripting (XSS) vulnerability in Unified Web Interaction Manager in Cisco Unified Web and E-Mail Interaction Manager allows remote attackers to inject arbitrary web script or HTML via vectors related to a POST request, aka Bug ID CSCus74184.

CVE-2015-0884
Published: 2015-02-27
Unquoted Windows search path vulnerability in Toshiba Bluetooth Stack for Windows before 9.10.32(T) and Service Station before 2.2.14 allows local users to gain privileges via a Trojan horse application with a name composed of an initial substring of a path that contains a space character.

CVE-2015-0885
Published: 2015-02-27
checkpw 1.02 and earlier allows remote attackers to cause a denial of service (infinite loop) via a -- (dash dash) in a username.

Dark Reading Radio
Archived Dark Reading Radio
How can security professionals better engage with their peers, both in person and online? In this Dark Reading Radio show, we will talk to leaders at some of the security industry’s professional organizations about how security pros can get more involved – with their colleagues in the same industry, with their peers in other industries, and with the IT security community as a whole.