5 ms·
There are two subtexts behind these arguments against VPNs: 1. Your IT infrastructure is mature enough that all application access is directed through a series
by tptacek 5y ago
There are two subtexts behind these arguments against VPNs:
1. Your IT infrastructure is mature enough that all application access is directed through a series of authenticating proxies, so that you're not making individual app-by-app configuration changes to enforce SSO/MFA/device-context rules.
2. Your VPNs have strictly iptables-style network access control (if that).
The latter subtext is true of most existing VPNs and is responsible, I think, for almost all of the flak access control VPNs take. Until pretty recently, the state of the art for access VPNs was stuff like OpenVPN, which is so painful to set up and maintain that most installations have no access control at all.
The former subtext is true almost nowhere, and that's a problem I have with arguments like this. I like the BastionZero people, but, obviously, most engineering teams aren't using BastionZero, or anything remotely like it. I also don't believe the dust has settled on what products/solutions like this are going to look like.
If you can't get that first subtext to hold true for your team, and you nevertheless adopt the logic of this post, you are going to be boned; you'll effectively be setting your security posture to a mid-oughts level, when VPNs were themselves a novelty at small engineering teams, and debug instances of apps hanging out on the Internet were a norm.
Meanwhile, you can mostly break the subtext about VPNs by using a modern VPN like (sorry, I have to say it again) Tailscale, which has fine-grained per-app ACLs based on role-based access control.
A major complaint the "Zero Trust" people have about modern VPNs is that app-layer proxies can do device-context authentication --- so "employer-owned device, up-to-date patches" is a valid access rule, and that's harder to do right now with things like Tailscale. Fair enough. But almost nobody is doing anything like that today, and I'm not sure that when the dust settles it'll be a market win for app-layer ZTA proxies.
You should do whatever you can to limit the scope of exposure for your networks, and you should not put off network access controls you can deploy today because you think you should just wait to see how ZTA products mature.
I think Tailscale is probably the most pragmatic next step for most companies.
- d4mi3n 5y ago> A major complaint the "Zero Trust" people have about modern VPNs is that app-layer proxies can do device-context authentication --- so "employer-owned device, up-to-date patches" is a valid access rule, and that's harder to do right now with things like Tailscale. Fair enough. But almost nobody is doing anything like that today, and I'm not sure that when the dust settles it'll be a market win for app-layer ZTA proxies. I may be missing the mark, but Okta and competing IdP (identity platform) or CASB (cloud access security broker) products do stuff like this. SSH access is one piece of the puzzle when you talk about a VPN-less model; generally orgs need this capability around any corporate system that is web/ssh/vpn/api accessible.
- tptacek 5y agoA vanilla IdP doesn't do what BastionZero is talking about here, because you have to individually configure your apps to use them; part of the point of ZTA proxies is that you have simple network access controls that ensure the only way to reach your applications in the first place is through the proxy.
- d4mi3n 5y agoAh, good call out. I'm mixing up Okta's SDK integrations with stuff more similar to a CASB or authenticating proxy. An organization I worked at in the past solved this problem by using Terraform/IaC to deploy authenticating proxies with any in-house applications that were deployed. Everything else went through a CASB or CASB-like product. Seemed to work well enough, but added a lot of complexity to the overall infrastructure that we would have loved to avoid.
- closeparen 5y agoWhat would it mean to adopt the logic of the post without sending your traffic through an authenticating proxy? I thought the whole point here was to use an authenticating proxy instead of a VPN server.
- tptacek 5y agoIt would mean you shift all your access control decisions to the application layer, but don't have an intermediating proxy, which is a pretty normal modern deployment architecture.
- theamk 5y agoWhat do you think about Cloudflare Access? I haven't used it personally, but it looks pretty neat -- authenticating proxies in the cloud, no VPN needed. It seems that I need to implement authentication in my webapp is to (1) have my app listen on localhost (2) set up cloudflared on the same host (3) check the right HTTP header for authenticated user's email. And in return this gives me SSO and full logging (including per-request, something that Tailscale cannot give me)
- EthanHeilman 5y agoCloudflare Access is a cool project and gives better security controls than tailscale. I haven't used it but I read a bit about it and I've been involved in creating some similar features at bastion-zero. I haven't read anything that suggests that webapp internal authentication is handled by Cloudflare Access. Cloudflare Access as far as I can tell just uses your SSO to setup a tunnel to your webapp, but you still need to authenticate to the webapp separately. If you found something that says different please LMK. I might have missed it. If you look at how Cloudflare Access does SSH, you create a tunnel to the target host, the target host then runs a webserver that proxies between the SSH-server and your browser and you login to SSH via the browser. > Cloudflare's browser-based terminal does not access the device's certificate store to gather SSH keys. Instead, users can input a username and password for password-based authentication or paste their private key. The terminal is rendered entirely in the user's browser [0] So Cloudflare doesn't enforce policy on what Linux user a user can assume on the target host. It just merely establishes a tunnel. You can configure Cloudflare access to use short-lived certificates in which case: > Access matches based on the identity that precedes an email domain. Unix usernames must match the identity preceding the email domain. Which is nice but now requires you have configure all your linux boxes to have linux user accounts for all your SSO users. Then you are still mananging the privileges of the linux users in linux. It's doable with LDAP but I've rarely seen it done. This is different from how bastion-zero works. Bastion-zero allows you to set and enforce policy between SSO identities and Linux users, e.g. Alice@example.com can assume `dev-user` or `readonly`. We are a bit ahead of the curve here. The biggest advantage of bastion-zero is that to compromise security both your SSO and the bastion need to be compromised. I don't believe CloudFlare Access has that yet. [0]: Connect from a browser-rendered terminal https://developers.cloudflare.com/cloudflare-one/tutorials/ssh-browser https://developers.cloudflare.com/cloudflare-one/tutorials/s... [1]: Ensure Unix usernames match user SSO identities https://developers.cloudflare.com/cloudflare-one/identity/users/short-lived-certificates https://developers.cloudflare.com/cloudflare-one/identity/us...