News for hackers. Stuff that matters.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by rocky1138 on Monday May 29, 2017 @06:53PM (#14441948)
How do governments censor only parts of Wikipedia when the site is encrypted? How do they know which pages you are browsing if they can't see the URL?
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by zeta0134 on Monday May 29, 2017 @07:08PM (#14442001)
That's just it; they can't! When you visit Wikipedia over HTTPS, the only thing actually visible in plain text is wikipedia.org, and that's only if your browser is using Server Name Identification (SNI).

Since the rest of the request, including the URL is hidden, governments and other malicious agents between you and the server cannot actually see what pages you're requesting directly. They can only see that you are accessing wikipedia.org and transmitting some data. You may still be somewhat vulnerable to timing attacks to try to identify what pages you're viewing, but censorship can't happen at the page level over HTTPS; you have to block the whole thing in one go.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by Amulet- on Monday May 29, 2017 @07:12PM (#14442020)
The article says

Although countries like China, Thailand and Uzbekistan were still censoring part or all of Wikipedia by the time the researchers wrapped up their study

The top comment might be asking about the "were still censoring part" of the article.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by zeta0134 on Monday May 29, 2017 @07:22PM (#14442046)
Oh, huh! I missed that entirely, now I'm curious too. HTTPS should make that difficult, but China has been known to employ all sorts of weird shenanigans-- perhaps they're running a "trusted' MitM as part of the great firewall?

I know that certain companies (like Google and Microsoft) will actively censor themselves to continue to operate within China, but I figured Wikipedia would be against that practice on principal. Now I'm curious as to how it's done.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by matt4711 on Monday May 29, 2017 @08:34PM (#14442320)
I think china blocks zh.wikipedia.org but all other languages are not blocked.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by kalleboo on Tuesday May 30, 2017 @12:35AM (#14443020)
When I visited China a bunch of years ago, zh.wikipedia was completely blocked, and on English wikipedia, only certain articles were deadholed (tiananmen square...)
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by Bakary on Monday May 29, 2017 @09:39PM (#14442531)
I just tested a few pages and it looks like you are right.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by beefsack on Monday May 29, 2017 @08:13PM (#14442223)
Nitpick: Google opted to pull out of mainland China instead of self-censoring. They moved Chinese operations to Hong Kong, but operate uncensored there.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by bumblebeard on Tuesday May 30, 2017 @12:10AM (#14442962)
Google was perfectly willing to self-censor in China until they were hacked by the Chinese government in 2010. That's when Google China moved to Hong Kong.

https://googleblog.blogspot.com/2010/01/new-approach-to-chin...

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by zkms on Monday May 29, 2017 @07:12PM (#14442018)
This is how "domain fronting" (https://en.wikipedia.org/wiki/Domain_fronting) works as well -- encryption makes blocking an all-or-nothing deal, and blocking everything that goes to an extremely popular IP range / SNI causes too much collateral damage :)
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by Edmond on Monday May 29, 2017 @07:25PM (#14442052)
For committed governments like China, TLS may just be an extra hurdle but they can get around it if they want. Basically China could simply implement a massive proxy that terminates TLS.

If your internet traffic is going to flow through infrastructure that a curious government owns, then you'll know that they're monitoring the traffic but there is no way to keep them from seeing what you're doing.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by matt123 on Monday May 29, 2017 @07:36PM (#14442090)
No, TLS is not vulnerable to a MITM unless a) your client trusts the certificates issued by the attacker, or b) the attacker successfully forges the certificate of the website you are trying to visit.

That is, assuming you don't click away your browser's security warning.

https://security.stackexchange.com/questions/8145/does-https...

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by ars on Monday May 29, 2017 @08:00PM (#14442180)
> TLS is not vulnerable to a MITM unless a) your client trusts the certificates issued by the attacker,

Or in other words it is vulnerable.

China can (and probably does) issue a certificate that all Chinese browsers must install, they can then do MITM https using their certificate to sign the new versions.

Companies do this routinely BTW. Since it's their equipment, it's considered just fine. (But be aware of it if you are using a company computer.)

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by zht on Monday May 29, 2017 @08:37PM (#14442329)
do you have any examples of China issuing a certificate that all browsers trust?

I've never seen or heard of this (at least across all browsers), so I find this unlikely.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by ytch on Monday May 29, 2017 @09:10PM (#14442432)
https://security.googleblog.com/2015/03/maintaining-digital-...

"On Friday, March 20th, we became aware of unauthorized digital certificates for several Google domains. The certificates were issued by an intermediate certificate authority apparently held by a company called MCS Holdings. This intermediate certificate was issued by CNNIC."

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by schoen on Monday May 29, 2017 @09:32PM (#14442493)
There is a concern dating back many years that a government will mandate that UAs trust a particular government-controlled CA (that eventually, but maybe not at first, openly performs MITMs). This is one reason that browsers really want to keep control of their root programs and not be mandated by governments to include any particular trusted roots -- including to maintain a remedy against roots that do appear to deliberately facilitate MITMs.

Although there have been lots of concerns about CNNIC, I don't believe that the Chinese government currently either (1) routinely uses CNNIC to perform MITMs for censorship or mass surveillance purposes, or (2) purports to require UAs to trust CNNIC or another Chinese root in order to be used by Chinese users. I'm happy to be corrected if someone knows otherwise.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by kijin on Monday May 29, 2017 @10:23PM (#14442689)
They wouldn't "routinely" abuse their root to monitor large populations. That would be too obvious and result in near-immediate loss of their precious root.

What's more dangerous, and much more likely, is that they might use forged certificates against specific individuals for a short period of time, for example, to intercept login credentials. The attack will go unnoticed as long as they also block the corresponding HPKP reporting URL (if the targeted site uses HPKP at all).

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by schoen on Tuesday May 30, 2017 @12:20AM (#14442988)
I think this distinction is a good one, and I'll try to be more attentive to it when writing about this in the future.

Hopefully the risk for the attacker from the two kinds of attack are gradually converging, due to pinning and especially Certificate Transparency.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by manquer on Tuesday May 30, 2017 @12:42AM (#14443039)
revoking the root outside china will have no bearing within. All devices sold and used in china could be forced to include that root. There is not a lot a user could do , especially in mobile if you have locked phone and only access to the official app store
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by kijin on Tuesday May 30, 2017 @12:57AM (#14443069)
There's a fine line between cartoon-villain evil, exemplified by people like Kim Jong Un who just doesn't seem to give a fuck, and just-enough-to-achieve-your-objectives-but-not-enough-to-make-too-many-people-notice evil, which is what China is aiming at.

Lots of people travel in and out of China with all sorts of computing devices. China does care about the reputation of their root and of their highly profitable electronic exports.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by mfjordvald on Tuesday May 30, 2017 @09:14AM (#14445065)
They don't need one all users trust as a lot of Chinese users will use Chinese browsers and those are already compromised.

https://en.greatfire.org/blog/2014/oct/china-collecting-appl...

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by Edmond on Monday May 29, 2017 @07:43PM (#14442119)
It isn't but if you live in China and want to use the internet, you'll likely be forced to use a proxy that MITMs and serves its own certificate....My point is that TLS is not a solution to prevent government interference when the user has to rely on the government infrastructure for access.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by throwaway2048 on Monday May 29, 2017 @09:13PM (#14442437)
This is not how the great firewall works, check the facts known, not just baseless speculatation.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by comex on Tuesday May 30, 2017 @04:10AM (#14443652)
Not how it currently works. The parent was referring to hypothetical future changes.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by ishitatsuyuki on Tuesday May 30, 2017 @02:08AM (#14443220)
Note that the server certs are also parsable even if you're not using SNI.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by raverbashing on Tuesday May 30, 2017 @05:51AM (#14444073)
DNS requests are still transparent
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by rgbrenner on Monday May 29, 2017 @07:46PM (#14442134)
according to the paper.. the answer is subdomains.. For example, in one instance China blocked zh.wikipedia.org (the entire subdomain.. they cant see what page you're visiting), but left their other 291 subdomains unblocked.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by varenc on Monday May 29, 2017 @07:08PM (#14442004)
Governments can't censor parts of Wikipedia when it's all encrypted, that's sort of the point of the article.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by MR4D on Monday May 29, 2017 @07:18PM (#14442034)
I wonder about this. If a government can hack into a server and steal the private encryption key, then they could just look like any other server in the server farm, right?

Given the recent Shadow Brokers release of the NSA tools, it seems to me that this was not only possible, but probable (not necessarily with Wikipedia, but any website).

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by rocky1138 on Monday May 29, 2017 @07:45PM (#14442129)
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by jacquesm on Monday May 29, 2017 @07:11PM (#14442013)
Well, they can block it whole. Once they figure out they can't block parts that's exactly what they will do. Either that or a re-host on their own infrastructure with the offending parts removed, conveniently seizing whatever domain names wikipedia has in that country for added authenticity.
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by azernik on Monday May 29, 2017 @07:08PM (#14442000)
That's exactly the point of the article?
Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by ekarulf on Monday May 29, 2017 @07:13PM (#14442023)
Who says they can't see the URL? A sufficiently motivate government would probably be able to create forged certificates and mass interception isn't really out of the question. Especially with browsers homogenizing on fast ciphers AES-GCM/POLY-1305, I bet it's much more economical than you would think.

Cert Pinning or HPKP is one type of solution, but it's tricky to get right especially for a large site like wikipedia.

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by rocky1138 on Monday May 29, 2017 @07:45PM (#14442127)
From TFA:

"In Turkey, Wikipedia articles about female genitals have been banned; Russia has censored articles about weed; in the UK, articles about German metal bands have been blocked..."

Re:Wikipedia’s Switch to HTTPS Has Successfully Fought Gover... by iancarroll on Monday May 29, 2017 @07:15PM (#14442028)
Even if this could happen, which is far from trivial, it would be almost immediately detected.