News for hackers. Stuff that matters.
Re:MITM on HTTPS traffic in Kazakhstan by cpeterso on Thursday July 18, 2019 @02:14PM (#20472494)
But we are in a better place than before. Without HTTPS everywhere and governments needing to ask people to install new root certs, we would not have learned about this Kazakhstan MITM issue.
Re:MITM on HTTPS traffic in Kazakhstan by syn0byte on Thursday July 18, 2019 @04:39PM (#20473715)
No. we just feel better because it just sounds so obviously reasonable doesn't it?

Kazakhstan's low-tech approach is just that, low-tech and low-effort. They could have used tons of vectors besides simply saying "install this cert."

A tiny shred of effort would have been to package an "updater" that did the install without explicitly saying that's what it was for. Or better yet: Kazakhstan is committed to a greener more ecologically friendly future! All tax documentation will go paperless! Just use the provided USB Key to access your documents in electronic format!

A small morsel of effort would be to force it on OS vendors through regulation/licensing/threats/money for localized copies. A good deal of effort would hijack CRLs, pinnings, et al while demanding/sneaking the private keys of the CAs.

Public Key Infrastructure is fucking pointless when the infrastructure is precisely what you can't trust.

Re:MITM on HTTPS traffic in Kazakhstan by shawnz on Thursday July 18, 2019 @05:24PM (#20474051)
No, it's not pointless. This attack was detectable because of PKI. Without it the attack would not have been detectable.

Being imperfect is different than being pointless. Even if you developed the perfect algorithm for global security infrastructure, the Kazakhstan government could still just break down your door and implant the backdoor into your hardware if they wanted. So by your logic should we just forget about this encryption stuff and just do everything in plain text again?

Re:MITM on HTTPS traffic in Kazakhstan by ridaj on Thursday July 18, 2019 @06:36PM (#20474618)
> Being imperfect is different than being pointless.

In particular, we'd see a lot more places than Kazakhstan do this if good countermeasures weren't in place...

Re:MITM on HTTPS traffic in Kazakhstan by mmphosis on Thursday July 18, 2019 @05:55PM (#20474281)
An implant is not necessary. Intel ME is embedded with the CPU and has access to everything.
Re:MITM on HTTPS traffic in Kazakhstan by cpach on Friday July 19, 2019 @05:03AM (#20477148)
Intel ME is indeed scary stuff, but I think you need to provide stronger evidence if you want to convince us that governments can snoop on anyone anywhere just because of ME.
Re:MITM on HTTPS traffic in Kazakhstan by Ajedi32 on Thursday July 18, 2019 @05:23PM (#20474043)
We still would have easily found out had any of these methods been employed; any uncompromised machines still left in the country when they flipped the switch would start getting TLS warnings.

They could, of course, avoid spying on uncompromised machines to avoid detection, but then anyone practicing good security hygiene would be automatically left unaffected by the government spy program. Plus there'd still be the possibility of detecting malware through other means (malware on client machines is far easier to detect than MITM of unencrypted communications). Not to mention how much more difficult all this would be than simply MITMing unencrypted traffic.

The situation with HTTPS is significantly improved.

Re:MITM on HTTPS traffic in Kazakhstan by MadSudaca on Thursday July 18, 2019 @10:39PM (#20475778)
> Public Key Infrastructure is fucking pointless when the infrastructure is precisely what you can't trust.

This seems a cynical and lazy evaluation of the situation. No solution is perfect, trade offs must be made everywhere. With the right precautions the average person can have his/her communications encrypted. This is a much better situation than the one we were on before.

Re:MITM on HTTPS traffic in Kazakhstan by cpach on Thursday July 18, 2019 @05:04PM (#20473905)
How would they sneak the private keys from e.g. Digicert/Geotrust/ISRG?
Re:MITM on HTTPS traffic in Kazakhstan by mdhardeman on Thursday July 18, 2019 @05:20PM (#20474029)
And there would be no point in doing so anyway.

Chrome, etc., require that certificates which descend from publicly trusted roots have their certificates published in certificate transparency logs. Someone would quickly notice bogus certs being issued and the associated root would get blacklisted.

Re:MITM on HTTPS traffic in Kazakhstan by olliej on Thursday July 18, 2019 @08:20PM (#20475220)
This is why certificate transparency is required now - it means that we no longer need to trust the CAs to tell us when they’ve issued an unconstrained intermediate or cross signed a root. Previously it was essentially luck that led to CA malfeasance being detected.

Especially in the post-finally-ending Symantec world the CAs understand that issuing any such cert is likely to very quickly end their business in most other countries.

I feel the real problem kz is going to have is that they have now demonstrated that they will abuse having a root cert, so there is no way any root stores will let them in in future. I imagine they’d even have difficulty getting any of the other roots to issue certs for them (managed sub-ca I think? I forget terminology)

Re:MITM on HTTPS traffic in Kazakhstan by btown on Thursday July 18, 2019 @02:32PM (#20472689)
Yep - without HTTPS everywhere, governments would have been silently able to snoop on Internet traffic without anyone knowing.
Re:MITM on HTTPS traffic in Kazakhstan by a3n on Thursday July 18, 2019 @02:52PM (#20472867)
Sarcasm? Not sure.

But all a government has to do is embed within the endpoint, post-decryption. "Or else."

Re:MITM on HTTPS traffic in Kazakhstan by giancarlostoro on Thursday July 18, 2019 @03:08PM (#20472986)
It is a valid point, it becomes much more obvious that you're snooping if you're trying to MITM. If you weren't snooping, you wouldn't bother trying.
Re:MITM on HTTPS traffic in Kazakhstan by cpach on Thursday July 18, 2019 @05:11PM (#20473955)
”all a government has to do is embed within the endpoint”

That’s a pretty high bar to clear though.

Re:MITM on HTTPS traffic in Kazakhstan by viraptor on Thursday July 18, 2019 @07:11PM (#20474877)
Not really. NSA requests are backed by LE either directly or... extortion style. https://www.wired.com/2007/10/nsa-asked-for-p/
Re:MITM on HTTPS traffic in Kazakhstan by cpach on Friday July 19, 2019 @04:44AM (#20477092)
Allright. But they didn’t do it for all ~300M citizens though, did they?
Re:MITM on HTTPS traffic in Kazakhstan by williamscales on Friday July 19, 2019 @12:54PM (#20480343)
https://en.m.wikipedia.org/wiki/Room_641A

They did it to everyone whose traffic transited ATT's backbone

Re:MITM on HTTPS traffic in Kazakhstan by cpach on Friday July 19, 2019 @01:33PM (#20480732)
I haven’t immersed myself into the details of the Room 641A scandal, but it does indeed sound awful. I do not approve of the operations of NSA/Five Eyes.

But let my re-phrase my question like this: Do we have any evidence that NSA can perform MITM on TLS 1.3? Using a federal US CA would be one way, tricking a CA to issue fraudulent leaf certificates would be another, but as established elsewhere in this thread, both those ways are quite noisy. Attacking the endpoint is another way, but once Mallory does that, all bets are off.

Re:MITM on HTTPS traffic in Kazakhstan by williamscales on Thursday July 18, 2019 @05:37PM (#20474160)
Given it's already happened in the US, I don't think it's high enough.
Re:MITM on HTTPS traffic in Kazakhstan by samstave on Thursday July 18, 2019 @05:15PM (#20473982)
This is exactly what Carnivore and PRISM were
Re:MITM on HTTPS traffic in Kazakhstan by cpach on Friday July 19, 2019 @05:12AM (#20477175)
And how would Carnivore/PRISM strip off the TLS encryption?
Re:MITM on HTTPS traffic in Kazakhstan by StreamBright on Thursday July 18, 2019 @03:24PM (#20473117)
Not only that but they can happily MITM HTTPS as well. Not all the HTTPS sites use certificate pinning or HSTS.
Re:MITM on HTTPS traffic in Kazakhstan by TeMPOraL on Thursday July 18, 2019 @03:42PM (#20473262)
It's a tough problem because certificate pinning kills a lot of legitimate use patterns; it's not something I'd like to see being the default everywhere.
Re:MITM on HTTPS traffic in Kazakhstan by StreamBright on Friday July 19, 2019 @02:49AM (#20476652)
Yes but this is how many companies protect their HTTPS traffic (including one financial institution I work for).
Re:MITM on HTTPS traffic in Kazakhstan by cpach on Thursday July 18, 2019 @04:05PM (#20473450)
What root cert would they us for that?
Re:MITM on HTTPS traffic in Kazakhstan by yjqcy on Thursday July 18, 2019 @04:55PM (#20473845)
The government of my country has at least one certificate that's trusted by Mozilla (and I guess Chrome and Windows too) by default.
Re:MITM on HTTPS traffic in Kazakhstan by xorcist on Thursday July 18, 2019 @05:14PM (#20473979)
It won't stay trusted if it is actively used for MITM attacks. At least that's the idea.
Re:MITM on HTTPS traffic in Kazakhstan by StreamBright on Friday July 19, 2019 @02:55AM (#20476684)
Re:MITM on HTTPS traffic in Kazakhstan by StreamBright on Friday July 19, 2019 @02:53AM (#20476672)
You mean CA? There are many options depending on which agency and which target you are talking about. They have few options from stealing a CA from a legitimate CA user if the want anonymity or use one that is built in to your browsers or systems somebody else already pointed out in the thread.
Re:MITM on HTTPS traffic in Kazakhstan by jedberg on Thursday July 18, 2019 @03:07PM (#20472982)
Oh I agree 100%. It just makes me sad that governments keep trying to spy and we have to keep coming up with new technology to make that harder.
Re:MITM on HTTPS traffic in Kazakhstan by rapind on Thursday July 18, 2019 @05:21PM (#20474033)
It's not a technology problem, it's a social one. If a society values it's privacy enough then it will change.

The real issue is how abstract the consequences of loss of privacy are. It requires people to actually think beyond "I've got nothing to hide".

No worries though. Greedy corporations and governments are greedy and they'll keep pushing the limits of societie's tolerance until it blows up in their face.

Re:MITM on HTTPS traffic in Kazakhstan by missingrib on Thursday July 18, 2019 @10:29PM (#20475740)
Governments are way scarier though. I can decide not to use Google, people in third world countries need the internet.
Re:MITM on HTTPS traffic in Kazakhstan by unityByFreedom on Thursday July 18, 2019 @09:58PM (#20475636)
> It's not a technology problem, it's a social one.

It's both, everyone can contribute to the solution or the problem.