Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
1–10 of 150 posts
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#2If you had physical access to the computer, some sort of bus interception to exfiltrate data from the machine.
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#3> What would a perfect attacker do? If you had physical access to the computer, some sort of bus interception to exfiltrate data from the machine.
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#4* The attacker managed to issue multiple SSL/TLS certificates via Let’s Encrypt for jabber.ru and xmpp.ru domains since 18 Apr 2023
* The Man-in-the-Middle attack for jabber.ru/xmpp.ru client XMPP traffic decryption confirmed to be in place since at least 21 July 2023 for up to 19 Oct 2023, possibly (not confirmed) since 18 Apr 2023, affected 100% of the connections to XMPP STARTTLS port 5222 (not 5223)
* The attacker failed to reissue TLS certificate and MiTM proxy started to serve expired certificate on port 5222 for jabber.ru domain (Hetzner)
* The MiTM attack stopped shortly after we begun our investigation and network tests on 18 Oct 2023, along with tickets to Hetzner and Linode support team, however passive wiretapping (additional routing hop) is still in place at least on a single Linode server
* Neither servers appear to be hacked
* Both Hetzner and Linode network appear to be reconfigured specifically for this kind of attack for the XMPP service IP addresses
---
Neither that page, nor the page linked from here, mention certificate pinning, maybe because XMPP doesn't support it (I don't know), but if it did, wouldn't that have prevented this kind of attack?
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#5> What would a perfect attacker do? If you had physical access to the computer, some sort of bus interception to exfiltrate data from the machine.
extremely difficult to get physical access in a datacenter
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#6> What would a perfect attacker do? If you had physical access to the computer, some sort of bus interception to exfiltrate data from the machine.
extremely difficult to get physical access in a datacenter
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#7Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#8Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#9Earlier quoted context omitted.
extremely difficult to get physical access in a datacenter
I would suggest that if you are the police, you can break into a datacenter with a flash of a badge. I can't imagine many would attempt to stop you.
* Require a copy of the badge number, and verify that this officer is assigned and expected to be at this business right now.
* Require them to sign into and out of the site.
* Annotate which systems / compromises are in place.
- That all of the above MIGHT be sealed under a court order; I would hope any such order has an automatic 'sunset' date, and possibly renewal upon review by a different judge.
Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident
#10The summary of the attack from https://notes.valdikss.org.ru/jabber.ru-mitm/ is very interesting: * The attacker managed to issue multiple SSL/TLS certificates via Let’s Encrypt for jabber.ru and xmpp.ru domains since 18 Apr 2023 * The Man-in-the-Middle attack for jabber.ru/xmpp.ru client XMPP traffic decryption confirmed to be in place since at least 21 July 2023 for up to 19 Oct 2023, possibly (not confirmed) since…
My understanding is that certificate pinning is only possible if you control the clients, in which case you can embed which certificates are allowed directly in the client and bypass the whole web PKI.
In a situation with general-purpose clients connecting, how would they know which certificates are meant to be allowed? That's what the web PKI is used for.
Of course, if you do provide your own clients, this just moves the problem further up the chain - in this case the place where customers would download the custom client software would be compromised and a malicious client served instead.