Cybersecurity

Zero Trust in Practice: Moving Beyond the VPN

A single leaked VPN password without MFA was enough to shut down the largest fuel pipeline in the US. With the new Executive Order telling federal agencies to plan for zero trust, here is a practical path from 'VPN into everything' to per-application access.

By EthicalHat Research · · 3 min read
Infographic: From VPN to zero trust network access

Last year we wrote that the perimeter is dead. This year has shown how costly it is to keep relying on it.

In May, the Colonial Pipeline ransomware attack shut down fuel supplies across the US East Coast. According to reporting since, the attackers got in using the password of a legacy VPN account that did not have multi-factor authentication. Earlier in the year, critical vulnerabilities in Pulse Connect Secure, Fortinet and SonicWall VPN appliances were exploited by criminal and state-backed groups alike.

Then, on 12 May, the US Executive Order on Improving the Nation's Cybersecurity directed federal agencies to develop plans to adopt zero trust architecture. What was a strategy slide has become a compliance expectation.

Why the VPN is the problem

A VPN answers one question: should this user be on our network? Once the answer is yes, the user's device is effectively inside the perimeter, able to reach anything that network routing and firewall rules allow. In most organisations that is far more than the user needs.

That creates three risks:

  1. The appliance itself is an internet-facing target. VPN gateways sit on the edge, run complex code and are hard to patch quickly.
  2. One credential opens everything. A phished or reused password (without MFA) gives an attacker the same network-level access as an employee.
  3. Compromised devices bring threats inside. An infected home laptop on the VPN is an infected laptop on your internal network.

What zero trust access looks like

Zero trust network access (ZTNA) replaces "connect to the network" with "connect to this application, now, from this device". A typical design uses an identity-aware proxy in front of each application:

flowchart LR
  U[User on any network] -->|HTTPS| P[Identity-aware proxy]
  P -->|1. authenticate| IdP[(Identity provider + MFA)]
  P -->|2. check device| MDM[(Device management)]
  P -->|3. per-app policy| Pol[(Access policy)]
  P -->|4. brokered session| C[Connector]
  C --> A1[HR app]
  C --> A2[Git server]

The connector inside the environment makes an outbound connection to the proxy, so the applications themselves have no inbound exposure. Users never receive an IP address on the internal network, which means there is nothing to scan and nowhere to move laterally.

A policy is expressed per application rather than per subnet. In pseudo-configuration:

yaml
application: git.internal
allow:
  - group: engineering
    require:
      mfa: phishing-resistant     # FIDO2 / WebAuthn
      device:
        managed: true
        disk_encryption: true
        os_patch_age_days: "<= 30"
session:
  max_duration: 8h
  reauthenticate_on: [ip_change, risk_score_high]
log_to: siem

A migration path that works

Nobody switches off the VPN on a Monday. The organisations we see succeed take it in stages:

Stage 1: Close the obvious gaps (weeks). Enforce MFA on the VPN and every internet-facing login today. Patch VPN appliances as an emergency priority and remove dormant accounts. The Colonial account was reportedly no longer in use.

Stage 2: Consolidate identity (1–3 months). Put SaaS applications and internal web apps behind single sign-on with one identity provider. Prefer phishing-resistant MFA (FIDO2 security keys or platform authenticators) for administrators first.

Stage 3: Proxy the web apps (3–6 months). Move internal web applications behind an identity-aware proxy. These are usually the majority of what people use the VPN for, and they are the easiest to migrate.

Stage 4: Add device posture. Require managed, healthy devices for sensitive applications. Unmanaged devices get browser-only or read-only access.

Stage 5: Shrink the VPN to what is left. Legacy thick-client applications, administrator access to infrastructure and a few edge cases may stay on a heavily restricted VPN for a while. Segment it so that VPN users only reach those systems.

Measure the right things

Useful signs of progress:

  • Percentage of applications behind SSO and MFA
  • Percentage of remote access sessions that go through the proxy instead of the VPN
  • Number of network ranges reachable by an average VPN user (this should fall to near zero)
  • Time to revoke all access for a leaver (this should be minutes, from one place)

The payoff

Zero trust is often sold as a security project, but users usually notice it as a better experience: no VPN client to launch, no dropped connections, faster access to SaaS. For the security team, every access decision becomes a log line with identity, device and context attached, which is a far richer detection source than VPN connection logs.

The pipeline attack will not be the last one that starts with a remote access credential. Moving beyond the VPN is how you make sure a single password is never enough.

Our network redesign and managed security teams help organisations plan and run exactly this transition.

EthicalHat Research

The EthicalHat research team: penetration testers, SOC analysts and engineers writing about security, software engineering and AI.

Want an expert opinion on your own systems?

Email info@ethicalhat.com or call +1-844-838-4422. Our security engineers are happy to talk it through.