6 ms·
I've never used these VPN services before. Is it possible for them to MITM a connection?
by pkaye 7y ago
I've never used these VPN services before. Is it possible for them to MITM a connection?
- mirimir 7y agoYes, they can install certificates that enable MitM. That's one reason why I never use custom clients for VPN services. That is, no binaries. I just get the OpenVPN PKI stuff, and use stock OpenVPN.
- SahAssar 7y ago> Yes, they can install certificates that enable MitM. Well, only if you give them permission to. Just use a non-provider specific client and you're okay.
- mirimir 7y agoI don't use them, so I don't know whether they'd ask specifically about the TLS cert. It might just be something about "web security" or whatever. And about using stock clients, that's what I said :) From openvpn.net or in Linus distros or in pfSense, for example.
- deleted 7y ago[deleted]
- ComputerGuru 7y agoNot if it is an encrypted connection and you are using a third party client, no. PIA supports OpenVPN and IPsec (IKEv2, iirc), for which most operating systems already have r either native or popular trusted and secure clients for.
- slig 7y agoSorry, I must be missing something obvious so please let me know, but VPNs are literally MITM: they terminate your encrypted connection with the client and stablish a new connection with the outside world from their end. So doesn't matter if the client is trusted, they can do whatever with the data before relaying it to the outside and before encrypting and sending back to the client.
- paranoidrobot 7y ago> VPNs are literally MITM: they terminate your encrypted connection with the client and stablish a new connection with the outside world from their end I think you misunderstand how VPNs work. They tunnel, not terminate traffic. It is effectively a NAT service, with extra steps. Take the scenario of a TLS connection to www.example.com:443 [1.2.3.4:443] Connection A: Direct to the internet through my ISP. I'll make an outbound connection to 1.2.3.4:443, and the IP that the remote sees will be the public IP that my ISP has assigned me. All traffic on that TLS connection is encrypted and my ISP can't view the content. Connection B: Using a VPN Service I'll make an outbound connection to 1.2.3.4:443, and the IP that the remote sees will be the public IP that my VPN Service has assigned me. All traffic on that TLS connection is encrypted and neither my ISP or the VPN provider can view the content. In both scenarios, the TLS Connection is direct to 1.2.3.4:443, and my client will and should verify that the presented certificate is for cn=www.example.com (or a SAN with that cn), and signed by one of the Root CAs that my computer/software trusts.
- brutal_chaos_ 7y agoWhat about an unencrypted HTTP connection, or any unencrypted connection whatsoever? Couldn't those be MiTM'd?
- paranoidrobot 7y agoCertainly, but the thread is about encrypted connections.
- Freak_NL 7y agoYes, just like your current ISP can without VPN.
- Jonnax 7y agoYes. But whoever is in the path of your connection to the server you're talking to can man in the middle you. It's your fault if you're trusting an unencrypted connection.
- 7y ago