Could someone explain to me what this means and/or why it's bad?
MITM on HTTPS traffic in Kazakhstan
11–20 of 471 posts
Re: MITM on HTTPS traffic in Kazakhstan
#12--
somehow i missed that HPKP is dead and will be removed from chromium and all the derivative browsers. now google is focusing on Expect-CT
Re: MITM on HTTPS traffic in Kazakhstan
#13Could someone explain to me what this means and/or why it's bad?
Re: MITM on HTTPS traffic in Kazakhstan
#14Re: MITM on HTTPS traffic in Kazakhstan
#15If it does not, could you file a bug report with a complete packet capture (and exact browser version - multiple browsers are preferred)? https://github.com/caddyserver/caddy/issues
(Edit: Reportedly, "not all Internet providers have started MITM attacks yet" so if you do the test, make sure you are on an intercepted network... if safe to do so.)
Re: MITM on HTTPS traffic in Kazakhstan
#16hmm, certificate pinning will not allow this gov-ca to work for a lot of high profile web sites. i wonder if these sites with cert pins are whitelisted by the kz gov? -- somehow i missed that HPKP is dead and will be removed from chromium and all the derivative browsers. now google is focusing on Expect-CT
Re: MITM on HTTPS traffic in Kazakhstan
#17Could someone explain to me what this means and/or why it's bad?
Re: MITM on HTTPS traffic in Kazakhstan
#18I have custom root certs for internal dev sites for my company. That's fine, but I'd like to add the root with a caveat that I control saying "I trust this root for *.mycompany.com,mycompany.org", but that I know means they wouldn't be able to proxy "mybank.com". I don't think Firefox or Chrome can do that can it?
For root certain? But you can add your own self signed certs for domains an they can be wildcards. You only need a root if you're issuing other keys.
Re: MITM on HTTPS traffic in Kazakhstan
#19Would someone with network access in Kazakhstan check if Caddy's MITM detector catches this please? https://caddyserver.com/docs/mitm-detection - or https://mitm.watch (Cloudflare's unofficial deployment of the same tech). If it does not, could you file a bug report with a complete packet capture (and exact browser version - multiple browsers are preferred)? https://github.com/caddyserver/caddy/issues (Edit: Reported…
Re: MITM on HTTPS traffic in Kazakhstan
#20Could someone explain to me what this means and/or why it's bad?
The browser checks for validity by ensuring the website certificate is signed by a certificate that is shipped with the browser. These "root certificates" are usually owned by Certificate Authorities, such as Verisign or any other number of CAs. CAs ought to verify that the entity creating a new certificate is who they claim to be (the website owner) before signing a certificate. This way, you trust Verisign to tell you that you can trust the target website.
What Kazakhstan has done is create their own root certificate and asked people who live there to install it in their browsers. They are also intercepting any connection to facebook.com and giving your browser a Kazakhstan-created certificate, which is then verified against the Kazakhstan-owned root certificate. Since it will pass this check, the browser shows a happy green banner, even though the certificate is owned by Kazakhstan and not facebook.com. In other words, the data people in Kazakhstan send to facebook.com is now being intercepted and decrypted by Kazakhstan before being forwarded to facebook.com. Facebook is the example used in the linked bug, they can perform this with any other website, too.