13 ms·
Mozilla takes action to protect users in Kazakhstan
- darkwater 7y agoThis is frankly big, an explicit black-list inside the browsers code to circumvent a state-base MITM attack. My only concern is: they could easily MITM and redirect users trying to downlaod this new Firefox/Chrome versions to old unpatched ones and just break the automatic update process. Although I hope that they already started distributing this update silently (like all the chrome/firefox updates) before announcing it
- jopsen 7y agoThe can't MITM automatic updates, they could break them. Asking users to install old versions of Firefox is hard. The entire country would be exposed to security vulnerabilities. Forking Firefox is not easy. And it's doubtful users will want to use a fork.
- saagarjha 7y ago> Each company will deploy a technical solution unique to its browser. For additional information on those solutions please see the below links. Firefox is blacklisting the Kazakh certificate, while Chrome will prevent it from being installed.
- Ajedi32 7y agoChrome isn't preventing the certificate from being installed, they just added it to a CRLSet, so it'll be treated as revoked even if it is manually installed. Firefox is doing basically the same thing I think, probably adding the cert to OneCRL.
- saagarjha 7y agoI must have misread "Chrome will be blocking the certificate the Kazakhstan government required users to install" as "Chrome will be blocking the certificate the Kazakhstan government required from being installed".
- option 7y agogreat move! Please also join forces to help protect users in China and US
- dingo_bat 7y agoCan't do that because that involves actual risk for Mozilla.
- raesene9 7y agoI'm glad to see the browser developers being proactive to help protect users from this kind of thing. I'll be very interested to see what happens when it's countries they have more connections to, who start doing this kind of thing. For example in the UK it seems likely that the Digital Verification Act will require ISPs to block access to pornographic sites that don't comply with the legislation. Given the rise of DNS over HTTPS, it'll be hard to comply with that requirement without some form of MITM, so if the UK ISPs do that, will Mozilla/Google/MS/Apple also block their certs...
- ep103 7y agoyes/no/no/no, which will force mozilla to say no. Do our part, switch to and support firefox.
- onevu 7y ago>I'm glad to see the browser developers being proactive to help protect users from this kind of thing. Maybe I'm the only one who's not glad that browsers aren't just browsers anymore? Now it could be argued that they are political tools.
- vbezhenar 7y agoThey won't dare. UK is not Kazakhstan. They would do it for the better good.
- jcranmer 7y ago> Given the rise of DNS over HTTPS, it'll be hard to comply with that requirement without some form of MITM. Or the ISPs could just set up null routes to those IPs.
- xg15 7y agoMany of the IPs will likely belong to CDNs or shared hosters, so that would instantly make a larger number of unblocked sites unusable as well.
- xg15 7y ago> For example in the UK it seems likely that the Digital Verification Act will require ISPs to block access to pornographic sites that don't comply with the legislation. While there is clearly lots of potential for abuse, this seems to me a discussion where tech companies make things awfully easy for themselves. Like, what is the supposed process to block a website that should be blocked if browser developers do everything they can to keep the ISP from doing so? (Assuming the hosted is not cooperating) Or is the opinion really that nothing at all should ever be blocked? No pirated media, no malware, no child porn, no nothing? Then, what gives e.g. Google the right to block apps from their app store?
- lone_haxx0r 7y agoFrom the "Mozilla" link: > To protect our users, Firefox, together with Chrome, will block the use of the Kazakhstan root CA certificate. This means that it will not be trusted by Firefox even if the user has installed it. I don't like this (to be honest, I don't like the whole "certificate authority" thing to begin with). I don't think my browser should meddle in my relationship with the state. Why don't they also block every CA residing in the US? The US government coerces companies into giving away private data. How do we known that they don't share their private keys with the US government? Will Mozilla & Google take the blame when this happens? because they've declared themselves the guardians of certificate trust. What if I legitimately need to install this certificate?
- ceejayoz 7y ago> I don't think my browser should meddle in my relationship with the state. Mozilla doesn't think the state should meddle in your relationship with them, or the rest of the Internet. > Why don't they also block every CA residing in the US? Because there's no evidence they're controlled by the US government in the way Kazakhstan's cert clearly is.
- deleted 7y ago[deleted]
- lone_haxx0r 7y ago> Mozilla doesn't think the state should meddle in your relationship with them, or the rest of the Internet. I don't want to have a relationship with Mozilla. I use their browser to communicate with other people. The browser is merely a tool, and I would expect it to allow me to communicate with anyone I want (as long as it's technically feasible), not only people that Mozilla approves of.
- dantondwa 7y agoWhat's your point? Mozilla and Google here are preventing the government bogus CA from being used to bypass encryption. You can talk to whoever you want, and in full safety (as opposed to doing so while being spied by a tyrannical government like Kazakhstan).
- AdmiralAsshat 7y agoI'm somewhat surprised that Mozilla went this route, because I recall during discussions, there was concern that explicitly blacklisting a country's root CA could lead the country to simply fork and release its own nation-state browser with the root CA trusted. That would be bad for everyone for many reasons, not the least of which being that the nation-state forked browser would likely be perpetually behind the main branch in terms of bugfixes and security updates. Maybe because Google agreed to do the same?
- jupp0r 7y agoGood that they are taking action, however blacklisting that specific CA cert seems like a hacky band aid fix. This is going to end in a cat and mouse game and again shows how broken the whole CA system really is. What I whish they would do is block all “enterprise” CAs and restrict verification chains to end in a list of a few white listed CAs. I understand how disruptive this would be, but in the end it would result in better security for everyone. There are no legitimate reasons for breaking end to end encryption in my opinion.
- AndrewDucker 7y agoThat would result in that browser being banned by my company (amongst many others). We have a regulatory requirement to prevent any customer data (and a lot of other data) leaving the premises. Anything which prevents the proxies from scanning all requests to ensure they don't contain regulated data would get blocked very quickly.
- jupp0r 7y agoThat’s why I wrote “I understand how disruptive this would be, but in the end it would result in better security for everyone.” Your man in the middle scanner won’t prevent any data from leaving the premises, it’s pure snake oil.
- prepend 7y agoThere are ways to do this without intercepting HTTPS. Does your company monitor all phone calls looking for Morse code? Does your company monitor all photocopies? All photos taken with phones? There are reasonable precautions that can be taken and proxying all traffic is a bit of an overkill. Interestingly, I’m waiting for some IP lawsuit as MITM is technically breaking encryption and breaking encryption for DRM is against the DMCA. So MITM HTTPS traffic to Spotify should be in violation of us copyright law. But I’ve never heard of a case.
- pferde 7y agoMITM in this context is definitely not "breaking encryption". You have two legitimate, untampered-with TLS connections - one from the client to the proxy, one from the proxy to the destination web server. Nobody is breaking encryption used in these connections. What this might be considered breaking instead is trust.
- badrabbit 7y agoDownvote all you want but this is not good. Mozilla is not above the law. A government has sovreign (!!) rights which lets me spy on their users if they so choose. You can disagree with it. You can refuse to do business in that country. But to actively work in hostility ti a foreign government is criminal. I am surprised there are no US laws that would adversley affect Mozilla. Your views and opinions,however well intended ,they do not supersede a government's legitimate right to govern its citizens. The only exceptions are human rights violations or crimes against humanity. TLS intetception hardly counts as such. If it does,please prosecute US corporations that intercept TLS before you meddle with a foreign country's practices. I think people forget that the internet does not supersede geographic boundaries and legitimate (as in accepted as such by other nations) governments.
- vinceguidry 7y agoMozilla is not bound by Kazakhstan's sovereignty. It does not have to answer to anyone's laws but the laws of the state it is incorporated in.
- badrabbit 7y agoI agree, and Kazakhistan can and should prosecute mozilla and attempt to extradite its CEO.
- MrMorden 7y agoNon-zero amount of work, negative benefit. Even wholly illegitimate states, such as Kazakhstan's, investigate legitimate crimes from time to time, and such an attempt would zero out any chance that government would otherwise have of extraditing someone who committed one.
- badrabbit 7y agoBenefit is to set an international precedent where random citizens or corporations hostility can be accounted for or ignored. The benefit is political.
- intsunny 7y agoAre Apple and Microsoft taking any actions? I remember being disappointed in both Apple and Microsoft when it came to some fraudulent certificates from China [0]. IIRC the situation was worse for Iphone users who have no way of manually revoking CAs on their phones/tablets. [0] https://en.wikipedia.org/wiki/China_Internet_Network_Information_Center#Fraudulent_certificates https://en.wikipedia.org/wiki/China_Internet_Network_Informa...
- ceejayoz 7y agoApple has: https://www.reuters.com/article/us-kazakhstan-internet-surveillance/google-apple-mozilla-move-to-block-kazakh-surveillance-system-idUSKCN1VB17Q https://www.reuters.com/article/us-kazakhstan-internet-surve... I can't find any indication Microsoft has yet.
- dredmorbius 7y agoYes: "Google, Mozilla, Apple Block Kazakhstan's Root CA Certificate to Prevent Spying" https://thehackernews.com/2019/08/kazakhstan-root-certificate.html https://thehackernews.com/2019/08/kazakhstan-root-certificat... (Submitted: https://news.ycombinator.com/item?id=20758426 https://news.ycombinator.com/item?id=20758426)
- prepend 7y agoI wish this would be more broadly supported. My organization MITMs all ssl traffic on network because they deploy custom CAs to every machine. I think this practice is harmful but there’s nothing I can do to stop.
- 83457 7y agoWow. Do you just not use local network for anything personal? What sort of business?
- chucksmash 7y agoFinance companies do this for regulatory reasons
- michaelper22 7y agoWorked for a publicly traded energy company that does this.
- heavenlyblue 7y agoDo they also block 4G tethering?
- chucksmash 7y agoI expect the idea is less to prevent any possible threat and is more a) to comply with regulations and b) to log enough data so if somebody does circumvent your legally required measures, they've left enough of a trail to hang themselves.
- prepend 7y agoI don’t use work for anything personal. It’s directly annoying because mitm’ing calls to GitHub and other package repos causes packages to blow up a bit. My complaint isn’t about privacy, it’s about efficiency.
- 7y ago
- usernameis42 7y agoFella from Kazakhstan is here, the thing is that state government claims that they had finished certificate testing and provided instructions how to remove it from the devices two weeks ago (http://knb.gov.kz/ru/news/v-otnoshenii-sertifikata-bezopasnosti http://knb.gov.kz/ru/news/v-otnoshenii-sertifikata-bezopasno...). I never installed that certificate and had to use VPN during this time. Still some of the people have connection issues with certain sites like facebook, gmail, etc. Some of the companies had sued government and mobile carriers for that connection issues. In my opinion Mozilla and Google made a right decision, there is a lot of talks of how good is Kazakhstan now for doing business, the taxes are low, it's easy to get a visas for foreigner employees, and by doing this they are losing trust to themselves. I don't think they will manage to make a fork of some of the browsers, simply because level of the our software production is kinda low, especially in goverment sector, and people will definitely not use the browser if they will attempt to make one, they will manage to use VPN and will find other ways to just use the "normal" software.
- ignoramous 7y ago> I don't think they will manage to make a fork of some of the browsers, simply because level of the our software production is kinda low, especially in goverment sector, and people will definitely not use the browser if they will attempt to make one Well, they could always license browsers from other vendors, which they will, if things need to go that extent. > they will manage to use VPN and will find other ways to just use the "normal" software Are users in Kazakhstan willing to pay extra $5 or more per month for VPNs that respect user-privacy? If not, using free VPNs is going to only make matters worse. In India, where porn is blocked, users typically resort to using Telegram or free VPNs to satiate their desire for it; most wouldn't pay $2 per month for VPNs, even when they could afford it (since $0 VPNs are a click away and unblocks porn for them).
- Ajedi32 7y agoI can't imagine how a free VPN could be worse than an actual government-sponsored man-in-the-middle attack, particularly since VPNs don't force you to install their own CA certificate (and therefore can't intercept HTTPS connections).
- ignoramous 7y ago> We encourage users in Kazakhstan affected by this change to research the use of virtual private network (VPN) software, or the Tor Browser, to access the Web Mozilla should be careful suggesting the use of VPNs (without providing a disclaimer) since most of the well-marketed ones are, for all intents and purposes, MiTM blackboxes [0], owned by state-actors in some cases [1]. For people looking to make an informed decision, take a look at https://thatoneprivacysite.net/#detailed-vpn-comparison https://thatoneprivacysite.net/#detailed-vpn-comparison or setup one yourself https://github.com/trailofbits/algo https://github.com/trailofbits/algo If folks do inadvertently flock to free VPNs, the situation would get way worse (tracking now not just limited to HTTPS, but everything above layer-2). [0] https://news.ycombinator.com/item?id=19601503 https://news.ycombinator.com/item?id=19601503 [1] https://news.ycombinator.com/item?id=18525041 https://news.ycombinator.com/item?id=18525041
- slenk 7y agoThe problem with algo is you still have to pick a host country to put the server in, and then follow that countries laws.
- squeaky-clean 7y agoLinusTechTips did a video on anonymous browsing with VPNs and TOR yesterday and I wish they had been more serious on this bit. The top/pinned comment when I viewed was along the lines of "What is a good free VPN, not a trial", and LTT themselves responded something like "None. Bandwidth costs money and you should be suspicious of a VPN that doesn't make money in a clear way." Still, I bet 99% of viewers won't see a comment response. But even then, and I realize this gets a bit tinfoily, but as a thought experiment, is there a really good, reasonably trustless, way to vet a VPN? For example I use PIA because of word of mouth and a few incidents in the past which show trustworthiness. But how can I really prove they're not secretly backed by China and I'm paying $5/mo for higher priority access to a Chinese VPN farm? Or at the very least that they are honest on any given day about not retaining log data.
- lunchables 7y agoI don't know if this is helpful, but I'll mention it because it works well for me. I use a Digital Ocean droplet and local forwarding. $ ssh -q -D [port] [droplet-hostname] Then setup my browser to use a proxy at localhost on [port]. Works great. You can get a "droplet", in Digital Ocean Parlance (i.e., "VPS") for as little as $5/mo, which includes 1TB/mo of data transfer. I assume other options like Linode, Vultr, etc would work as well.
- nurbo 7y agoA fellow from Kazakhstan here again. This is a HUGE win. This might not work for some countries, but it does work for us. Kazakhstan is not China, we are not technologically-independent, and the government doesn't have an iron grip on its people. Forking open-source browsers and forcing to use them is not a feasible option for our corrupt government. While the solution of blocking a specific CA might not be elegant or permanent, it does send a strong message to our and other governments who have been thinking of MITM-attacking their citizens.
- jopsen 7y ago> ...it does send a strong message to our and other governments... It also increases security for users.
- amq 7y agoWay too late, weeks after the CA has been deprecated by the Kazakh government.
- usernameis42 7y agoIt was deprecated, but still some users have connection issues, I still have no access to a gmail from a office network without VPN. This is what I mean by saying that our state software is lame, they deprecated the cert two weeks ago and there is still issues with connection, and I'm sure they kinda don't care. I have feeling that they had gathered database with usernames and passwords, cause only certian sites were targeted to use mitm, mostly it was mail services like gmail and social networks, facebook, youtube and others. Other sites were working fine even without that cert. And after that mitm they had to stop, due to people's discontent and lawsuits. These are also reputational losses, it is unlikely that foreign companies will want to do business in a country in which personal data treated this way and where government wants to see all your passwords from email services and bank accounts. There was also a question about ensuring the security of a root certificate that can decrypt data, it could easily get to third parties who could use it for their own purposes.
- Fnoord 7y agoOne lesson to learn here for laymen, is that if isn't accessible, accept it as is. Do not listen to the government by installing such a certificate.
- vbezhenar 7y agoConnection issues and MITM are a different things. Connection issues is just bad ISP. This mozilla blacklist does nothing. They'll generate new certificate, put it on website, enable country-wide MITM for few days until protests calm down and then turn the whole thing off. And Mozilla will blacklist that certificate few months later, LoL.
- vbezhenar 7y agoHow do I override that blacklist and forcefully whitelist that certificate?
- dredmorbius 7y agoWhy would you want to?
- vbezhenar 7y agoI think that currently this certificate is used in state organizations and I have to work with Internet from there. Obviously VPN is not an option. I would hate to use IE instead of Firefox just because of that. I guess I would use some old version and prevent it from upgrade, but that's just stupid. Also I really dislike that Mozilla wants to decide who should I trust. If I added that certificate, it's my business, not theirs. They should encrypt bytes and display HTML, not engage in foreign politics.
- dredmorbius 7y agoThe problem with "Mozilla should trust the user" is that the threat model itself is users being forced, coerced, or tricked into installing the cert. Presumptions of user autonomy, consent, or informedness are invalid. Which means that the bypass process should be highly inconvenient. I've addressed that separately in a direct response above -- might not be a solution for you, but it's the direction I'd look to. Alternatively, you could look for what Firefox's behaviour in the presence of locally installed certs would be, though as noted above, given the threat model, it largely shouldn't do that. Keep in mind that a large chunk of Mozilla, Google, and Apple's stance here (and I suspect Microsoft will join them) is that this is a very bad practice of CAs or governments, as not only will the browsers flag this practice, but those certs and a lot of collateral damage will result. This is by all appearances deliberate and a strong message to not do that then, to any governments which are considering similary asshattery. And failing to respond forcefully to such actions and threats risks compromising all trust whatsover in the browser and CA models. Which are rickety enough as it is. So Mozilla, Google, and Apple most definitely have dogs in this fight as well.
- lalalapokemon 7y agoIs there anything wrong with a country monitoring the opinions which can be likened to propaganda that people are exposed to online? Every person's opinion is a form of bias, every country has its own law's but who is right? The biggest group of aligned points of view or minority groups with aligned points of view? Why would a tech company like Mozilla or Google want to undermine the legal system in a country?
- ryanisnan 7y agoBecause moral relativism is bullshit and some legal systems are willing to extinguish the rights of their citizens?
- __s 7y agoMoral relativism isn't bullshit, parent's a strawman when it comes to moral relativism Moral relativism functions when one doesn't take on it saying you must serve the morals of others
- __s 7y agoWhy should Mozilla & Google support the legal system of a country? This is like saying an arms dealer should sell to any government The government was undermining the security features of the browser. The browser is functioning to mitigate that interception. HTTPS is about having a secure link between client & server, not client & server & government
- vbezhenar 7y agoMany companies do that. That's apparently was OK. So Mozilla fully supports MITM when it's a US company, but it does not supports MITM when it's a foreign government. Talk about double standards.
- MrMorden 7y agoA company is MITMing their own hardware and intercepting their own traffic. A government or ISP isn't.
- korethr 7y agoI applaud Mozilla and Google for this. It does get me wondering however, how viable this would be in other countries. Say, what if the UK or the US were to try to pull something like this. There's not much that Kazakhstan can do against Mozilla. However, if something similar were tried here in the US, it seems to me Mozilla would be a lot more vulnerable to government retaliation, or being forced to do what the Fed says whether they want to or not. The Mozilla Foundation is incorporated here in the US. Those board members whom are not US citizens could be deported or prevented from entering the US. Those board members whom are US citizens and residing here could be arrested. The IRS could be weaponized to revoke their 501(c)3 status. There's probably other things I'm not thinking of. I'm not saying the US is quite that bad, or that it's going to get that bad here soon. But I don't think it's unreasonable to think that such could happen if people don't remain vigilant. We need only to look at the history of other nations abroad and our own history here to see just how quickly and easily it can and has gotten that bad in the past. Again, I'm glad of Mozilla's and Google's technical solution to this problem. But, as it seems governments continue to lean in this direction, I worry that failing to pursue the policy angle in addition to the technical angle when addressing these problems will cause the technical solutions to be or become brittle. Edit: I was reminded that donations to groups who do pursue the policy angle, like the EFF, would be more effective than handwringing on HN. I would encourage those of you whom are also concerned about this to do the same.
- grlass 7y agoWorth looking at what the response to Mozilla's DNS-over-HTTPS system in the UK has been. Disabling it by default is a good way to avoid conflict, but means that the feature effectively doesn't exist for the vast majority of users. https://www.zdnet.com/article/mozilla-no-plans-to-enable-dns-over-https-by-default-in-the-uk/ https://www.zdnet.com/article/mozilla-no-plans-to-enable-dns...
- vbezhenar 7y agoMozilla takes action to protect users in Kazakhstan. Mozilla does not take action to protect users in UK. That's funny.
- 7y ago
- peterwwillis 7y agoWhat would these vendors do if the US Government made a law requiring the USG receive all US CA private keys, or some other encryption backdoor? Would they be able to put these kinds of changes in, or wouldn't that be circumventing the law?
- zifnab06 7y agoHandling over CA keys wouldn't allow them to mitm things - you'd need the server operators private key for that. This could allow them to issue new certs, but they'd have to be added to certificate transparency to be valid, and everyone would know rather quickly if they tried.
- FPurchess 7y agoNow that's a really funny quote: “We will never tolerate any attempt, by any organization—government or otherwise—to compromise Chrome users’ data. We have implemented protections from this specific issue, and will always take action to secure our users around the world.” — Parisa Tabriz, Senior Engineering Director, Chrome while GNU just released this page: https://www.gnu.org/proprietary/malware-google.en.html https://www.gnu.org/proprietary/malware-google.en.html and Google admit they had to give in to sharing information about their users with the US goverment.
- thinkloop 7y agoIf the government secretly forces Network Solutions to provide all their certificates can they read all encrypted traffic (that is secured by them)?
- bscphil 7y ago> In 2015, the Kazakhstan government attempted to have a root certificate included in Mozilla’s trusted root store program. After it was discovered that they were intending to use the certificate to intercept user data, Mozilla denied the request. This strikes me as odd. Does this mean that political authorities (or major tech companies) can get their roots in the program, as long as there's no direct evidence they're using it to MITM? Seems like you'd want the opposite policy, where to get your root in the program, you have to sign a bunch of agreements about how you're going to use it and submit to regular audits to make sure you're not misusing your new authority. Maybe I'm reading too much into this though.
- zifnab06 7y agoI believe most (if not all) current browsers require public CAs to use a certificate transparency service to prevent this.
- codedokode 7y agoMozilla is a little late, to be honest, because now the testing of a "security certificate" is over and the government (temporarily?) gave up an idea to force everyone to install the certificate. But I think it is important that OS or browser's UI would display true information about consequences of installing a certificate because government usually lies about it, telling something like it is necessary to protect users when browsing the Internet. For example, Android shows a reminder when third-party root certificate is installed and offers a quick way to remove it.