Join our Newsletter — 33% off our NHI Course
Home› Guides› Remote Access Identity Guide: From VPN to ZTNA
Guide Zero Trust

Remote Access Identity Guide: From VPN to ZTNA

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 24 October 2026 17 min read
On this page

Remote access is where many of the most damaging breaches begin. A VPN account without MFA, a dormant login nobody disabled, an unpatched remote access appliance or a vendor tool nobody monitors has opened the door to ransomware at pipelines, healthcare providers and technology companies. Traditional VPNs also grant broad network access once a user is in, so one compromised identity can reach far more than it needs. This guide covers the identity controls every remote access path needs, the move from network-level VPN to per-application zero trust network access (ZTNA), device posture, privileged and third-party access, the appliances themselves and the non-human identities that use remote paths. It is written for identity, network and security operations teams, and maps each control to NIST, ISO/IEC 27001, CIS and OWASP references.

Key takeaways

  • Every remote entry point needs phishing-resistant MFA, with no exceptions for legacy profiles, service accounts or "temporary" access. Colonial Pipeline and Change Healthcare both began with a remote login that had no MFA.
  • Dormant accounts are a standing invitation. CIS Controls v8.1 Safeguard 5.3 sets 45 days of inactivity as the point to delete or disable an account; automate it for every remote access system.
  • ZTNA grants access per application, based on identity, device and context, instead of placing users on the network. CISA and partners describe it as a way to restrict what an attacker can reach from a compromised device.
  • Remote access appliances are identity infrastructure. They store credentials and sessions, so after exploitation CISA advises assuming stored user and service account credentials are compromised: patching alone is not enough.
  • Third parties, administrators and machines need their own brokered paths, with named accounts, time limits, recording and monitoring, including remote monitoring and management (RMM) tools that attackers increasingly co-opt.

Lessons from incidents

The incidents below share a pattern: the attacker did not need novel malware, only a working identity or session on a remote access path. The control column is what would most directly have broken the chain.

IncidentEntry pointIdentity failureControl that breaks the chain
Colonial Pipeline Ransomware Attack 2021Legacy VPN profileAccount no longer in use but still active, leaked password, no MFADormant account removal; MFA on the VPN
Change Healthcare Breach 2024Citrix remote access portalCompromised credentials on a portal without MFAMFA on every external access point; limits on lateral reach
Cisco Breach 2022Corporate VPNPassword synced to a personal browser profile, then voice phishing and MFA push fatiguePhishing-resistant MFA; controlled MFA device enrolment
CitrixBleed 2023NetScaler gateway flawLeaked session cookies replayed, bypassing passwords and MFAKill all sessions after patching; bind sessions to device
Ivanti Connect Secure Exploitation 2024VPN appliance zero-daysLogin page modified to capture passwords; service account credentials on the applianceRotate every secret on the appliance; keep privileged credentials off it
SonicWall SSL VPN Account Compromises 2025SSL VPN loginsValid credentials used across many accountsMFA on the VPN; detection of rapid multi-account logins

CitrixBleed recurred in 2025: according to the CitrixBleed 2 (CVE-2025-5777) analysis, leaked gateway memory could contain user session tokens and plaintext credentials, so every session that existed before the patch had to be killed.

Remote access paths and what they expose

NIST SP 800-46 Rev. 2 groups enterprise remote access into four types: tunnelling (VPNs), application portals, remote desktop access and direct application access. To those, most organisations now add vendor support tools, RMM agents and cloud administration consoles. Each path carries a different identity risk, and an inventory that misses one leaves a door nobody watches.

PathExamplesMain identity riskPrimary control
TunnellingIPsec and SSL VPNsBroad network reach after one login; local appliance accountsIdP integration, MFA, per-group network restrictions, move to ZTNA
Application portalsWeb portals, published applicationsPortal exposed without MFASSO with phishing-resistant MFA, session limits
Remote desktop accessRDP gateways, VDI and DaaSCredential stuffing, direct exposure of RDPGateway only, MFA, no direct internet RDP
Direct application accessSaaS, webmail, APIsToken theft, infostealer cookiesConditional access, device checks, token protection
Vendor and RMM toolsSupport tools, MSP agentsShared or unmonitored accounts with high privilegeAllowlisting, named accounts, JIT, logging
Cloud consolesCloud provider and SaaS admin consolesPrivileged access from anywherePAM, JIT elevation, privileged session monitoring

Identity controls for every remote access path

The same baseline applies to every path in the inventory. Where a path cannot meet it, treat that as a risk to be accepted at a senior level and given an end date, not as a permanent exception.

Authentication

  • Integrate with the identity provider so remote access uses single sign-on and central policy, not local appliance accounts. CIS Safeguard 6.7 asks for access control centralised through a directory service or SSO provider.
  • Enforce phishing-resistant MFA for all users. CIS Safeguard 6.4 requires MFA for remote network access, and the CISA-led Modern Approaches to Network Access Security guide recommends identity verification with phishing-resistant MFA. Push approval alone failed at Cisco in 2022. See the Phishing-Resistant MFA Guide and the MFA Guide.
  • Protect enrolment and recovery. An attacker who can register a new MFA device or talk the help desk into a reset bypasses the strongest factor.

Account lifecycle

  • Remove local and legacy accounts on appliances, and protect any that must remain as break-glass accounts.
  • Disable dormant accounts automatically after a defined period of inactivity (CIS Safeguard 5.3 suggests 45 days) and immediately on leaver events. See the Joiner-Mover-Leaver Guide.

Sessions

  • Limit session lifetime and re-evaluate sessions when risk changes, such as a new location or a failed device check. Session cookies from remote access gateways are bearer credentials that have already passed MFA. See the Token and Session Security Guide.
  • Be able to revoke every session at once, per user and per gateway, and test it before you need it.

Logging

  • Send authentication and session logs from every gateway to central monitoring, with user, device, source address and application in each record.

From VPN to ZTNA

According to the CISA-led Modern Approaches to Network Access Security guide (June 2024), CISA has found over 22 Known Exploited Vulnerabilities related to VPN compromise, and once a user connects to a VPN "the organization may be susceptible to compromise" through design weaknesses, misconfiguration or flaws in the product. The same guide notes that Volt Typhoon used VPN sessions with administrative credentials to move laterally and blend in with normal traffic.

Traditional VPNZero trust network access
What the user getsA connection to the network, then reaches applicationsA connection to specific applications only
DecisionMostly at connection timePer application and per session, using identity, device and context
ExposureAppliance listening on the internet; broad lateral reach after loginApplications hidden behind a broker; limited lateral reach
Re-authenticationUsually once per tunnelPeriodic within a session, and again for each additional application
Third partiesOften given full VPN profilesGiven access to named applications only

The CISA guide describes ZTNA as an access broker that verifies user identity, access requirements and policy rules, can monitor device posture and client geolocation, and enforces MFA; users reauthenticate periodically and the process restarts if they seek access to additional applications. This reflects NIST SP 800-207's tenets that access is granted per session and that authenticating to one resource "will not automatically grant access to a different resource".

ZTNA is usually delivered within security service edge (SSE), alongside a secure web gateway, cloud access security broker and firewall as a service, or within secure access service edge (SASE), which adds networking such as SD-WAN. For organisations still running VPNs during migration, CISA lists these steps: prevent access to the control plane, use a dedicated management interface, patch and analyse VPN telemetry, consider pre-authenticating users, use MFA and version control the running configuration.

Migration is usually phased: start with third parties and high-risk applications, then general users, and keep a minimal VPN only for use cases that genuinely need network-level access. CISA's Zero Trust Maturity Model 2.0 gives a way to track progress across its five pillars (identity, devices, networks, applications and workloads, data) from traditional through initial and advanced to optimal. See the Zero Trust Network Access (ZTNA) Guide and the Zero Trust Identity Guide.

Device posture

NIST SP 800-46 tells organisations to assume that telework devices will be lost, stolen or infected with malware, and to use network access control that checks a client's security posture before granting access. It also suggests tiered levels of remote access, so the most controlled devices get the most access.

Device typeSuggested access levelConditions
Organisation-managed, compliantFull access to permitted applicationsDevice identity (certificate or hardware-bound key), current patches, endpoint protection running
Organisation-managed, non-compliantRemediation portal onlyRestore compliance before access is restored
Personal or third-party PCLimited set of applications, browser-basedNo local data storage; stronger session limits
Personal phone or tabletOne or two lower-risk resources, such as webmailApp protection policies where available
Unknown deviceNoneBlock and alert
  • Bind device and user. A posture signal is only useful if the device itself authenticates; NIST SP 800-53 IA-3 covers device identification and authentication.
  • Remember infostealers. Malware on personal devices harvests VPN credentials and session cookies, which is one reason unmanaged devices should not get full access. See the Device Compliance and Endpoint Posture Guide.

Remote access for privileged users and third parties

Privileged users

  • Broker administrative access through PAM with just-in-time elevation and session recording, rather than a VPN profile with standing admin rights. See the Privileged Access Management Guide and the JIT Access Guide.
  • Restrict VPN connections to unprivileged accounts. CISA's Ivanti advisory lists this among the actions to take today, so a stolen VPN credential is not also a domain admin credential.
  • Record and review sessions on high-risk systems. See the Privileged Session Management Guide.

Vendors, contractors and MSPs

  • Give each person a named account with sponsor approval, time windows and access to specific systems only. See the Third-Party Access Guide.
  • Write logging into the contract. CISA's Guide to Securing Remote Access Software advises MSP customers to require visibility of the provider's presence, activities and connections, and to ensure MSP accounts are properly monitored and audited.
  • Control RMM tools. The same guide notes RMM software is signed with valid certificates and its install paths are often excluded from EDR inspection. Audit which tools are installed, allowlist approved ones and block common RMM ports at the perimeter. See the Remote Monitoring and Management (RMM) Tool Security Guide.

Operational technology

The CISA-led guide describes hardware-enforced segmentation for the most consequential systems, including unidirectional screen viewing and time-limited hardware switches that give site staff physical control over how long remote access stays enabled. See the OT and ICS Identity and Access Guide.

Protecting the appliances

NIST SP 800-46 notes that a compromised remote access server can be a "jumping off" point for attacks on other hosts, and says servers must be kept fully patched and managed only from trusted hosts by authorised administrators. The Ivanti campaign showed how much identity material an appliance can hold.

  • Patch as an emergency priority and track exposure of every internet-facing gateway. See the VPN Appliance Security Guide.
  • Do not store privileged credentials on the appliance. CISA showed that domain administrator credentials, if saved when configuring an Active Directory authentication server on an Ivanti gateway, could be exfiltrated in clear text, along with cached credentials for active and inactive sessions.
  • Do not trust a clean integrity check. In advisory AA24-060B, CISA reported that Ivanti's Integrity Checker Tool failed to detect compromise and that an attacker may keep root-level persistence despite factory resets.
  • After a known exploit, rotate and revoke. CISA advises resetting all credentials that may have been exposed, "including user and service accounts", and assuming AD access on the appliance is compromised. Revoke sessions as well. See the Leaked Credential Response Playbook.
  • Limit outbound connections from VPN appliances to required services, and keep management interfaces off the internet.

Remote access and non-human identities

Scripts, backup tools, monitoring systems and RMM agents use remote access paths too, typically through service accounts excluded from MFA. The appliances themselves hold non-human credentials: directory bind accounts, API keys and certificates. Several OWASP Non-Human Identities Top 10 (2025) risks apply directly: NHI1 Improper Offboarding (service accounts left active), NHI5 Overprivileged NHI (a domain admin used for directory lookups), NHI7 Long-Lived Secrets and NHI10 Human Use of NHI (staff using a shared service account over the VPN).

  • Replace remote service accounts with workload identity or tightly scoped, source-restricted credentials, and keep them off the VPN used by people where possible. See the Service Account Security Guide.
  • Inventory appliance secrets so every one can be rotated within hours of an advisory.
  • Watch mass actions. CISA suggests that if an account pushes commands to 10 or more devices within an hour, security protocols such as MFA should be triggered again.

AI agents are the newest users of remote paths. An agent that connects to internal tools over a VPN or a long-lived API token inherits the broad reach of that path. Give agents their own identities, per-application access through a broker, short-lived credentials and an accountable human owner, and never let an agent reuse a person's VPN session. See the Zero Trust for AI Agents Guide.

Detection and monitoring

CISA's remote access software guide maps attacker use of remote paths to MITRE ATT&CK techniques including External Remote Services (T1133), Valid Accounts (T1078), Trusted Relationship (T1199) and Remote Access Software (T1219). Because these use legitimate tools and credentials, detection depends on knowing normal behaviour first.

  • Authentication anomalies: impossible travel, new devices, logins from hosting providers and rapid logins across many accounts, as seen in the SonicWall compromises.
  • Session anomalies: one session used from two addresses, or reuse after a reported patch, which is the CitrixBleed signature.
  • MFA events: repeated push denials followed by an approval, and new MFA device enrolments shortly after a remote login.
  • Dormant account use: any login by an account inactive for longer than your threshold should alert.
  • Unapproved remote tools: RMM binaries running from user folders or only in memory.
  • Appliance changes: configuration changes outside change windows and unexpected outbound connections.

See the ITDR Guide.

Common failure patterns

  • The forgotten profile. A legacy VPN profile that is no longer used stays active with a password and no MFA, as at Colonial Pipeline.
  • The portal nobody counted. One remote access portal is left without MFA, as at Change Healthcare, while effort goes into the main VPN.
  • Patching without revoking. The appliance is patched but stolen sessions and credentials stay valid, as after CitrixBleed.
  • Privileged credentials on the edge. A domain administrator account configured for directory lookups is stored on the gateway, as CISA demonstrated for Ivanti.
  • Push MFA treated as strong. Push approval without phishing resistance gives way to fatigue and vishing, as at Cisco.
  • Vendor access by default. Third parties get full VPN profiles or unmonitored RMM tools instead of named, time-limited access to specific systems.
  • Service accounts excluded from policy. Machine accounts are exempted from MFA and conditional access, so they become the easiest way in.

Framework mapping

Control IDs below were checked against NIST CSF 2.0, the NIST SP 800-53 Rev. 5 catalogue, the ISO/IEC 27001:2022 Annex A control list, CIS Controls v8.1 and the OWASP Non-Human Identities Top 10 (2025).

RequirementNIST CSF 2.0NIST SP 800-53 Rev. 5ISO/IEC 27001:2022 Annex ACIS Controls v8.1OWASP NHI Top 10
MFA on every remote pathPR.AA-03AC-17, IA-2(1), IA-2(2)8.56.4, 6.5NHI4
Account inventory and dormant account removalPR.AA-01AC-2, AC-2(3)5.16, 5.185.1, 5.3, 6.2NHI1
Per-application, least-privilege accessPR.AA-05, PR.IR-01AC-6, AC-17(3), SC-78.3, 8.20, 8.226.7, 6.8NHI5
Device identity and posturePR.AA-03, ID.AM-01IA-3, AC-206.7, 8.1Control 1-
Privileged and vendor remote accessPR.AA-05, DE.CM-06, GV.SC-05AC-17(4), MA-4, PS-7, SA-98.2, 5.19, 5.205.4, 6.5, Control 15-
Appliance patching and hardeningID.RA-01, PR.PS-02SI-2, CM-78.8, 8.9Control 7-
Session limits and revocationPR.AA-04AC-12, IA-11, AC-17(9)8.56.2NHI7
Logging and monitoring of remote accessDE.CM-01, DE.CM-03AC-17(1), AC-2(12), AU-6, SI-48.15, 8.168.2, 8.11, Control 13-

Metrics that show progress

MetricWhat it showsTarget direction
Remote access paths integrated with the IdPCoverage of central policyUp, to 100%
Remote logins protected by phishing-resistant MFAStrength of authenticationUp
Remote access accounts inactive beyond thresholdDormant account exposureDown, to zero
Applications reached through ZTNA rather than VPNProgress of migrationUp
Third-party accounts with an owner and expiry dateVendor access governanceUp, to 100%
Time from appliance advisory to patch and credential rotationResponse speed on the edgeDown
Privileged credentials stored on remote access appliancesBlast radius of an appliance compromiseDown, to zero
Service accounts using remote paths without restrictionsNon-human exposureDown

Implementation roadmap

PhaseFocusActions
First 30 daysClose the obvious doorsInventory every remote path; enforce MFA where missing; disable dormant and local accounts; restrict VPN to unprivileged accounts; confirm you can revoke all sessions
Days 31 to 90Harden and watchMove remote access to IdP and phishing-resistant MFA; remove privileged credentials from appliances; centralise gateway logs and alert on the signals above; allowlist RMM tools
Days 91 to 180Shrink the network pathMove third parties and high-risk applications to ZTNA; introduce device posture tiers; broker admin access through PAM with JIT; rehearse appliance compromise response
After 180 daysZero trust by defaultMigrate general users; retire or minimise the VPN; replace remote service accounts with workload identity; track progress against the CISA Zero Trust Maturity Model

Practitioner checklist

  • Inventory every remote access path: VPNs, portals, remote desktop gateways, vendor and RMM tools, and cloud consoles.
  • Integrate each with the identity provider and enforce phishing-resistant MFA, with no exempt profiles.
  • Disable dormant accounts automatically and remove local and legacy appliance accounts.
  • Limit session lifetime and confirm you can revoke every session on a gateway at once.
  • Move third parties and high-risk applications to ZTNA first.
  • Use device identity and posture tiers in access decisions.
  • Broker privileged and vendor access with approval, time limits and recording.
  • Keep privileged credentials off appliances and restrict VPN to unprivileged accounts.
  • Patch appliances urgently and, after exploitation, rotate stored credentials and revoke sessions.
  • Monitor remote sign-ins, sessions, MFA events and remote tools for anomalies.
  • Give service accounts and AI agents their own scoped identities instead of shared VPN access.

Standards and references

Related NHI Mgmt Group resources: Zero Trust Network Access (ZTNA) Guide · VPN Appliance Security Guide · Phishing-Resistant MFA Guide · Privileged Session Management Guide · Third-Party Access Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 24 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.