196 points · by jgrahamc · 8y ago · 86 comments
yourregistrar.com/domainowner?domain=example.com&ownerkey=8719425131715293085Huh? I'm talking about certificate issuance and domain ownership here. If a CA can't verify the domain with the registrar then they fail to issue a certificate, it's as simple as that. It's not like they can get a forged response over HTTPS...
DENIC has been compliant with the GDPR for months already, and its WHOIS database is still running – you just can’t expose all fields of the WHOIS to any unauthenticated viewer.
Not to mention that, more practically there's no need (and potentially possible harm) to tie the ownership records to a particular cipher. Really, it's the registrar's job to deal with domain ownership; ideally it shouldn't involve you at all. And as a near-corollary, they could probably deal with long-term key security better than the average domain owner.
1. I would get a proper SSL cert signed
2. Only hijack one of the ranges, and do not respond to other domains (causing SERVFAIL), so other domains will resolve unaffected, instead of causing a scene (see: https://www.reddit.com/r/sysadmin/comments/8ejrkk/google_dns...)
Uh, how? Are you assuming that a single BGP leak would be enough to cause e.g. a letsencrypt misissuance for the domain? It sounds like (from other comments) they have a global round-robin resolver setup for their DNS challenges.
> 2. Only hijack one of the ranges, and do not respond to other domains (causing SERVFAIL), so other domains will resolve unaffected
I think exactly that's what they did. I saw people posting SERVFAILs during the outage.
Author is suggesting they should be properly resolving the rest of the domains so they wouldn't cause SERVFAILs.
no they don't
On DNS, you can use DNSSEC to sign your records. The IPs returned by the fake DNS would not have been signed as they do not have the private keys.
Would this have helped though? The attacker's DNS resolver could just return records without DNSSEC.
In this instance, had myetherwallet.com been signed, and had a user been using a DNSSEC validating resolver, they would not have visited the invalid site. The attacker's DNS responses would not have validated.
Had myetherwallet.com been DNSSEC signed anyone using Google's public DNS resolver at 8.8.8.8 would not have visited the invalid site.
DNS resolves myetherwallet.com to 1.2.3.4. This is valid & signed. Your browser does a request to 1.2.3.4. Attacker need not interfere with DNS.
Thanks to the BGP leak the attacker controls 1.2.3.4. The request is still going to him.
The problem is that when you can hijack the routing for an IP there's nothing that can realistically be done with how the internet works today to protect again it. Basically every system of validation requires you have access to some outside authority that can verify authenticity, and if you can announce the route to those IPs to your own infrastructure, you can fool the validation.
It fails to solve the issue if the dns resolver doesn't check DNSSEC signatures though.
If they managed to hijack the route to the server itself, there's no need to hijack DNS at all, so it's a different issue that can't be solved at DNS level itself as DNS is not involved in the attack
(although they would likly not get all the hashing power because not everyone is taking that route.)
[0] https://en.wikipedia.org/wiki/Resource_Public_Key_Infrastruc...
BGPsec would solve this issue, but is currently not deployed at all (and won't be before a long time).
And probably nobody will be hold responsible for this other than hacker.
Thats why noone in this chain will have any incentive to fix this ever occuring again.
Curious what stopped cloudfare from naming these providers.
But yeah, there's still the trailing sequence and companies that don't understand how simple that is.