/ 6 August 2008

Giant online security hole slowly shrinking

A giant vulnerability in the internet’s design is allowing criminals to redirect traffic silently to websites under their control. The problem is being fixed, but its extent remains unknown and many people are still at risk.

The gaping security hole enables a scam that targets ordinary people typing in a legitimate web address. It happens because hackers are now able to manipulate the machines that help computers find websites. If the trick is done properly, computer users are unlikely to detect whether they’ve landed at a legitimate site or an evil double maintained by someone bent on fraud.

Security experts fear an open season for virus attacks and identity-fraud scams.

”It’s kind of like saying, ‘There’s a bunch of money on the street. If you can get over there soon enough, you can get it,”’ said Ken Silva, chief technology officer for VeriSign, which manages the ”.com” and ”.net” directories of internet addresses. ”It’s something the industry is taking seriously. You’d be in a bad place if you weren’t doing something about it.”

The bug’s existence was revealed nearly a month ago. Since then, criminals have pulled off at least one successful attack, directing some AT&T internet customers in Texas to a fake Google site. The phony page was accompanied by three programs that automatically clicked on ads, with the profits for those clicks flowing back to the hackers.

There are likely worse scams happening that haven’t been discovered or publicly disclosed by internet service providers. ”You can bet that the [internet providers] are going to stay tightlipped about any attacks on their networks,” said HD Moore, a security researcher.

The AT&T attack probably would have stayed quiet had it not affected the internet service of Austin, Texas-based BreakingPoint Systems., which makes machines for testing networking equipment and has Moore as its labs director. He disclosed the incident in the hopes it would help uncover more breaches.

The underlying flaw is in the domain name system (DNS), a network of millions of servers that translate words typed into web browsers into numerical codes that computers can understand.

Getting from one place to another on the internet typically requires a trip through several DNS servers, including some that accept incoming data and store parts of it. That opens them up for potential attack.

What this means is that a computer user in say, San Francisco, might type ”www.yahoo.com” and head straight to the real Yahoo! site, while at the same moment, a user in New York — whose traffic is routed through different DNS servers — might type that same web address and end up on a phony duplicate site.

Scant details have been available about how the vulnerability works.

The researcher who discovered it, Dan Kaminsky of Seattle-based computer security consultant IOActive, announced July 8 that he had found a major weakness in DNS. But he kept the rest secret because he wanted to give companies that run vulnerable servers a month to apply patches — software tweaks that cover the security hole.

He coordinated with Microsoft, Cisco Systems, Sun Microsystems and other major vendors to issue patches simultaneously.

He got two weeks before bad guys and good guys alike accurately guessed the basics of what Kaminsky discovered.

It is this: by adding bad information to the packets of data zooming in and out of certain DNS servers, hackers can swap out the address of a legitimate website and insert the address of their malicious website instead.

A compromised server believes it’s sending people to the authentic site. And if the bogus site is designed well enough, users don’t know the difference, unless the site starts behaving weirdly.

Some clues might come if a page, like a banking website, is usually protected with secure sockets layer, or SSL, which verifies a site’s owner and shows a padlock icon or a green address bar inside the web browser. The padlocks in particular, however, are not always foolproof, because scammers can spoof them.

Just how widespread the attacks have been is hard to tell. The evidence of tampering can disappear before an internet provider even learns there’s a problem.

The patching of DNS servers has accelerated. Kaminsky said 84% of the servers he tested at the beginning of the process were vulnerable. That has dropped to about 31%.

Still, Kaminsky said some administrators of computer networks might not patch their machines until they come under attack. Others didn’t patch immediately because they had to spend days or weeks testing the repairs.

That was the case with AT&T, which said the breach affected just one of its servers, a machine that was scheduled to be taken offline anyway. AT&T says it has fixed the problem.

More details about the vulnerability were expected to emerge on Wednesday, when Kaminsky was to speak at the Black Hat computer security conference in Las Vegas. The conference and its sister event, DefCon, draw researchers, government investigators and corporate executives eager to learn about new vulnerabilities and how to protect against them.

”There might be one or two things that haven’t leaked yet,” Kaminsky said with a snicker. ”No one should even think they know the subject of the talk.”

DNS attacks aren’t new. But Kaminsky discovered a way to link together some widely known weaknesses in the system, so that an attack that would have taken hours or days can now take only seconds.

”Quite frankly, all the pieces of this have been staring us in the face for decades, and none of us saw it until Dan put it all together,” said Paul Vixie, president of the Internet Systems Consortium, a non-profit that publishes the software inside most of the world’s DNS servers.

”This is the mother lode all right, from the point of view of internet criminals looking for easier access to other people’s money and secrets.” — Sapa-AP