6 ms·
What would happen if someone actually managed to move google.com to a non-google registrar account under their control? Would someone step in and just seize it
by 0x0 11y ago
What would happen if someone actually managed to move google.com to a non-google registrar account under their control? Would someone step in and just seize it back? Can you imagine the magnitude of client devices hitting the wrong server for gmail,android updates,chrome even for a few minutes?
- christianmann 11y agoDNS takes a few hours to fully propagate, last time I checked.
- bulatb 11y agoThe propagation "speed" is the effect of clients honoring the records' TTLs. Clients and intermediate servers are responsible for pulling updates to whatever records they believe are stale; the DNS itself just sits there serving queries. Clients and caches sometimes disregard the TTL or use their own, so sometimes changes to a record "haven't propagated" to some clients, but what's really going on is something that's supposed to keep its info fresh decided not to. Though it's possible for clients to get out of date, the story of a built-in propagation speed you can't do anything about is based on misconceptions. The record owner has a lot of say in how and when their records get refreshed.
- rdancer 11y agoThat depends on the expiry time ("Time To Live / TTL") set for the particular record. Minimum TTL is 1s, and maximum is 2e32 -1 seconds, or slightly over 136 years[1]. Resolver libraries and daemons keep cached results in volatile memory, so in practical terms, if a high TTL is set, the spoofed result will continue to be used until the given machine is rebooted. For some middle boxes, this can be years. [1] RFC 1035 section 2.3.4 https://www.ietf.org/rfc/rfc1035.txt https://www.ietf.org/rfc/rfc1035.txt
- arihant 11y agoI think the point is -- if the TTL is set low, most ISPs simply ignore it to a minimum setting of at least a few hours. So changing/pointing a Google hostname to a victim might not have that big an impact if done only for a few minutes.
- rdancer 11y agoI have seen ever-lower TTLs in the wild, sub-minute even, in the past few years. Even historically, TTLs have in my experience always been respected. I think what really tends to happen, and this gets the folks confused, is that the initial TTL is high (say, 3 days), then the sysadmin wants to do some changes, and because they want to be able to keep changing the IP quickly, while they're working on it, they set the TTL low (say, 1 minute). Only you cannot retroactively lower the TTL of the records that have been sent previously, they'll expire whenever during the following 3 days. Your point still stands, mostly. The probability of the old record with a high TTL to be evicted from a resolver's cache during any given short period of time is low.
- TomGullen 11y agoBack in the day I remember this was true, but nowadays when I make changes to DNS in USA, the change is nearly instantly reflected over here in the UK, and a matter of minutes for apparent propagation worldwide. It's gotten a lot faster!
- TrevorJ 11y agoThat would be like buying the worlds biggest DDOS botnet holy cow.
- jldugger 11y agoWell, maybe second biggest. https://citizenlab.org/2015/04/chinas-great-cannon/ https://citizenlab.org/2015/04/chinas-great-cannon/
- rdancer 11y agoI can imagine that such an attack would be dealt with a mix of manual intervention and technical measures, something in between the Google.com search page outage that happens once in a blue moon, and the false routes for YouTube.com IPs that have been propagated several times during the past few years. Big companies that rely on Internet presence are quite pro-active, and there are teams of people whose job is to prevent something like this from happening in the first place. DNS is not a secure protocol, and you can redirect connections intended for google.com from the same local network easily, yet the world still keeps turning.
- _RPM 11y agoHow exactly would that work. modify an instance of bind and check if the client is requesting to resolve 'google.com'? If true, then respond with the rouge IP? First we must make sure the client machine is set up to use our name servers, the ones we have control over.
- colechristensen 11y agoYou can do it by listening in promiscuous mode and injecting packets into the network pretending to be the DNS server. You can also setup a rouge DHCP server that sends a different DNS address. There are likewise many other methods.
- tracker1 11y agoYou don't even need to setup the client, if you have control over any number of intermediate routers, you can snag/reroute port 53 tcp/udp traffic any way you like. I tend to setup my home router to do this, so that all open dns traffic goes where I tell it to. It's also advised to do so for unauthenticated users on shared/public wifi so that you can provide an agreement page/site. Also, so that unauthenticated users can't use DNS as a tunnel method, which is pretty damned cool, but insecure.
- _RPM 11y agoI've set up my laptop to go to my home internal server (old laptop) for DNS. My quality-of-development-environment has increased because I can associate any internal in development app I want with a hostname tied to my internal DNS prefix. Very useful for setting up nginx for multiple applications.
- HappyTypist 11y agoGoogle has HSTS so requests will be prematurely terminated, however it'll still be a huge DDoS attack.
- 0x0 11y agoWell if you control the domain you can easily get an SSL cert (except some clients might pin the CA for google.com).
- nly 11y agoIIRC, all Chrome users are pinned for *.google.com
- LgWoodenBadger 11y agoHowever, chrome will still trust certs issued for Google domains that come from non-Google trusted issuers (things in your local trusted keystore) It sucks because now your employee can MITM you for gmail/google chat/etc
- HappyTypist 11y agoCertificates are pinned too.
- toast0 11y agogoogle.com is under a registry lock, nobody can touch it without going through a security song and dance involving the registry (Verisign) and the registrar (MarkMonotor), so it's unlikely to happen. This looks like because Google's domain selling tool thought he bought the domain, he was authorized for the domain for all the rest of the Google tools, which is scary, but probably not earth shattering. Kind of depends on what you can do in the tools to send people to another site. If they actually hijacked the domain, they would probably kill their DNS servers, but they could do a lot of things; including likely get some domain control certificates (but likely not from the registrars Google pins to, and a lot of people have google's certificate pins)
- michaelmior 11y agoIt seems highly likely that the tools he gained access to would actually be completely useless for google.com.
- sauere 11y agoThis happened before with the German TLD, google.de http://www.spiegel.de/netzwelt/web/domain-gekapert-google-und-denic-weisen-schuld-von-sich-a-461728.html http://www.spiegel.de/netzwelt/web/domain-gekapert-google-un...
- philip1209 11y agoI wonder whether Google hard-codes their authoritative nameservers through their consumer recursive DNS
- avinassh 11y ago> Can you imagine the magnitude of client devices hitting the wrong server for gmail,android updates,chrome even for a few minutes? This somehow reminds me about Gamil [0] [0] - https://en.wikipedia.org/wiki/Gamil_Design#Gmail https://en.wikipedia.org/wiki/Gamil_Design#Gmail