7 ms·
> However, it doesn't address intercepting and recording communications in-transit, which is extremely commonplace these days. MTA<->MTA SMTP transmission is i
by jcranmer 10y ago
> However, it doesn't address intercepting and recording communications in-transit, which is extremely commonplace these days.
MTA<->MTA SMTP transmission is increasingly SSL these days, and end-user MUA<->MTA transmission has pretty much been entirely SSL for a long while. Google cites about 80-90% of its MTA<->MTA transmission is encrypted (https://www.google.com/transparencyreport/saferemail/ https://www.google.com/transparencyreport/saferemail/).
- hendersoon 10y agoYes, see my link to the BULLRUN program. There were quite a few follow-ups as well. [1] https://freedom-to-tinker.com/2015/10/14/how-is-nsa-breaking-so-much-crypto/ https://freedom-to-tinker.com/2015/10/14/how-is-nsa-breaking... [2] https://arstechnica.com/security/2015/10/how-the-nsa-can-break-trillions-of-encrypted-web-and-vpn-connections/ https://arstechnica.com/security/2015/10/how-the-nsa-can-bre... [3] https://blog.cryptographyengineering.com/2013/12/03/how-does-nsa-break-ssl/ https://blog.cryptographyengineering.com/2013/12/03/how-does... And so on and so forth. Also keep in mind that they are retaining a full take online-- storing all traffic on the internet. Even if it can't be decrypted in realtime, they can come back to it in, say 10 years, with all the advancements in brute forcing and potentially quantum computing available in 2027, to take a look at your 2017 activity. The emails you wrote, the websites you visited, all your chats, all your searches, saved forever.
- willstrafach 10y agoThere is no evidence indicating that anyone can break encryption for mail servers using STARTTLS.
- Karunamon 10y agoNot right now, no. But if you start saving encrypted streams, and then come back to them 10 years later when, perhaps, a TLS vulnerability is found...
- willstrafach 10y agoI don't know what the media coverage stated, but the source material indicates that full-take is only stored in a 5 day rolling buffer. I believe 30-day for certain flagged selectors. Not at all indefinite, that is not possible.
- hendersoon 10y agoAs of 2011, GCHQ stored their full-take for 3 days and metadata for 30 days. Do you believe they haven't increased capacity in the past 6 years? Again, the discussion comes down to evidence versus reasoned speculation. Evidence of intelligence agency activity is generally pretty tough to come by.
- Karunamon 10y agoI'd also believe the country's data transmission volume has increased in the same timeframe, and given how IOT is rapidly scaling up, probably a lot faster than storage capacity.
- hendersoon 10y agoThey have techniques to reduce the data corpus, called "massive volume reduction" or MVR in the GCHQ "Mastering the Internet" rather pompously named leak. It discards junk traffic and assumedly does deduplication, etc. Remember, Tempora went online in 2011, 6 years ago. Techniques have certainly been refined since. [1] https://www.theguardian.com/uk/2013/jun/21/gchq-cables-secret-world-communications-nsa https://www.theguardian.com/uk/2013/jun/21/gchq-cables-secre... [2] https://www.theguardian.com/uk/2013/jun/21/gchq-mastering-the-internet https://www.theguardian.com/uk/2013/jun/21/gchq-mastering-th...
- Karunamon 10y agoBut we're talking encrypted streams here. No algorithm, real or imagined, can dedupe or compress random noise.
- bdamm 10y agoIt is unlikely that many servers are strong enough to resist penetration and theft of the mail server's private key. That key then can be indexed and matched as well. Is your mail server refusing downgrades to non-PFS ciphers? Is your kernel not affected by zero-days leaking the state of your secure random pool? Are there vulnerabilities in openssl we don't know about but collection agencies do? Is the reason that the government hasn't announced the CNSA Suite yet because the NSA is busy taking advantage of EC weaknesses combined with quantum computing capability? To say nothing of various direct TLS attacks, which are easy enough to translate from HTTP to SMTP, are agencies putting these to work? How far does the integration of passive collection and active attack go these days - there's plenty of evidence to indicate they have been significantly combined in the past. To say there is no evidence that anyone can break a TLS session is a bit like denying climate change.
- willstrafach 10y ago> To say there is no evidence that anyone can break a TLS session is a bit like denying climate change. None of what you have stated is evidence, and nothing from the leaked Snowden material is evidence. I did not say that they cannot do it as I have no way of knowing that, only said there is no actual evidence at all, so this devolves into "what-ifs" which lead to helplessness. I do not see how that is good for anyone.
- randomworkacc 10y ago> "...and nothing from the leaked Snowden material is evidence." RNG
- calpaterson 10y agoDo MTAs check the certs of each other now? I was under the impression that they largely didn't.
- richardwhiuk 10y agoThey either don't or will happily silently downgrade to SMTP even if previously they've connected via SSL. So an active interceptor can still intercept communications.
- phicoh 10y agoBy and large the only way to prevent man in the middle and downgrade attacks is to use DNSSEC and DANE. Without that, an attacker can just filter out the STARTTLS option in the SMTP EHLO response and the mail will be sent in plaintext. However, active attacks like downgrade attacks and TLS man in the middle are not popular for large scale surveillance. The reason is that it is easy to detect.
- deno 10y agoOr you could just use the existing standard TLS handshake instead of STARTTLS to upgrade the connection. DANE for this would be a step backwards, as you would just give governments the control of the PKI system. Edit: There is, however, something you could do with DNSCRYPT (or blockchain), that goes beyond just in-transit encryption. If you could publish your public key to a trust-worthy registry then we could have transparent body encryption. You could move email storage locally (with encrypted cloud backup), but still have DDoS resistant MXs.
- phicoh 10y agoFor large scale monitoring of traffic, active attacks are very unattractive. If a government would manipulate dns on a large scale, that would cause a lot of trouble. For targeted attacks, using PGP is the way to go. Though it comes with the price of manual key management. It would be nice if somebody can do decentralised authentication at scale. But I haven't seen it in practice and I doubt it is going to happen at all.
- deleted 10y ago[deleted]
- leereeves 10y agoHow will using SSL/TLS protect you from the NSA? They must surely have the ability to generate valid certificates.
- gjjrfcbugxbhf 10y agoI don't get why this was downvoted. The chances are that the NSA has obtained at least some certificate authorities' root certificates must surely be pretty high? I not why not? (I may be misunderstanding something about root certificates).
- yellowapple 10y agoIt's actually even simpler than that: self-signed certs are rampant among mailservers, so it'd be trivial (comparatively speaking) to perform a MITM attack. Hopefully we'll eventually get to the point where everyone is using Let's Encrypt or has otherwise ditched self-signed certs, but until then, the likes of the NSA wouldn't even need to bother with the CAs to snoop on mail traffic.
- MichaelGG 10y agoBecause using a CA to issue a cert for you improperly is a good way to burn your CA. So it'll probably be used very carefully and in very limited scope because it's detectable and leaves undisputable proof. For SMTP it's different since people aren't watching as closely. -- but then the CA angle is irrelevant because there's no verification. Though I'd be surprised if Google doesn't have some sort of program to look at these things and try to detect MITM or just gather info in general. Didn't they just add a little security indicator to Gmail? Google could probably single handedly force TLS verification on email by saying it'll increase deliverabiliy.
- deleted 10y ago[deleted]
- randomworkacc 10y agoAnd what if the CA is simply giving away the keys to the NSA? The NSA could then sign as anyone they wanted to.
- feld 10y agoThe dirty secret nobody wants to talk about is that MTA's don't do certificate validation. You can't or you'd never deliver email successfully because of the number of self signed certs out there. MITM on SSL/TLS SMTP is child's play
- yellowapple 10y agoHopefully Let's Encrypt (and ACME in general) and similar efforts will help to alleviate that issue. Let's Encrypt in particular seems to be more geared toward websites, but I actually did manage to put it to use rather trivially on my mailserver (which previously used self-signed certs) thanks to 'acme-client' on OpenBSD.
- mike-cardwell 10y agoPostfix and Exim both support DANE/TLSA. When I email somebody with TLSA set up, or they email me, the certificates are validated using DNSSEC signed DNS records: mike@snake:~$ dig +short mx grepular.com 20 mail.grepular.com. 10 mx1.grepular.com. mike@snake:~$ dig +short tlsa _25._tcp.mx1.grepular.com 2 1 1 60B87575447DCBA2A36B7D11AC09FB24A9DB406FEE12D2CC90180517 616E8A18 2 1 1 B111DD8A1C2091A89BD4FD60C57F0716CCE50FEEFF8137CDBEE0326E 02CF362B mike@snake:~$ dig +short tlsa _25._tcp.mail.grepular.com 2 1 1 B111DD8A1C2091A89BD4FD60C57F0716CCE50FEEFF8137CDBEE0326E 02CF362B 2 1 1 60B87575447DCBA2A36B7D11AC09FB24A9DB406FEE12D2CC90180517 616E8A18 mike@snake:~$
- cuckcuckspruce 10y agoThat assumes that nobody can MITM either your DNS server, the your ISPs DNS cache (if you use it), or Google's DNS cache (if you use it).
- noinsight 10y agoOr it assumes DNSSEC.
- mike-cardwell 10y ago