A Look At the Safety of Google Public DNS
darthcamaro writes "Yesterday we discussed Google's launch of its new Public DNS service. Now Metasploit founder and CSO at Rapid7, H D Moore, investigates how well-protected Google's service is against the Kaminsky DNS flaw. Moore has put together a mapping of Google's source port distribution on the Public DNS service. In his view, it looks like the source ports are sufficiently random, even though they are limited to a small range of ports. The InternetNews report on Moore's research concludes: 'What Moore's preliminary research clearly demonstrates to me is that Google really does need to live up to its promise here. Unlike a regular ISP, Google will be subject to more scrutiny (and research) than other DNS providers.'"
It fails miserably, Google revokes it, and we all go back to loving them.
Everyone loves taking a shot at Google, but when they are providing a new FREE service - I can't see it destroying their public image all that much.
My real concern with Google DNS is privacy. Your DNS records are extremely valuable to google, so I sincerely doubt google is not going to record them.
I'm not even entirely convinced about the benefit of using google's; your local DNS server hierarchy is going to be far more responsive, even if it does have a higher miss rate.
Yes, it might be useful for people whose ISP DNS server is slow. That didn't happen to me since my dialup days. Besides, now I simply run my own caching DNS server. It's not hard to set up at all.
I find it amazing that nobody seems to notice that adding an ECHELON and a DCS1000 feed to Google is making it like the NSA, but where people actually VOLUNTEER data. In addition, it's Terms of Service give it more legal freedom to use and abuse your information and intellectual property than even the US border control can with accessing laptops of people entering the country.
It appears 8+ years of indoctrination is paying off big time - nobody appears to remember that privacy is a basic right. All it takes is some BS about "not being evil" for people to miss the shocking depth to which they can access all your personal data. Even the stuff they don't hold themselves will come up through the search engine. By matching up DNS records they will be able to add your entire Internet activity to your identity.
That's going to be fun when you catch some sort of virus downloading porn - and the next time you apply for a job..
Insert
Ahhh... freedom. Finally I can view YouTube from work. That's Google! ...until the network admins block these DNS servers...
Freedom for a day is better than no freedom at all!
I ran some tests against Google DNS and some other DNS providers to measure if Google DNS was actually faster than say OpenDNS, or my local ISP. The results showed OpenDNS completely outperformed Google, but Google did do better than two local ISPs. Read my blog entry about this.
So I am giving Google DNS a try on my networks.
I do not see the privacy issues, as they are very limited if you are using a cache on your router with Google as the DNS server. Google gets to see one lookup, and then my home router (with dnsmaque) serves any repeat visits for me or the other computers on my network. For the majority of the sites I visit on a regular basis, my router provides the DNS.
I would suspect that a majority of people using home routers have some sort of cache now in the firmware that does similar work, in their OS, or their browser. It is not like Google is able to see me hit their DNS (although I am sure that is true for some users), every time I want to visit a site again. It is of little value, other than in the most general sense of determining what sites are popular.
Living in Chile
Google, Google, who can I turn to? 8.67.53.09
What a fool believes, he sees, no wise man has the power to reason away.
One advantage is that unlike 4.2.2.x, you have explicit permission to use this one.
Think about it. Eventually each of us will have our own DNS entry to identify our individual web presence. The things we make available to do business, social networking etc will be identified through DNS. Why wouldn't Google want to be in on this? Just because there is a profit motive doesn't necessarily mean it is nefarious. This will allow them to add value at a fundamental level. I can see a day when Facebook is irrelevant and people create there own ad-hoc social networks through their own web-presence.
Dan K has been on /., never could cite a single example of an in-the-wild, widespread exploit of the Kaminsky DNS flaw.
Kaminsky Bug == HOGWASH
Yes. A severe security flaw in one of the fundamental layers of the internet is hogwash... because it's not CURRENTLY being widely exploited 'in the wild'.
Please, make sure I never, ever, EVER, hire you to work anywhere near my network.
Reports from my friend inside the GFW, both DNS servers already banned by the Chinese government...wth...and openDNS stayed untouched for like ever...
What percentage of total users use DNS that is not assigned from their ISP? I would guess a good percentage of the /. crowd uses a DNS that is not assigned via their ISP. But out of the total population of internet users, using non-IPS DNS servers has got to be pretty small.
Obligatory pedantry:
86.75.30.9
I was wondering the same thing... people have been using the fact that ISPs don't even say they won't log as a retort against the argument that Google might be spying, but if the ISP can still spy on it as it's passed to Google then you'd essentially be pissing away your privacy to TWO companies. Not like your ISP doesn't get everything else anyways...
They redirect to their own pages to make money just like Sitefinder. Everyone called Sitefinder evil, but because they are called "open" people seem to let them get away with this. Google's DNS won't do that at least.
Also, I seem to remember people catching OpenDNS hijacking google.com to inject different ads (again, to make money), and their excuse was that they were "protecting" their customers from Google. If they are doing that now it would be reason alone to not use them. I don't want my DNS responses mangled or filtered and that seems to be getting more common with even legitimate ISPs.
One place which OpenDNS might be better is in privacy. Someone should do a side-by-side comparison of their policies.
"In his view, it looks like the source ports are sufficiently random,
even though they are limited to a small range of ports."
The distribution graph appears to show Google resolver using random ports
between 32768 and 65535. While that's only half the ports available,
it's misleading to characterize it as "a small range of ports".
I do not see the privacy issues
Having your own DNS cache simply means that Google will only see unique queries from you. Even if your cache never expired any entries, they would still have a record of every single site you visit. They simply wouldn't know how many times you visited.
Do you see the privacy issues now?
From the picture in the article it looks like they have 15 bits of entropy in the port number and 16 bits of entropy in the ID. That's a total of 31 bits of entropy out of 32 theoretically possible. They also add entropy through the case of letters in the domain name itself (and maybe also the lower bits of the IP address, but I haven't verified that). Sounds like this all adds up to 40 or more bits of entropy. With 40 bits of entropy the chance of successful poisoning would be vanishing small.
How do they do the asynchronous updates of entries that are about to expire? If they randomize the timing of those and use TCP rather than UDP they can probably add another 20 bits of entropy right there.
If google has the DNS then Why doesn't google return the text-url when they could just return the numerical IP address in the link directly? That way you could skip the DNS step entirely. FOr sites you visit a lot they are probably already cached so a large fraction of uncached links come from google searches so this optimization might matter and it certainly would make google searches seem faster
Some drink at the fountain of knowledge. Others just gargle.