3 ms·
TL;DR: Let's Encrypt certificates.. super convenient, right? Convenient for adversaries, too. Key segment of TFA: > Specifically, they were decrypting and re
by metadat 3y ago
TL;DR: Let's Encrypt certificates.. super convenient, right? Convenient for adversaries, too.
Key segment of TFA:
> Specifically, they were decrypting and re-encrypting traffic as it passed through a network device (the “machine in the middle”) that had been placed between the jabber.ru server and the rest of the internet.
> Usually TLS prevents such an attack from succeeding, as long as you verify certificates. However in this case the attacker was able to obtain valid certificates for the targeted domains, making all connections look like they were genuine.
> With the advent of ACME-based certificate authorities such as Let’s Encrypt, obtaining certificates is not at all hard for someone able to intercept and respond to traffic that is sent to your server, and in this case that’s exactly what happened.
Edit: I'm not saying there's anything wrong with Let's Encrypt. It's just interesting how it made things easier in this instance.
- supriyo-biswas 3y agoSaid adversaries could just use take images of the VMs (which they probably do anyway for backups) and extract the cert from them. Unfortunately, it seems this topic has attracted the attention of many who keep insisting that it must be Let's Encrypt at fault here.
- quags 3y agoYes this would be easy and I would expect on most providers it could be done using a snapshot with out affecting the live system for a basic system install unless the file system was encrypted.
- jojobas 3y agoYou can take memory snapshot just as easily as disk ones. The cert has to be in memory in an unencrypted form somewhere.
- cabirum 3y agoLets encrypt is not better or worse than any other root cert your device is factory set to trust.
- MattJ100 3y agoPost author here. To clarify, my intention was not to blame ACME for this and certainly not Let's Encrypt specifically (there are many other CAs that will supply certificates via the ACME protocol). I don't consider the pre-ACME way (verification via whois+email) for certificates with a long lifetime to be a more secure or elegant solution than what we have today. But certainly, the ecosystem is not perfect and it continues to adapt. CAA and (for XMPP at least) channel binding and DANE are the obvious next steps.
- atmosx 3y agoI have to ask, do you trust Hetzner? As many mitigations you can take, they control the underlying infrastructure it's a matter of how far they'll go. Not saying any other provider is better, but this one was caught red-handed. Germany is obviously not the _best_ jurisdiction to host an XMPP server. On the other hand, philosophically, the "good citizen" is the one who abides to the laws of the country they reside.
- deleted 3y ago[deleted]
- LinuxBender 3y agoI have to ask, do you trust Hetzner? Not the person you are asking but I trust all legit vendors to follow most of the rules most of the time. All vendors must comply with lawful orders or risk all their equipment being seized. There have been a number of cases were vendors tried to ignore court orders but the most notable one I recall is Lavabit. [1] That predictably ended poorly for them. We won't hear the details of this case until the investigations are tied off. At best one could use Monero to rent space from one of the shady resellers sometimes referred to as bullet proof hosting but those do not last long and the ones that do last are honeypots. Even then people would have to create their own TLD's, CA's and use /etc/hosts which won't happen due to friction and a lack of discipline. Following that would be private VPN meshes and ephemeral nodes that hide the final hops but those only require a small number of weak links or people to fail as they have in the past. [1] - https://www.theguardian.com/world/2013/oct/03/lavabit-ladar-levison-fbi-encryption-keys-snowden https://www.theguardian.com/world/2013/oct/03/lavabit-ladar-...
- agwa 3y ago> With the advent of ACME-based certificate authorities such as Let’s Encrypt, obtaining certificates is not at all hard for someone able to intercept and respond to traffic that is sent to your server, and in this case that’s exactly what happened. This was easy even before ACME/Let's Encrypt, as several CAs would validate domains using HTTP-based methods similar to ACME's HTTP challenge. These methods were usually less secure than ACME, as CAs would send HTTP requests to non-privileged ports, or use URLs that weren't under .well-known, or allow a validation of www.example.com to be used to issue certificates for example.com. ACME did not make anything less secure or more convenient for attackers. Rather, ACME raised the bar.
- kbenson 3y agoWere those CAs trusted by major operating systems and browsers?
- dijit 3y agoI don't remember putting anything in my web address for domain validated TLS, i could be mistaken. I have definitely seen email as part of the verification chain and alteration of DNS records: both of which would be hard(er) than intercepting a http request on an infrastructure provider of the host providing the website. Of course; that would mean the provider who has your DNS could do it, but those are often separate entities and they would have to collude