Live data from Hacker News

Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

devever.net

91–100 of 150 posts

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#91

Earlier quoted context omitted.

>The attacker managed to issue multiple SSL/TLS certificates via Let’s Encrypt This implies that the attacker was able to validate domain ownership of jabber.ru and xmpp.ru by either a) being able to respond to the ACME protocol on domain(s) hosted http OR b) being able to write to a DNS TXT file for the domain(s). This implies that the victim already lost control of their process server and/or their nameserver.

No. Most probably it merely implies someone upstream of them (presumably their hosting provider under compulsion from German law enforcement) intercepted and spoofed their unencrypted, unauthenticated ACME HTTP traffic. Same can happen to you.

The same way they are intercepting the jabber port they can intercept any other port for the HTTP ACME challenge. No need to get involved at the name server level.

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#92
post #55

> 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.

Thinking laterally for a moment regarding the big picture here, why do we still rely on data centres. They made sense in a world of dialup and low speed / high latency broadband. But there are lots of places with high speed fibre and not much latency to the peering points. And the more we break away from data centres and clouds, the more the internet infrastructure will have to work the way it was designed instead of…

Regular domestic connections often block ports (especially email). In many countries, ISPs won't sell you a static IP (your dynamic address might not change ever, but you don't control rDNS records).

These kind of measures force people to move onto a rented server instead. Often ISPs rent servers themselves. The conflict of interest here is hard to ignore: if ISPs make it easy and convenient to host from home, their business of renting servers suffers.

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#93

Earlier quoted context omitted.

extremely difficult to get physical access in a datacenter

Assuming this was done at the government's request, I assume Hetzner is more than willing to comply with a court order mandating they allow them to monitor and physically size a machine. And outside of nation-state requests, even ignoring the fact that someone could probably pay-off an employee, I think ease would depend a lot on the datacenter and target; judging by the awesome and hilarious story behind the Fremont…

Next time you try that trick, use heptane (sold commercially in North America as "Un-du") instead of isopropanol. Hot knife meets butter... and it evaporates cleanly and the sticker retains most of its stickiness!

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#95
post #82

Earlier quoted context omitted.

Pinnig is based on the keypair, not the cert. You can renew and not break pinning, right? Also you can phase in a new cert with pinning.

Yes, you can pin the public key instead, which is generally more helpful. But most ACME clients (including the "official" certbot) default to rotating the key too. That can be disabled, but it's a problematic default for this use case which means clients can't just enable pinning.

How can it be disabled in certbot?

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#96
post #49

A quick warning on hetzner. I needed a personal bare metal machine so signed up. I was travelling and on an IP in a distant land so their sign up asked for secondary verification via PayPal. All passed and now it’s should get a server? Nope - next day their support emailed telling me they would not approve my account without… no word of a lie here… either 1: a fax of my passport info page or 2: a scan and email conta…

The same thing happened to me with OVH. They asked for a photo of myself holding government issued ID for verification.

I simply sent a short email reply saying that seemed excessive for just renting a VPS and their support allowed me to continue.

Since then, I've switched to Contabo hosting which seems to offer cheaper pricing. Would recommend to a friend .

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#97
post #95

Earlier quoted context omitted.

Yes, you can pin the public key instead, which is generally more helpful. But most ACME clients (including the "official" certbot) default to rotating the key too. That can be disabled, but it's a problematic default for this use case which means clients can't just enable pinning.

How can it be disabled in certbot?

  --reuse-key           When renewing, use the same private key as the
                        existing certificate. (default: False)
From the docs: https://eff-certbot.readthedocs.io/en/latest/using.html#cert...

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#98
This list lacks the most obvious one: enable (and ideally enforce) SCRAM-xxxxx-PLUS as the authentication method of choice.

The idea of the PLUS variant is both simple and effective: instead of verifying with the help of a salt you are verify .

That way the authenticating is only valid on a single TLS connection.

This is also called channel binding.

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#99

Earlier quoted context omitted.

No. Most probably it merely implies someone upstream of them (presumably their hosting provider under compulsion from German law enforcement) intercepted and spoofed their unencrypted, unauthenticated ACME HTTP traffic. Same can happen to you.

Okay, but the part I don't understand is why do it this way? If the hosting provider is a threat, they don't need new certs. They can just read your private keys off your disk and MITM with that.

> just read your private keys off your disk

Not just. The disk itself may be encrypted, the keys may be encrypted. Doing this unnoticed and without rebooting would require modifications to the hardware.

Re: Mitigating the Hetzner/Linode XMPP.ru MitM interception incident

#100

Earlier quoted context omitted.

No. Most probably it merely implies someone upstream of them (presumably their hosting provider under compulsion from German law enforcement) intercepted and spoofed their unencrypted, unauthenticated ACME HTTP traffic. Same can happen to you.

Okay, but the part I don't understand is why do it this way? If the hosting provider is a threat, they don't need new certs. They can just read your private keys off your disk and MITM with that.

Legally speaking intercepting connections is a very different ballgame from hacking or subverting an endpoint.
Post reply on HN