An attack this week targeting the Metasploit Website redirected visitors to a phony page proclaiming the hack — but the hacking tool siteâ€™s servers remained intact.
HD Moore, creator of Metasploit and director of security research for BreakingPoint Systems, says the attack didnâ€™t actually touch the Metasploit servers themselves. The attacker or attackers instead infected another server on the same hosting provider network as Metasploit to execute a so-called Address Resolution Protocol (ARP) poisoning attack aimed at Metasploit.
â€œ[It was] just a funny hack,â€ Moore says. â€œI would think it was much cooler if they didn’t have to own someone else to do it.â€
The attack was a man-in-the-middle exploit that ARP-spoofed the router to Metasploit. The fake router modified all of the traffic that went through it, including that of other servers on the hosting providerâ€™s network. Visitors to Metasploit were sent to a Chinese page that said â€œhacked by sunwear! just for funâ€ and included a note about selling a zero-day exploit. Moore says although the attacker who took credit for the attack on the fake page was from China, thereâ€™s no way to know for sure if that same attacker was the one who initially hacked the server which was used in the attack.
Moore first heard about a problem on Sunday evening while out of town at a conference, when someone contacted him to say they had seen an intermittent redirect on the Metasploit site. â€œI checked out the server itself, verified it had not been compromised, and went to sleep,â€ Moore says. The next day after delivering a keynote address at the conference, he got wind that there was officially a man-in-the middle attack underway.
â€œSo I headed upstairs, figured out it was an ARP spoof of the gateway, hard coded the MAC address of the real router, and called it done after sending out some quick emails,â€ he says.
Moore says the Metasploit servers themselves have never to date been hacked. Still, he plans to add an ARP-alerting tool to the site, he says, as well as some other precautions. â€œUsing a tool like ‘arpwatchâ€™â€¦ will send alerts when the address changes,â€ he says, although it wonâ€™t help when thereâ€™s a redirect-type attack further up the link chain.
â€œIf anything, the takeaway is that ARP spoofing is still very effective for networks with machines consisting of different levels of security,â€ Moore says. â€œThe weakest link gets owned, then used to hijack traffic to the stronger servers.â€