News for hackers. Stuff that matters.
Re:Encrypted traffic interception on Hetzner and Linode targ... by 0xbadcafebee on Friday October 20, 2023 @02:54PM (#37960004)
> All issued SSL/TLS certificates are subject to certificate transparency.

Until the nation state tells a CA within their borders to issue a cert without publishing the CT logs, along with a gag order. If they don't comply they go to jail. You think Billy Bob Sysadmin wants to go to jail to protect a russian jabber server?

Re:Encrypted traffic interception on Hetzner and Linode targ... by bart__ on Friday October 20, 2023 @03:43PM (#37960616)
Browsers will check if a certificate is in the transparency log, and alert the user if it isn't if I am not mistaken.
Re:Encrypted traffic interception on Hetzner and Linode targ... by crtasm on Friday October 20, 2023 @05:03PM (#37961491)
But XMPP clients do not, as far as I'm aware? and browsers aren't connecting to XMPP server ports.
Re:Encrypted traffic interception on Hetzner and Linode targ... by est31 on Friday October 20, 2023 @05:38PM (#37961852)
Yeah usually the TLS libraries used by XMPP clients don't check SCTs. Not even all browsers do it. Chrome does it, Firefox does not for example.
Re:Encrypted traffic interception on Hetzner and Linode targ... by privacyking on Saturday October 21, 2023 @12:10AM (#37964009)
Source?
Re:Encrypted traffic interception on Hetzner and Linode targ... by bart__ on Saturday October 21, 2023 @06:08AM (#37965508)
https://developer.mozilla.org/en-US/docs/Web/Security/Certif...

As the other commenter already pointed out, Firefox does not require this. Safari and Chrome do. This indeed is not directly applicable to this situation, since XMPP don't involve browsers. But for websites, the parents attack scenario is not applicable.

Re:Encrypted traffic interception on Hetzner and Linode targ... by tgsovlerkhgsel on Friday October 20, 2023 @05:05PM (#37961511)
The malicious certificate either won't have a SCT (which in itself would be highly suspicious and cause some clients to reject the certificate directly), or it will have one but it won't be recorded in the log.

In the latter case, the malicious certificate + any CT log issued after that certificate should have been included are evidence of the attack that is easily verifiable and would likely cause browsers to drop the (edit) CT log unless provided with a very plausible excuse that isn't "we complied with a court/gag order".

Also, this would require the police etc. to compel 2-3 different entities: The CA and two log operators (I think one of them could be the CA itself).

Using different logs than normal would stand out, so it'd typically be two specific log operators that would have to be compelled to hide this. The US may get lucky and have jurisdiction over all of them, other countries are much less likely to.

Re:Encrypted traffic interception on Hetzner and Linode targ... by aaomidi on Saturday October 21, 2023 @11:17AM (#37967511)
Even if the US got lucky, those SCTs wouldn’t match the CT chain and would still be discoverable misissuance.
Re:Encrypted traffic interception on Hetzner and Linode targ... by tgsovlerkhgsel on Sunday October 22, 2023 @03:15AM (#37973480)
Yes, assuming someone captured the malicious certificate and checked. Which would have happened in this case now (after someone forgot to renew), but likely not before.

Browsers would happily accept it and IIRC they don't check against the logs.

Re:Encrypted traffic interception on Hetzner and Linode targ... by aaomidi on Sunday October 22, 2023 @10:56AM (#37975892)
Yep - this is all because of the delayed insertion into the CT tree :(
Re:Encrypted traffic interception on Hetzner and Linode targ... by account42 on Monday October 23, 2023 @04:13AM (#37982819)
> and would likely cause browsers to drop the (edit) CT log unless provided with a very plausible excuse that isn't "we complied with a court/gag order"

a) Browsers aren't the only clients that matter. Will any XMPP client even look at the CT log? Probably not.

b) Browsers are not going to drop all US-based certificate authorities. And if they tried they might just get their own national security letter (reminder: all major browsers are US-based).

You can't work around the government using centralized infrastructure.

Re:Encrypted traffic interception on Hetzner and Linode targ... by morpheuskafka on Friday October 20, 2023 @06:07PM (#37962043)
If the certificate isn't logged in CT, it's not supposed to be trusted. That's the whole point. If it is logged, then the site owners would notice (Cloudflare, for example, has a service that emails when certificates are issued for your domains).
Re:Encrypted traffic interception on Hetzner and Linode targ... by schoen on Saturday October 21, 2023 @05:18AM (#37965286)
Just to be clear (with better details already given by other comments), addressing this is specifically part of the threat model for Certificate Transparency. You could argue that CT policies should be strengthened in various ways, but the threat model does intend to address detecting the compelled misissuance scenario.
Re:Encrypted traffic interception on Hetzner and Linode targ... by jojobas on Thursday November 02, 2023 @07:30AM (#38111926)
CA being in one country and hosting in another greatly complicates this. Ideally the two countries shouldn't be part of Five Eyes or some such.