Porn site feud spawns new DNS attack

05.02.2009
A scrap between two pornographic Web sites turned nasty when one figured out how to take down the other by exploiting a previously unknown quirk in the Internet's Domain Name System (DNS).

The attack is known as DNS Amplification. It has been used sporadically since December, but it started getting talked about last month when ISPrime, a small New York Internet service provider, started getting hit hard with what's known as a distributed denial of service (DDOS) attack. The attack was launched by the operator of a pornographic Web site who was trying to shut down a competitor, hosted on ISPrime's network, according to Phil Rosenthal, the company's chief technology officer.

The attack on ISPrime started on the morning of Sunday, Jan. 18. It lasted about a day, but what was remarkable was that a relatively small number of PCs were able to generate a very large amount of traffic on the network.

One day later, a similar attack followed, lasting three days. Before ISPrime was able to filter the unwanted traffic, attackers were able to use up about 5GB/second of the company's bandwidth,

With a bit of work, Rosenthal's staff was able to filter out the hostile traffic, but in an e-mail interview he said that the attack "represents a disturbing trend in the sophistication of denial of service attacks."

According to Don Jackson, director of threat intelligence at security vendor SecureWorks, we may soon see a lot more of these DNS Amplification attacks. Late last week, the botnet operators, who rent out their networks of hacked computers to the highest bidder, started adding custom DNS Amplification tools to their networks.

"Everyone's picked it up now," he said. "The next big DDOS on some former Soviet republic, you'll see this mentioned, I'm sure."

One of the things that makes a DNS amplification attack particularly nasty is the fact that by sending a very small packet to a legitimate DNS server, say 17 bytes, the attacker can then trick the server into sending a much larger packet -- about 500 bytes --- to the victim of the attack. By spoofing the source of the packet, the attacker can direct it at specific parts of his victim's network.

Jackson estimates that the 5GB/second attack against ISPrime was achieved with just 2,000 computers, which sent out spoofed packets to thousands of legitimate nameservers, all of which started flooding the ISPrime network. ISPrime's Rosenthal says that about 750,000 legitimate DNS servers were used in the attack on his network.

Earlier this week, SecureWorks produced a of the DNS Amplification attack.

The attack is generating a lot of discussion amongst DNS experts, according to Duane Wessels, program manager with DNS-OARC (Operations Analysis and Research Center), based in Redwood City, California.

"The worry is that this kind of attack could be used on more high-profile targets," he said.

One of the things that makes the attack particularly nasty is that it's very hard to protect against.

"As far as I know, the only real defense you have is to ask your upstream provider to filter [the malicious traffic]," he said. "It's not something the victim can do by themselves. They need cooperation from the provider."

The DNS system, a kind of directory assistance service for the Internet, has come under increased scrutiny over the past year, when hacker Dan Kaminsky discovered a serious flaw in the system. That flaw, which has now been patched by makers of DNS software, could be exploited to silently redirect Internet traffic to malicious computers without the victim's knowledge.

DNS-OARC has on how to prevent BIND DNS servers from being used in one of these attacks. Microsoft was unable to immediately provide information on how to mitigate this particular attack on its own products, but its guidance on deploying secure DNS servers can be found