The Register® — Biting the hand that feeds IT

Feeds

Patched DNS servers still vulnerable to cache poisoning

But the sky won't fall just yet

Customer Success Testimonial: Recovery is Everything

Large swaths of the internet remain at risk from a potentially crippling vulnerability in the net's address lookup system even after installing emergency patches, a researcher has warned.

Russian researcher Evgeniy Polyakov posted exploit code here, which he says allowed him to poison domain-name system servers running the most recent version of the Berkeley Internet Name Domain (BIND), the most popular software for translating domain names into numeric IP addresses. The attack, which poisons the records of domain-name system servers with incorrect information, could allow criminals to silently redirect millions of users to fraudulent websites that attempt to steal login credentials or install malware.

Researchers who spearheaded an international push to get internet service providers and other large organizations to patch the flaw said they weren't terribly concerned about the exploit code. That's because Polyakov's attack took 10 hours to carry out using two machines connected directly to the targeted DNS server via a gigabit ethernet link.

"That's a little different then spending 10 seconds over the internet," to carry out an attack, said Dan Kaminsky, the researcher who first warned of the DNS cache poisoning vulnerability.

The original attack works by flooding a DNS server with thousands of requests for domains with slightly different variations, 1.google.com, 2.google.com, 3.google.com and so forth. That allows attackers to gain a secret transaction number needed to trick other computers into updating their records with IP addresses that lead to rogue websites.

Successful attacks took seconds to carry out using 10-megabit connections. The patch to BIND and other DNS programs randomizes the source ports used, vastly reducing the odds an attacker will gain the transaction credentials.

"We have successfully made the attack significantly less likely to occur in the real world," Kaminsky told The Register. "That doesn't mean the defense is perfect." He said the patch should be thought of as a "stopgap" until more thorough changes can be made to the net's DNS.

So a word to the Googles, Microsofts and Ciscos of the world: You dodged a bullet in surviving the Kaminsky bug with nary a scrape, but next time you may not be as lucky. Forging a real fix won't be easy, but it's essential. Time to get cracking. ®

Ensure Ease of Recovery with Asigra’s Agentless Software

Latest Comments
Anonymous Coward

@TCP

"Another option would be to rework DNS to use TCP rather than UDP."

That would make DNS really suck. No thanks. Besides, if you are going to change the lower layer protocol, why not use something that's more reliable and faster: SCTP.

0
0

Or add a slow-down to reduce the risks further

Insert a Load Balancer, and ensure round-robin is used on the farm or caches. Now its incredibly difficult to doing poisoning. Go to Starbucks.

0
0

Protocol is the issue

You've got a 16-bit transaction ID and (with DJBDNS and now, with BIND) a 16-bit port. That's 32 bits of entropy now, which is why it's taking 10 hours over a fast line on average now, rather than the few seconds required for 16 bit of entropy provided by just the ID.

There's no more entropy to squeeze out of the existing protocol, so if 32-bits isn't enough and you don't fancy DNSSEC how about modding your caching nameserver to make each request twice and compare both results to ensure they're the same?That's 64-bits of entropy, and I imagine it's an easier upgrade path than DNSSEC - a few extra packets isn't as much of an issue as it was 10 years ago.

0
0

More from The Register

 breaking news
NSA PRISM snoop-gate: Won't someone think of the children, wails Apple
10,000 things probed, mostly about missing kids, Alzheimer patients, we're told
 breaking news
NSA PRISM-gate: Relax, GCHQ spooks 'keep us safe', says Cameron
Whatever they are up to, it's all above board, we're told
PRISM snitch claims NSA hacked Chinese targets since 2009
Snowden suddenly looks safer in Hong Kong after revelations
 breaking news
US chief spook: Look, we only want to spy on 6.66 BEELLLION of you
Americans assured they are not in the NSA's sights
Speech-to-text drives motorists to distraction
Will talking to you mean I crash into that car up ahead, Siri?
DHS warns of vulns in hospital medical equipment
Has your doctor's anasthesia machine been hacked?
 breaking news
'BadNews is malware' says outfit that found it
Google says code harmless but Lookout says code base is evolving
Panda-peddlers cuffed for chess gambling gambit
More porridge on the menu for Chinese coders after second offence
 breaking news
Yes, maybe we should keep hackers in the clink for YEARS, mulls EU
Watch out black hats, they just might throw away the key
Microsoft borks botnet takedown in Citadel snafu
Stupid Redmond kicked over our honeypots, wail white hats