Industry


Ads by TechWords

See your link here


Preston Gralla's picture
Preston Gralla

Seeing Through Windows

Protect yourself against poison DNS attacks in 30 seconds

A newly found flaw in the Domain Name System may leave millions of people vulnerable to poison DNS attacks. But there's a free, easy way to make yourself invulnerable, and it'll take you all of about 30 seconds.

The DNS flaw allows hackers to poison the cache of DNS servers, replacing legitimate Internet addresses with spoofed destinations. So if you type in the name of your bank, or another Web site, for example, you could be instead routed to a spoofed site without your knowledge.

The big ISPs are rushing to patch their DNS servers. Some, such as Comcast and Verizon, say they've already done so. AT&T is still trying to fix theirs.

But plenty of other places may be vulnerable. Not all businesses, for example, have patched theirs. And when you're out at a hot spot, you have no idea whether the DNS servers they point to have been patched.

So how can you protect yourself? Simple. Use the free OpenDNS service, instead of your default DNS server. The service has been patched and is safe. Use the free service, and you'll be set. The service has plenty of other benefits, as you can see in this article.

To use the OpenDNS servers, you configure your computer to use them. In Windows XP, select Control Panel --> Network and Internet Connections --> Network Connections, right-click your network connection from the Network Connections window, and select Properties. A dialog box like that shown below appears.

Scroll to the Internet Protocol (TCP/IP) listing and select Properties. At the bottom of the screen select "Use the following DNS server addresses". For the Preferred DNS server, enter this address: 208.67.222.222. For the Alternative DNS server, enter this address: 208.67.220.220. The figure below shows the screen filled out properly. Click OK, and then click Close and Close again. Restart your PC in order for the settings to take effect.

Vista users should select Control Panel --> Network and Internet --> Network and Sharing Center. Click the View status link on the right side of the screen. The Local Connection Status screen appears, as shown in the figure below. Click Properties.

You'll come to the same dialog box for XP that lets you use the OpenDNS servers. Follow the same directions as for using OpenDNS on XP, and you'll be set.

Doing this, of course, only protects each individual PC. If you've got a home router, you can configure it to tell every PC on the network to use OpenDNS. For details, check out this article.

If you run a corporate network and need help getting OpenDNS set up, your best bet is to go to the OpenDNS FAQ page.

Like this blog? Subscribe to the RSS feed!

Related Post

What People Are Saying

OpenDNS redirects google...

Don't know exactly what the relationship is between OpenDNS and google, but...

;; ANSWER SECTION:
www.google.com. 30 IN CNAME google.navigation.opendns.com.
google.navigation.opendns.com. 30 IN A 208.69.32.231
google.navigation.opendns.com. 30 IN A 208.69.32.230

That's not the google that I'm expecting.

What about Apple computers

Please update the article with directions for Mac OS X.

Mac instructions

Great suggestion. Thanks!

Seth Weintraub has posted a set of instruction for Mac users: Protect your Mac against poisoned DNS servers

I don't see how openDNS is

I don't see how openDNS is going to protect you. If a large bank manages their own DNS servers and haven't patched (they are authoritative) then they can be poisoned.

You have moved and are asking openDNS for IP addresses. When you attempt to go the bank's site, openDNS doesn't know the IP. So they are going to ask the authoritative servers what the addresses are. The problem is that the response they get will be the poisoned records on the banks servers. So you are just as far ahead as you were before switching DNS servers except you've now viewed advertising for every URL you've misspelled.

That's not how cache-poisoning works

No, you misunderstand how cache-poisoning works. Authoritative servers will still give correct responses for the zones that they're authoritative for. Those can't be poisoned because they're stored locally on the authoritative server.

The problem is with the NON-authoritative servers. Let's say YourISP runs its own DNS server (call it dns123.yourisp.com). If it recently looked up information from an authoritative server, dns123.yourisp.com will remember it so it won't have to look it up again.

The attack consists of tricking dns123 into believing that fake records should also be remembered, for example a record that claims to have the address of paypal.com, but instead points to the hacker's system. Until this record expires, any YourISP customer who wants to connect to Paypal will be sent to the hacker's phishing site instead.

According to the OpenDNS

According to the OpenDNS website, it appears that you agree to accept advertisements from them by using them. How is getting spammed from your DNS provider a good thing?

There's no spam...or ads, really

OpenDNS doesn't send you ads. If you type in a URL that doesn't exist anywhere on the Web, you're sent to an OpenDNS search page instead of a site-not-found page. That search page has some clearly labeled text ads on it on the right-hand side, in the same way that Google does.

Isn't this a way to cause

Isn't this a way to cause too much trafic in OpenDNS? wouldn't it fall apart if everybody implemented your suggestion?

Nope they are setup for volume

OpenDNS handle over 7 billion DNS lookups a day. Even a sudden uptick or another billion wouldn't kill them. They see fluctuations of 500 million or more between weekends and weekdays as it is.

Cash cow you mean...

Since OpenDNS makes their money from redirecting your NXDOMAIN responses to their "marketing partners" (and they are doing something with google as well), all you are doing is helping their bottom line.

NXDOMAIN rewriting ("enhancing the user experience") is evil.