An unofficial, read-only Hacker News reader.

Taking over US Treasury subdomains for $3 each (opens external site)

261 points by negura 3 days ago | www.intruder.io | 55 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. EV Certs only work if there is some extra UI signal to the user so that they can tell a "real" certificate for a website from a fake one that was improperly issued. But they mostly lead to classism or companies using EV certs to make their website stand out by having their company name in the URL bar (see https://www.troyhunt.com/extended-validation-certificates-ar... / discussion of https://news.ycombinator.com/item?id=15904513).

    This attack mentioned is now somewhat fixable with new CAA extensions that enable method binding and/or CA provider account restrictions, with CA/B mandating all CAs support these starting in March of this year. Example record:

        ycombinator.com.  300  IN  CAA  0 issue "pki.goog; accounturi=<GTS-ACCOUNT-URI>; validationmethods=dns-01"
    
    See https://letsencrypt.org/docs/caa/#the-validationmethods-para...
    Replies (2)
    1. EV certs could be used without a UI signal, if there was a non-deniable mechanism for a domain owner to require them. There is no such mechanism because an attacker can easily suppress a DNS record.

      It's just another case of "we could have nice things if we had DNSSEC, but DNSSEC is still not viable, so we can't have nice things".

      Replies (1)
      1. > There is no such mechanism because an attacker can easily suppress a DNS record.

        I think what I presented mostly fits for this, just not "EV only". A CAA with `issuewild` and an `accounturi` extension would ensure only your account under a specific CA can issue for your domain (assuming said CA supports it). EV certificates meld legal concerns into an area where you really just care about domain control.

        Replies (1)
        1. Yes, and CAA records work around the DNS-deniability issue because they are only checked by CAs and those CAs are required to use "multiple perspectives" when checking for them.
    2. That CAA validationmethod is very interesting, I wasn't aware of it.

      It could indeed provide a pretty strong binding between DNS domains and servers, and largely prevent these attacks.

      If you're able to use it securely (see e.g. https://www.eff.org/deeplinks/2018/02/technical-deep-dive-se...), for Let's Encrypt I'd definetely use DNS-01 going forward.

      Or just accounturi, actually.