491 points · by tchalla · 12y ago · 118 comments
When the artist Ai Weiwei had his email account compromised by the state, they simply logged into his email webmail UI and forwarded a copy of his emails to a 3rd party email address. They didn't even bother intercepting his email at the network or service provider level.
Edit: > "Apple increased the encryption aspects on the phone allegedly to prevent snooping from the NSA. However, this increased encryption would also prevent the Chinese authorities from snooping on Apple user data."
It's a shame articles keep confusing Apple's harddisk encryption with network data encryption. :\
I'm a little shocked - they've surely got the ability to do a proper MITM. CNNIC is a root CA for plenty of browsers. Saving it up for when they really need it, maybe?
In China, it's very common for websites to ask people to trust their self-issued certificates. If you want to buy train tickets in China, you end up with this page (https://kyfw.12306.cn/otn) which asks you to trust its own cert.
It said in the article: the most popular Chinese browser Qihoop 360 browser doesn't even giving a warning for the bad SSL cert. "Qihoo’s popular Chinese 360 secure browser is anything but and will load the MITMed page directly."
Assuming the majority of people desire not to be tortured or killed far more then they desire freedom. It's probably more effective to simply pretend that you're performing surveillance as an intimidation tactic, than to actually perform surveillance unnoticed. It's also far more socially acceptable on an international level than violence.
Re this:
Even a government will only have the capabibilty to
perform meaningful surveillance on a limited number of
people not to mention act on it.
That claim is currently true, but if you understand Bayes' Theorem and Moore's Law, you know that it's just a matter of time.But re this:
It's probably more effective to simply pretend that
you're performing surveillance as an intimidation
tactic, than to actually perform surveillance unnoticed.
iirc, former East German Stasi or KGB have said essentially the same thing.So they just get the gullible.
It might also be other 3rd parties who is doing the MITM.
Anyone can setup a fake free wifi, reroute the DNS system. Some percentage of those "free" service users will press "OK" to let other sniff their "secure" connections.
I get that America means 'USA' in this context. How exactly do US government officials hide the fact that they keep data of everything possible that happens online outside the United States (and doesn't give a damn about what anyone else thinks about it)?
Given the statements of many US senators, after both Cablegate and Snowden I don't think the US tries to hide anything at all.
Is this a known fact? If I wanted to spy on a prominent dissident [1], I would use a variety of methods. Some would be intentionally crude, so that the target feels safer after noticing and defeating them, making the more sophisticated approaches that much more effective.
[1] I recommend visiting the current Ai Weiwei exhibit in San Francisco. It's quite good.
It is hard to tell whether it always is. If they are smart they use a deterrent, which must be visible to work, to decrease the number of potential targets to track, and something well hidden to follow the remaining real/potential troublemakers.
Honesty is a traditional value. Privacy and sovereignty based on the consent of the governed? Not so much.
It's also not as popular as frequently reported. It is widely installed because many orgs are required to have the security software that bundles it, but when I was researching it the consensus I got from several Chinese people was that few people actually used it - "only old people who don't know computers use it".
I wonder if 2FA is really that safe in a country like that, they have all the means to intercept the second channel, it just requires knowledge about the account owner or some not to complex synchronization to detect auth codes sent via text messages.
A good 2FA doesn't require anything else than the local time to generate the current password.
The risk here is someone could intercept and set/reset that password, but the end user would immediately know that as they would be unable to set a password or login.
Hmm, maybe websites should allow people to select an "encryption" format for the SMS. Something not too complicated, like a ROT13'ish type of thing:
"We'll txt you the code, but every 3 char should be ignored... or every 4th number should be multipled by 3"
Does anyone know if iOS uses certificate pinning when connecting to iCloud services, and if so if that is sufficient to prevent against this type of attack?
I'm not an iOS dev, but I do not think that the iOS SDK would allow for invalid certificates. Then Apple could just go ahead and not use any encryption at all.
The 'hack' in the article works, because users ignore security warnings or even use a browser that is clearly made to easily snoop on people.
It's not a shocking news, however. Apple has already moved [1] some of its storage servers to Beijing. The attack could just be the authorities making sure that Chinese users' iCloud data is actually stored in China.
[1] http://techcrunch.com/2014/08/15/apple-taps-china-telecom-as...
I realize this isn't the real reason why China told Apple to build a datacenter there, but that's the one they used publicly, and as long as the company itself can get access to that data, then the argument is a pretty plausible one, even from China. Apple, Google and others could weaken this argument by adopting end-to-end encryption for their services.
Unfortunately, it seems the companies decided to keep the data as is, but build the data centers in Russia, China and wherever else they might ask them to do it.
Ultimately there's only so far you can go against the wishes of the Chinese government when your factories are there, or against the US government when your HQ is there.
http://www.reuters.com/article/2014/08/06/us-china-apple-idU...
HSTS is mainly to prevent SSL-stripping. But I think part of HSTS could also note that the certificate was trusted, and then having an HSTS header could entirely prevent any later connection with the self-signed certificate, without clearing the HSTS history.
You may not need to even store the extra bit, it's enough to say if you have HSTS then by default the connection must not just be encrypted, but it must be trusted.
Do current browsers entirely prevent a connection to untrusted certs when HSTS is set? Or is it just the same error you get when connecting to any self-signed cert?
It seems like you are hinting towards certificate pinning (https://en.wikipedia.org/wiki/Transport_Layer_Security#Certi...). Pinning would prevent rouge CA's from signing bad certificates, but pinning is hard to do on the web. It is mainly used with mobile applications from what I have seen.
Edit: Here is a list of pinned sites in Chrome, if you are curious. (https://src.chromium.org/viewvc/chrome/trunk/src/net/http/tr...)
And what prevents the government from doing that? Certificate pinning will address MITM no matter what - if the certificate the browser receives is not the one it pinned, it will refuse to connect even if the cert was signed by another trusted authority.
Although it's unclear from the article as to what really is happening - is it that Apple trusts whatever Chinese CA is used to forge the certificate for iCloud.com but others like Mozilla and Google don't? In any case I don't see how pinning won't help here.
If China were to misuse the root I believe their academics dept has, it would be instantly banned. There was a bugzilla bug about removing it @ Mozilla and a LOT of people supported it, but it won't be removed unless there is abuse.
Regular link: https://proxy.sh
Affiliate link: https://proxy.sh/panel/aff.php?aff=477
The problem is that Apple is using the industry standard for encryption here (SSL). China cracks that security by giving their folks a browser that allows them to easily swap the certificate out and send all the data to them before sending it to Apple. This is called a MITM (Man In The Middle Attack).
Personally, I'm a big fan of privacy - also I'm the CTO of a web-company, so I'm concerned with security for webapps, too.
When users are ignore warnings of their browsers (what Firefox would do in such an event) or even install a "trojan browser" by a mean government - well, then there is little you can do as a company.
Just wanted to give a short TL;DR on the article to prevent an icloud shitstorm on HN, because the article is really on how mean China is. Not saying or implying at all that other governments are better.
Also not saying that Apple is perfect in terms of security. Btw, as developer and sysadmin I'm using Debian stable - my Mac is for convenience and productivity. Just saying that to disqualify myself as the regular fanboy(;
Seriously "they've gotta do something" sounds good but I'm not sure what options they actually have. If the user clicks through a clear SSL warning, that's Apple's fault?
Your response is like saying when Facebook was privacy zuckering (http://darkpatterns.org/library/privacy_zuckering/), the user clicks right through the settings that should have sounded an alarm.
What can Apple do? They could make a better browser (I like how Chrome and Firefox do things - you have to go out of your way to reach a page with bad SSL -- compare Safari's rather passive and enabling error message: http://blog.serverdensity.com/wp-content/uploads/2009/05/ssl... vs. chrome's: http://i.imgur.com/ttmmDJ8.png -- you have to REALLY see and think how to access the site despite the warning, it's that good). They could be more vigilant in alerting users of where and how this can happen.
If we were talking about any other young startup, your apology might fly -- not so with Apple, they're sitting on billions, they have the resources to think of a solution and implement it.
Yes. But they don't own their own iCloud. Or their own iPhones. Or their own Apple.
It's Apple's choice to concede.