News for hackers. Stuff that matters.
Re:How I Tricked Symantec with a Fake Private Key by watbe on Thursday July 20, 2017 @02:18PM (#14815018)
Symantec is surely testing the patience of Google/Mozilla now. Illegitimate revocation seems almost on the same level as illegitimate issuance of certificates. Imagine the impact on an HPKP site.
Re:How I Tricked Symantec with a Fake Private Key by ameliaquining on Thursday July 20, 2017 @09:32PM (#14817480)
It's not. A CA can revoke only certificates that they themselves issued, so the harm that a CA can do through inappropriate revocations is limited to its own customers and their users. If a CA gets a reputation for doing this, its customers can simply take their business elsewhere (this may be costly and inconvenient, but it's always an option, though in the HPKP case it requires them to have planned ahead). This gives CAs a clear incentive not to revoke certificates inappropriately, so the system works.

By contrast, illegitimate issuance by a CA that browsers trust is a threat to everyone's security. Furthermore, the parties directly harmed—the owners of the domains of the illegitimate certificates and their users—typically have no relationship at all with the offending CA, and consequently no direct recourse against it. That's why browser vendors—the only parties that CAs truly have to answer to—have to get involved in such cases.

Re:How I Tricked Symantec with a Fake Private Key by Narkov on Friday July 21, 2017 @12:51AM (#14818139)
I agree with your summary but does it not demonstrate a lack of thorough process control?
Re:How I Tricked Symantec with a Fake Private Key by SOLAR_FIELDS on Thursday July 20, 2017 @02:46PM (#14815232)
I wondered where Apple and Microsoft were in this whole thing and I found this from one of the Chromium trust discussions:

"Assessing the compatibility risk with both Edge and Safari is difficult, because neither Microsoft nor Apple communicate publicly about their changes in trust prior to enacting them."

Why or why not would you want to withhold this kind of information?

Re:How I Tricked Symantec with a Fake Private Key by gsnedders on Thursday July 20, 2017 @05:06PM (#14816303)
To some degree, I believe Microsoft and Apple want to avoid any risk of being seen to collude with other vendors to essentially destroy the business of another company.
Re:How I Tricked Symantec with a Fake Private Key by Piskvorrr on Friday July 21, 2017 @11:31AM (#14821310)
Both have company cultures built upon secrecy as the base value, I believe. "Why would you want to withhold this kind of information?" then answers with "Because you want to withhold any information, except on a need-to-know basis."
Re:How I Tricked Symantec with a Fake Private Key by vbezhenar on Thursday July 20, 2017 @05:41PM (#14816547)
You should always have a plan if your key is compromised. It's recommended to announce two keys via HPKP: primary and backup key. If your primary key failed, you can always issue another certificate with backup key and change HPKP.

I think that it's even possible to issue another certificate with different CA using old private key. I'm not sure if all CA communicate with each other about revoked keys.

Re:How I Tricked Symantec with a Fake Private Key by xoa on Thursday July 20, 2017 @07:09PM (#14816967)
>You should always have a plan if your key is compromised.

But the point here is that there was no compromise. None at all, the author simply forged the whole thing and submitted it as part of a legitimate bundle for added plausibility in case there was a human in the loop (which there shouldn't be, and anyway that part could be trivially forged too, just register a bunch of domains over time, get certs for them, then leak the actual legitimate private keys on purpose). So having a primary/backup/backup backup/backup backup backup/backup^n is all useless in this scenario because only the public component was necessary to make a fake sufficient to fool Symantec's incompetent systems.

Re:How I Tricked Symantec with a Fake Private Key by MertsA on Friday July 21, 2017 @01:56AM (#14818371)
>It's recommended to announce two keys via HPKP

It's not just recommended, it's required. HPKP can certainly lock you out of your own site if done wrong but there are safeguards against that. A shockingly high number of sites that try to use HPKP don't actually do anything at all because every browser out there ignores their HPKP headers because they're malformed in some way.

Re:How I Tricked Symantec with a Fake Private Key by aaronmdjones on Friday July 21, 2017 @12:52PM (#14821973)
That you would even consider trying HPKP without running the SSLLabs server test or Hardenize against it (which would identify these defects) is also shocking in itself.
Re:How I Tricked Symantec with a Fake Private Key by Ajedi32 on Thursday July 20, 2017 @02:52PM (#14815271)
> Imagine the impact on an HPKP site.

I don't see why the impact on a site using HPKP would be different than for any other site. In both cases the site would have to install a new cert.

The only difference with the HPKP site is that they'd need to make sure their new cert uses the same key as the old one. (Or they could use a backup key/cert, which I'd expect them to have anyway if they're using HPKP.)

Re:How I Tricked Symantec with a Fake Private Key by richardwhiuk on Thursday July 20, 2017 @03:36PM (#14815613)
Fairly sure that they'd be blocked from issuing a new cert with the same key?
Re:How I Tricked Symantec with a Fake Private Key by Ajedi32 on Thursday July 20, 2017 @03:39PM (#14815630)
You'd think so given that Symantec believes the key is compromised, but that's actually not the case. I actually saw a fairly interesting discussion about this over on the mozilla.dev.security.policy mailing list just the other day: https://groups.google.com/forum/#!topic/mozilla.dev.security...
Re:How I Tricked Symantec with a Fake Private Key by hannob on Thursday July 20, 2017 @03:48PM (#14815692)
However in that case it was Comodo that didn't block the compromised private key.
Re:How I Tricked Symantec with a Fake Private Key by Ajedi32 on Thursday July 20, 2017 @03:58PM (#14815751)
Right. If you read the rest of the thread though you'll see that that's because they're not actually required to check. (Or at least, it's certainly arguable that they're not.) Any other CA could have done the same thing and that would be considered perfectly acceptable behavior per the Baseline Requirements.
Re:How I Tricked Symantec with a Fake Private Key by hannob on Thursday July 20, 2017 @04:11PM (#14815861)
I started the thread, I have read it :-)
Re:How I Tricked Symantec with a Fake Private Key by watbe on Thursday July 20, 2017 @03:30PM (#14815583)
Doesn't the max-age parameter[1] restrict a browser from accepting only those previously specified keys for a certain time frame? Therefor newly issued certificates should throw a warning. Otherwise it would be trivial for a MitM'ed sever to deliver their own key hash via a HPKP header. Or am I incorrectly understanding the value of the pinned hash?

1: https://developer.mozilla.org/en-US/docs/Web/HTTP/Public_Key...

Re:How I Tricked Symantec with a Fake Private Key by Ajedi32 on Thursday July 20, 2017 @03:36PM (#14815616)
You're correct about the header. The part you're missing is that it's entirely possible for the site operator to get a new, unrevoked certificate that uses the same underlying private key issued to themselves by a different (or even the same) CA. Such a certificate would be accepted just fine by browsers which have that key pinned. HPKP pins public keys, not individual certificates.
Re:How I Tricked Symantec with a Fake Private Key by watbe on Thursday July 20, 2017 @04:23PM (#14815963)
Gotcha, I appreciate the explanation.