News for hackers. Stuff that matters.
Re:Chrome connects to three random domains at startup by subwindow on Saturday February 18, 2012 @05:15PM (#3607896)
This has some interesting ramifications- some network security appliances (I work for a company that makes one) look for suspicious sets of DNS requests that match the Domain Generation Algorithms that malware like Conficker use to find a command and control server.

These "random" requests look almost exactly the DGA for Murofet- a Zeus variant. This has caused some problems for us (and other vendors, I would assume) in the form of massive numbers of false positives. In short, it's been kind of a PITA.

I wish they wouldn't do this, but it is definitely a tough problem to solve and I can't think of a better approach off of the top of my head. The ultimate culprit is the ISPs that return an A record for a DNS request that really should return NXDOMAIN. These ISPs are essentially breaking the Internet, and we're all just scrambling to put band-aids in place to get it to work again.

Re:Chrome connects to three random domains at startup by teach on Saturday February 18, 2012 @06:45PM (#3608093)
The behavior also causes problems in my workplace, too. I work in a public school, and we use an Internet filter as required by law.

One part of the filter is attached to our default DNS server, and it looks up novel domains to see if they ought to be blocked. This lookup is slow.

Launching Chrome first thing in the morning takes quite a while, because our DNS server/filter blocks until those 3 random domains fail to resolve.

I really wish that I could turn it off, although admittedly our "network" is barely compliant with protocols in the name of filtering.

Re:Chrome connects to three random domains at startup by andrewcooke on Saturday February 18, 2012 @06:55PM (#3608117)
i suspect that you're using their dns server because it's what is given to you via dhcp, but you can probably configure your own (well, you can certainly configure you own; the problem is it's possible that they are blocking dns requests). for example, set things to use 8.8.8.8 as the dns server (which is google's).
Re:Chrome connects to three random domains at startup by teach on Sunday February 19, 2012 @12:03AM (#3608698)
No, we can't configure our own. The network settings config is locked out using policy controls.
Re:Chrome connects to three random domains at startup by rdtsc on Sunday February 19, 2012 @04:03AM (#3609000)
Supposedly there is a command line option in Chrome to specify a custom dns server.

  --dns-server=8.8.8.8
But it also looks like it doesn't always work (never worked, or is a special development mode only feature). Here is the bug report on it:

http://code.google.com/p/chromium/issues/detail?id=85875

Re:Chrome connects to three random domains at startup by andrewcooke on Sunday February 19, 2012 @06:51AM (#3609159)
comment 5 (in that thread, from the developer involved) says that it is working and testing it myself (google-chrome --dns-server=8.8.8.8) with wireshark shows that it does query that server.

(thanks for pointing this out; it wasn't what i was suggesting - i had assume the laptop was the op's own).

Re:Chrome connects to three random domains at startup by jsilence on Sunday February 19, 2012 @06:44AM (#3609151)
This is a good reason not to stick to the DNS-resolver the ISP gives you with DHCP, but to explicitly set it to a DNS resolver you trust.

Wondering why Chrome is not simply using the Google resolver on 8.8.8.8. Of course this would yet be another band aid that breaks the internet even further, when applications start implementing their own network stack.

Re:Chrome connects to three random domains at startup by st0p on Sunday February 19, 2012 @09:42AM (#3609433)
We use chrome for internal apps. Forcing you to use 8.8.8.8 means our users have to remember ip addresses instead of http://nameofapplication/

Not a problem for me, but I'm sure a lot of people would complain.

Re:Chrome connects to three random domains at startup by justincormack on Sunday February 19, 2012 @10:50AM (#3609566)
Put your internal apps on real IP addresses with real DNS and just firewall them?
Re:Chrome connects to three random domains at startup by st0p on Sunday February 19, 2012 @02:11PM (#3610071)
So instead of having these machines in our serverroom inside our office, we'd have to pay for using them in a data center and register URL's, only because some ISP's use an insane way to handle NXDOMAIN? There are many valid reasons to "go into the cloud", but this is not one of them.
Re:Chrome connects to three random domains at startup by justincormack on Sunday February 19, 2012 @03:15PM (#3610266)
You can assign real ip addresses to machines in your server room, give them dns, and firewall them externally. Just ask your isp for some addresses. There is no reason why this is any different from using nat in security, but you can use real dns. You can use ipv6 if you can't get ipv4 addresses.
Re:Chrome connects to three random domains at startup by jmathai on Sunday February 19, 2012 @03:55PM (#3610376)
Or, the browser can just not default to name servers it deems best for everyone and work how it's always worked: well.

This just seems like adding duck tape to a self-inflicted problem.

Re:Chrome connects to three random domains at startup by lmm on Monday February 20, 2012 @11:43AM (#3612896)
Non-publicly-routable addresses are a hack that will cause you nothing but trouble, and are going away with IPv6, so you might as well move away from them now.

(Not that having chrome use 8.8.8.8 is a good idea either. As is often the case with hacks, either on its own works fine but the two interact poorly.)

Re:Chrome connects to three random domains at startup by jmathai on Monday February 20, 2012 @01:26PM (#3613306)
Not sure I agree that non-publicly-routable addresses are a hack. The ability to run your own DNS server and having a firewall are pretty elegant components of most networks.

That being said, it very well maybe time to find a better alternative :).

Re:Chrome connects to three random domains at startup by lmm on Thursday February 23, 2012 @02:41AM (#3624169)
Firewalls have their place but should not be conflated with routing; the two are separate, and treating them as the same can lead to confusion and broken security.

As for DNS, it has a very elegant hierarchical delegation system, such that organizations can control their own while also ensuring that all the world's DNS servers give consistent answers (and if you need short names for your internal systems on your own network, that's what search paths are for).

Re:Chrome connects to three random domains at startup by FooBarWidget on Sunday February 19, 2012 @09:21AM (#3609392)
Not all networks allow using an external DNS. For example I regularly travel with the train in the Netherlands, and some trains provide wifi. The network intercepts all HTTP requests and forwards the user to a Terms Of Usage page; interception stops after the user has checked the 'I agree' checkbox. For a time I was wondering why even the Terms Of Usage page never shows up; turns out it was because I was using the Google DNS. Removing the custom DNS settings made it work again.
Re:Chrome connects to three random domains at startup by shabble on Sunday February 19, 2012 @04:14AM (#3609012)
It seems like there should be at least some manual override (assuming there isn't one already - I didn't check the details much beyond the article provided) to set your 'my DNS is NX-LYING' flag manually. For machines that are permanently emplaced in a broken DNS network, it can just be turned on and left.

Roaming devices might make it a bit more tricky, but some integration with OS connectivity-detection and location-awareness might help there, as well as an improved UI for actually setting it.

A really short-term bandage would be to use some less identifiable DGA, but that opens the possibility of future malware using the Chrome DGA to pretend to be legit.

Is there a technical reason why 'foo.invalid' and 'bar.invalid' (and any of the other restricted dns names) couldn't be used instead?

I suppose that the ISPs could serve those correctly to make the tests pass, but what would they gain from it except even more user irritation?

Anything I'm missing?

Re:Chrome connects to three random domains at startup by icebraining on Sunday February 19, 2012 @10:18AM (#3609498)
It seems like there should be at least some manual override (assuming there isn't one already - I didn't check the details much beyond the article provided) to set your 'my DNS is NX-LYING' flag manually. For machines that are permanently emplaced in a broken DNS network, it can just be turned on and left.

A flag wouldn't be enough, because Chrome also learns what records it returns when it lies, so it can recognize other lies.

Re:Chrome connects to three random domains at startup by mrb on Sunday February 19, 2012 @04:23PM (#3610458)
There is a big difference between Chrome's requests and Murofet's requests. Chrome uses no TLD ("xxxxx") but Murofet does ("xxxxxx.com").