VPN article?

Status
Not open for further replies.

pokrface

Senior Technology Editor
21,608
Ars Staff
I'm about to commission Jim Salter to write one for us, but we're proceeding very carefully. I do not want to fall into the trap of recommending folks participate in security theater, and setting up a VPN without being completely aware of what you're gaining and what you're giving up is worse than doing nothing. A significant number of VPN providers are fly-by-night scams, and picking one that isn't is extremely difficult when an overwhelming amount of the reviews can be traced back to affiliate-dollar scams by those same providers. It's an absolute minefield and the whole idea of a review "web of trust" has been subverted and effectively destroyed.

While the piece is being written, read Brian Krebs' thoughts on the matter. Because, as usual, he's dead-on.
 

pokrface

Senior Technology Editor
21,608
Ars Staff
....would you really want to read an article that basically says "you're fucked, you're all fucked, nothing really will save you and essentially all your VPN'ing is just rearranging deck chairs"? Because that's likely what Krebs would tell you. It's not that you're missing the secret ingredient to a perfect VPN and you just need to look harder—it's that VPNs won't save you.

Because—and Jim's piece is going to say this because I'm going to tell him I want it in there—ultimately this is a question of trust. Can you trust a VPN provider? Probably not and you can't prove it one way or another. OK, well, let's go hosted DIY. Can you trust your VPS provider? Maybe but you can't prove it one way or another—unless you're VPN-hopping from your VPS to another endpoint, they can see everything you're doing and it's tied to your account. Can you trust a dedicated hardware server in a colo or other remote data center? Maybe but you can't prove it one way or another, especially since your server probably has an ilo/idrac board—and, again, unless you're chaining that endpoint to another via another VPN, the hosting provider can see everything you're doing. If your VPNs' endpoints are in the USA you're triple-fucked anyway because then Comcast et al will simply collect data on you from that endpoint. If you're overseas, you have whatever protections the host country provides. At best you end up with a hacked together DIY solution in multiple data centers...which you then have to maintain and update and keep current.

Where do you plant that final trust flag? You don't. You can't. A VPN will not save you.

We'll do the piece, but ultimately getting a VPN going (even a DIY where you control the endpoints) is about as effective as the TSA is in stopping real threats.
 

Jim Salter

Ars Legatus Legionis
17,293
Subscriptor++
Because—and Jim's piece is going to say this because I'm going to tell him I want it in there—ultimately this is a question of trust. Can you trust a VPN provider? Probably not and you can't prove it one way or another. OK, well, let's go hosted DIY. Can you trust your VPS provider? Maybe but you can't prove it one way or another

To be crystal clear, Lee doesn't need to tell me to put this in.

Here's the thing about security: it isn't a binary question of "being secure" or "being insecure". It's a game of costs, and one that you as an individual are playing against opponents with extremely stacked decks.

Can a sufficiently well-funded attacker bypass your security? The answer is a resounding "yes". Period, there are no ifs, ands, or buts here. If the FBI or NSA (or Chinese or Russian APTs) want you - and this is an important proviso here, want you specifically - they will by god have you, and there are no two ways about it. They have far, far more resources than you do. They can, if nothing else, just have a literal physical human literally physically trail you and/or break into your home, office, whatever. Multiple physical humans, if they really want to. There's nothing you can do about that.

Where "security" in this context comes in is the balancing of costs. You want it to be significantly more expensive to compromise you than the likely value of the compromise would be. You've got to be really interesting to justify expending actual person-hours on, rather than just a loose technical dragnet. So you want to defend yourself against the automated stuff, first and foremost, pretty much no matter who you are. That stuff is cheap, and you are absolutely that amount of interesting.

From there, you have to figure out just how interesting you are, and scale up the cost of breaching your security appropriately. If you screw this up, it can bite you. The security practices that were appropriate when you were "just this guy, you know?" aren't likely to still be appropriate if you become a person of interest who may be a strategic foothold toward more interesting targets.

So how does this relate to VPNs? Well, first and foremost, as long as you're accessing an insecure target, your endpoint is a vulnerability, wherever that endpoint is. If we handwave the actual cryptographic strength of your VPN tunnel, we still have to worry about its exit point. If an entity knows your traffic is coming out of that endpoint, they can MITM it or monitor it from there instead of from your home. So what's the point?

First off, you may get the benefit of some herd camouflage. Assume an attacker is capable of monitoring traffic leaving your endpoint, but has not compromised the endpoint itself. If this is a commercial VPN provider, your traffic is now mixed in with thousands of other clients' traffic, and may be considerably more difficult to identify than it would have been if it was all coming straight from your own house on your own logged IP address belonging to your own ISP. On the other hand, say you've rolled your own VPN with an endpoint in, say, Linode or Digital Ocean - if an attacker knows that IP address, you might as well have never bothered, because now all your traffic comes from there. In that case, you could arguably be even worse off than if you'd never used a VPN at all - if you're on your ISP's network, you're most likely going to be changing IP addresses out with the rest of the ISP's customers, again giving you some herd camouflage against casual monitoring (except that done by your ISP itself, of course, or gained by subpoena through an indulgent court system, or by anybody who's compromised your ISP).

Whoof. OK then, if rolling your own VPN might be even worse than not doing it at all - why bother? Well, because your ISP is very specifically a potential attacker who has one hell of a lot of info on you and the motivation to use it. So in this case, any VPN tunnel outside the network under the ISP's control is a good thing. It protects you from the ISP doing MITM attacks on your traffic (ie, injecting cookies or even actual advertisements directly into non-HTTPS webpages), and it keeps the ISP from knowing anything about your browsing habits other than "it seems to all be going through a VM in Linode".

OK. So we want a VPN to protect ourselves from the ISP casually mining us for data and logging our traffic and selling us down the river. Natch. Now what?

If we went with a VPS hosting place like Linode or Digital Ocean, now we have to worry about them doing the exact same thing. Whether it's for purely monetary greedy reasons (selling info to advertisers, commercial harvesters, et al) or them getting subpoena'd by a court, or even them colluding with extra-judicial activity by law enforcement agencies... you're at this point just trusting them to not rat you out. They have all the ability that the ISP does to monitor, flag, and log your traffic - or even to screw with it in or out. To be fair, a VPS is likely to resist this kind of thing much harder than a residential ISP does, because they know perfectly well that their customers are more infosec-aware and likely to kick up a giant storm if they do it - and, worse (from their perspective), they don't hold a monopoly or duopoly the way your residential ISP does. If Spectrum pisses me off, literally my only other option for residential internet service is AT&T... which sucks rocks in my area. Even if AT&T was awesome, what if they just do the same shit Spectrum does (which they do)? I'm stuck. On the other hand, if I find out Linode is selling me down the river, I can not only kick up a giant public angry fuss about it, I can take my business to Digital Ocean. Or to Hetzner. Or to LiquidWeb. Or to literally tens if not hundreds of other providers. So there's a powerful incentive for the VPS provider to resist fucking me over as hard as they can.

As Lee mentioned, though, if the VPS provider does get compromised - whether that's through an employee taking payola, the company themselves selling out, a subpoena landing, whatever - then now my attacker not only can monitor my traffic, but can get root on my actual server, no matter what technical safeguards I try to use.

So... what about the VPN providers?

The VPN provider is selling a more focused product than the VPS provider. Their whole damn job is to give you a way to route your data out of your network securely and as anonymously as possible. They have failed, not just a little bit, but the whole way if they sell you down the river. As a result of this, they will often sell more focused services - multiple available endpoints, specific use of tons of endpoints in tons of countries to raise jurisdictional hurdles for nation-state attackers with access to judicial and law enforcement tools, and so forth. They also have a vested interest in offering services that are deliberately and aggressively unlogged, where a standard VPS provider is much more likely to want to keep logs of as much as possible, to assist them in maintaining and analyzing what goes on for sysadmin reasons.

On the flip side, the VPN providers are frequently targeting home users who may not be the best educated, and they're generally targeting an even lower price point. They may not care about individual customers as much, and they may either rely more on user ignorance - because they're targeting mainstream consumers - or less on user ignorance - because they're expecting to be analyzed publicly and privately by experienced infosec and paranoid sysadmin types.

I don't know how much of this I can cram into an actual article whose primary focus needs to be more of a usable "how-to" than a primer on (actual, including human intelligence and stuff that predates comptuers entirely) security, but yeah, rest assured, I think about it.
 

Jim Salter

Ars Legatus Legionis
17,293
Subscriptor++
Jim is, as usual, correct. Which is why I'm having him do the piece :D

In this as in so many other aspects of computing security, the old adage continues to hold true. If you find yourself in a cave with a hungry dragon and a hobbit, you don't have to outrun the dragon. You just have to outrun the hobbit.

"Good luck with that magic short sword, you hairy footed little bugger!"
 

Solidstate89

Ars Tribunus Angusticlavius
7,127
Any interest in a piece about good router hardware to use with a VPN? OpenVPN is a bitch on even prosumer routers. Even on an RT2600AC I was testing out for the purpose of seeing how good of VPN speeds I can get, maxed out at around 30Mbps of my 60Mbps ISP connection. I know that's not the server limit as my laptop and desktop can get around ~55Mbps if I run the client on those computers individually.

I'm sure there might be some Mikrotik or Ubiqiti hardware out there that has good VPN speeds, but is there anything in the prosumer space either right now or on the horizon that could have some kind of HWA for AES/OpenSSL/etc for improving VPN speeds through the router?

That would be an interesting article to me. I just don't have the time or patience to work with something like an enterprise device. I much prefer the user friendliness of an Asus or Synology, or just consumer routers in general. An article about possible wireless routers that provide near ISP equivalent VPN speeds I think would be even more useful than yet another Ars article about what a VPN is and isn't good for.
 

pokrface

Senior Technology Editor
21,608
Ars Staff
An article about possible wireless routers that provide near ISP equivalent VPN speeds I think would be even more useful than yet another Ars article about what a VPN is and isn't good for.
You can likely extrapolate from this piece that there's not much of a compromise to be had. If you're concerned about throughput—VPN or otherwise—the options are pretty much limited to "build your own router" and "build your own router."
 

Solidstate89

Ars Tribunus Angusticlavius
7,127
An article about possible wireless routers that provide near ISP equivalent VPN speeds I think would be even more useful than yet another Ars article about what a VPN is and isn't good for.
You can likely extrapolate from this piece that there's not much of a compromise to be had. If you're concerned about throughput—VPN or otherwise—the options are pretty much limited to "build your own router" and "build your own router."
I was afraid you'd reference that article.
 

ChaoticUnreal

Ars Tribunus Angusticlavius
7,990
Subscriptor++
An article about possible wireless routers that provide near ISP equivalent VPN speeds I think would be even more useful than yet another Ars article about what a VPN is and isn't good for.
You can likely extrapolate from this piece that there's not much of a compromise to be had. If you're concerned about throughput—VPN or otherwise—the options are pretty much limited to "build your own router" and "build your own router."

We'll go through the how-to in a future piece, but today it's important to establish why a DIY router-build may be the best option

Do you have a link to the next article it isn't linked at the bottom of the article like 2 part articles normally are.
 

Solidstate89

Ars Tribunus Angusticlavius
7,127
An article about possible wireless routers that provide near ISP equivalent VPN speeds I think would be even more useful than yet another Ars article about what a VPN is and isn't good for.
You can likely extrapolate from this piece that there's not much of a compromise to be had. If you're concerned about throughput—VPN or otherwise—the options are pretty much limited to "build your own router" and "build your own router."

We'll go through the how-to in a future piece, but today it's important to establish why a DIY router-build may be the best option

Do you have a link to the next article it isn't linked at the bottom of the article like 2 part articles normally are.

/gadgets/2016/04 ... m-scratch/
 

pokrface

Senior Technology Editor
21,608
Ars Staff
We're getting a little far afield here, but I'm a big DIY router fan. I ran smoothwall linux on commodity hardware for dog's years, and there are basically no downsides. Pick a small form factor PC w/dual NICs (I used this one, power draw was a constant ~12W, which meant about $9/year in electricity at $0.09/kwh), install your router/firewall package of choice, and forget it exists. You'll never have to reset anything or worry about your router ever again.
 

helel ben shachar

Ars Legatus Legionis
13,549
Subscriptor++
Because—and Jim's piece is going to say this because I'm going to tell him I want it in there—ultimately this is a question of trust. Can you trust a VPN provider? Probably not and you can't prove it one way or another. OK, well, let's go hosted DIY. Can you trust your VPS provider? Maybe but you can't prove it one way or another

To be crystal clear, Lee doesn't need to tell me to put this in.

Here's the thing about security: it isn't a binary question of "being secure" or "being insecure". It's a game of costs, and one that you as an individual are playing against opponents with extremely stacked decks.

Can a sufficiently well-funded attacker bypass your security? The answer is a resounding "yes". Period, there are no ifs, ands, or buts here. If the FBI or NSA (or Chinese or Russian APTs) want you - and this is an important proviso here, want you specifically - they will by god have you, and there are no two ways about it. They have far, far more resources than you do. They can, if nothing else, just have a literal physical human literally physically trail you and/or break into your home, office, whatever. Multiple physical humans, if they really want to. There's nothing you can do about that.

Where "security" in this context comes in is the balancing of costs. You want it to be significantly more expensive to compromise you than the likely value of the compromise would be. You've got to be really interesting to justify expending actual person-hours on, rather than just a loose technical dragnet. So you want to defend yourself against the automated stuff, first and foremost, pretty much no matter who you are. That stuff is cheap, and you are absolutely that amount of interesting.

From there, you have to figure out just how interesting you are, and scale up the cost of breaching your security appropriately. If you screw this up, it can bite you. The security practices that were appropriate when you were "just this guy, you know?" aren't likely to still be appropriate if you become a person of interest who may be a strategic foothold toward more interesting targets.

So how does this relate to VPNs? Well, first and foremost, as long as you're accessing an insecure target, your endpoint is a vulnerability, wherever that endpoint is. If we handwave the actual cryptographic strength of your VPN tunnel, we still have to worry about its exit point. If an entity knows your traffic is coming out of that endpoint, they can MITM it or monitor it from there instead of from your home. So what's the point?

First off, you may get the benefit of some herd camouflage. Assume an attacker is capable of monitoring traffic leaving your endpoint, but has not compromised the endpoint itself. If this is a commercial VPN provider, your traffic is now mixed in with thousands of other clients' traffic, and may be considerably more difficult to identify than it would have been if it was all coming straight from your own house on your own logged IP address belonging to your own ISP. On the other hand, say you've rolled your own VPN with an endpoint in, say, Linode or Digital Ocean - if an attacker knows that IP address, you might as well have never bothered, because now all your traffic comes from there. In that case, you could arguably be even worse off than if you'd never used a VPN at all - if you're on your ISP's network, you're most likely going to be changing IP addresses out with the rest of the ISP's customers, again giving you some herd camouflage against casual monitoring (except that done by your ISP itself, of course, or gained by subpoena through an indulgent court system, or by anybody who's compromised your ISP).

Whoof. OK then, if rolling your own VPN might be even worse than not doing it at all - why bother? Well, because your ISP is very specifically a potential attacker who has one hell of a lot of info on you and the motivation to use it. So in this case, any VPN tunnel outside the network under the ISP's control is a good thing. It protects you from the ISP doing MITM attacks on your traffic (ie, injecting cookies or even actual advertisements directly into non-HTTPS webpages), and it keeps the ISP from knowing anything about your browsing habits other than "it seems to all be going through a VM in Linode".

OK. So we want a VPN to protect ourselves from the ISP casually mining us for data and logging our traffic and selling us down the river. Natch. Now what?

If we went with a VPS hosting place like Linode or Digital Ocean, now we have to worry about them doing the exact same thing. Whether it's for purely monetary greedy reasons (selling info to advertisers, commercial harvesters, et al) or them getting subpoena'd by a court, or even them colluding with extra-judicial activity by law enforcement agencies... you're at this point just trusting them to not rat you out. They have all the ability that the ISP does to monitor, flag, and log your traffic - or even to screw with it in or out. To be fair, a VPS is likely to resist this kind of thing much harder than a residential ISP does, because they know perfectly well that their customers are more infosec-aware and likely to kick up a giant storm if they do it - and, worse (from their perspective), they don't hold a monopoly or duopoly the way your residential ISP does. If Spectrum pisses me off, literally my only other option for residential internet service is AT&T... which sucks rocks in my area. Even if AT&T was awesome, what if they just do the same shit Spectrum does (which they do)? I'm stuck. On the other hand, if I find out Linode is selling me down the river, I can not only kick up a giant public angry fuss about it, I can take my business to Digital Ocean. Or to Hetzner. Or to LiquidWeb. Or to literally tens if not hundreds of other providers. So there's a powerful incentive for the VPS provider to resist fucking me over as hard as they can.

As Lee mentioned, though, if the VPS provider does get compromised - whether that's through an employee taking payola, the company themselves selling out, a subpoena landing, whatever - then now my attacker not only can monitor my traffic, but can get root on my actual server, no matter what technical safeguards I try to use.

So... what about the VPN providers?

The VPN provider is selling a more focused product than the VPS provider. Their whole damn job is to give you a way to route your data out of your network securely and as anonymously as possible. They have failed, not just a little bit, but the whole way if they sell you down the river. As a result of this, they will often sell more focused services - multiple available endpoints, specific use of tons of endpoints in tons of countries to raise jurisdictional hurdles for nation-state attackers with access to judicial and law enforcement tools, and so forth. They also have a vested interest in offering services that are deliberately and aggressively unlogged, where a standard VPS provider is much more likely to want to keep logs of as much as possible, to assist them in maintaining and analyzing what goes on for sysadmin reasons.

On the flip side, the VPN providers are frequently targeting home users who may not be the best educated, and they're generally targeting an even lower price point. They may not care about individual customers as much, and they may either rely more on user ignorance - because they're targeting mainstream consumers - or less on user ignorance - because they're expecting to be analyzed publicly and privately by experienced infosec and paranoid sysadmin types.

I don't know how much of this I can cram into an actual article whose primary focus needs to be more of a usable "how-to" than a primer on (actual, including human intelligence and stuff that predates comptuers entirely) security, but yeah, rest assured, I think about it.

Thanks Jim for taking the time to write that. I might not be able to sleep well at night anymore, but thanks nonetheless.

Also, looking forward to the article.
 
Status
Not open for further replies.