Continuous Identity Verification
Authentication at login is necessary but insufficient -- continuously evaluate identity
confidence using device trust, behavioral signals, and environmental context throughout
the session
When to Use
- Implementing zero trust architecture that requires continuous verification
- Designing device trust policies (MDM enrollment, OS version, encryption status)
- Building risk-adaptive authentication that adjusts challenge level based on context
- Replacing VPN-based network access with identity-aware access proxies
- Evaluating Google BeyondCorp or similar zero trust access models
- Adding session risk scoring to detect account takeover mid-session
Threat Context
Traditional authentication verifies identity once at login and trusts the session for its
entire lifetime. Session hijacking (stolen cookies, XSS-extracted tokens), credential
compromise discovered mid-session, and device compromise after login all exploit this
one-time-check model. Google's BeyondCorp (deployed internally after the 2009 Operation
Aurora attack by Chinese state hackers) eliminated the trusted network perimeter and
replaced it with continuous per-request identity and device verification. The 2022 Uber
breach demonstrated that initial authentication (even with MFA) is insufficient when
session tokens are subsequently stolen via social engineering -- the attacker MFA-bombed
an employee, obtained a session token, and accessed internal systems for hours before
detection. The 2023 MGM Resorts breach used social engineering to bypass MFA and then
operated freely within sessions that were never re-evaluated.
Instructions
Evaluate device trust posture before granting access. Collect device signals: OS
version (is it patched?), disk encryption status, screen lock enabled, MDM enrollment
status, firewall enabled, antivirus status. Define a minimum device posture profile for
each access level: accessing public docs requires basic posture; accessing production
systems requires fully managed, encrypted devices with current patches. Reject or
downgrade access for devices that do not meet the required posture.
Implement risk-based session scoring. Assign a risk score to each session based on
signals: IP geolocation change, impossible travel (login from New York and London within
30 minutes), new device, new browser, unusual time of day, high-velocity actions (100
API calls per minute from a normally low-volume user). When the risk score exceeds a
threshold, trigger step-up authentication (re-enter password, MFA challenge) or
terminate the session. Score continuously, not just at login.
Use identity-aware access proxies. Replace VPN with a reverse proxy that evaluates
identity, device posture, and access policy on every request. Google BeyondCorp,
Cloudflare Access, Zscaler Private Access, and Palo Alto Prisma Access implement this
model. The proxy intercepts every request, validates the user's identity (via session
token), checks device posture (via client certificate or agent attestation), and
evaluates the access policy before forwarding the request to the backend. No request
reaches the backend without passing all checks.
Implement device attestation. Use client certificates (issued by your CA, bound to
the device's TPM) or device attestation protocols (Apple DeviceCheck, Android
SafetyNet/Play Integrity, Windows Device Health Attestation) to cryptographically
verify that the device meets your posture requirements. Self-reported device attributes
are insufficient -- they can be spoofed by malware or a rooted device.
Define access tiers by sensitivity. Not all resources need the same level of
identity assurance. Tier 1 (public docs): authenticated user, any device. Tier 2
(internal tools): authenticated user, managed device, current patches. Tier 3
(production access, financial data): authenticated user, managed device, MFA within
last hour, device attestation, trusted network or VPN. Document these tiers and enforce
them consistently across all access paths.
Handle degradation gracefully. When device posture degrades mid-session (e.g., MDM
detects the device is rooted or a required certificate expires), the system should
reduce access level, not crash. Downgrade from Tier 3 to Tier 1 and notify the user
that additional verification is needed to regain full access. Never fail open -- if
posture cannot be determined, default to the lowest access tier.
Details
Google BeyondCorp Architecture
BeyondCorp has four components: device inventory (tracks all devices and their trust
level), access control engine (evaluates policies per request), access proxy (intercepts
all traffic), and single sign-on (authenticates users). Request flow: user sends request
to access proxy, proxy checks SSO for authentication, proxy queries device inventory for
device trust level, proxy evaluates access policy (user identity + device trust +
resource sensitivity), proxy forwards or denies the request. No VPN, no trusted network,
every request is individually authorized. Google published the BeyondCorp papers in
2014-2016, and the model has become the foundation of modern zero trust architecture.
Risk Signals Taxonomy
| Signal Category |
Signals |
Risk Weight |
| Authentication age |
Time since last MFA, token age |
High |
| Location |
IP geolocation change, impossible travel, VPN/Tor exit node |
High |
| Device |
New device, OS change, missing MDM, disabled encryption |
Medium-High |
| Behavioral |
Unusual API calls, unusual data volume, off-hours access |
Medium |
| Session |
Concurrent sessions from different locations, rapid IP changes |
Medium |
Combine signals into a composite risk score. Weight them based on your threat model.
A geolocation change alone might not warrant a challenge, but a geolocation change
combined with a new device and off-hours access should trigger immediate step-up
authentication.
FIDO2/WebAuthn for Continuous Authentication
WebAuthn can be used not just at login but for continuous re-authentication. Silent
authentication using a platform authenticator (Touch ID, Windows Hello, Android
biometric) provides a low-friction re-verification that confirms the user is still
physically present. This is stronger than session timeout-based re-authentication because
it proves physical presence, not just session liveness. Use silent WebAuthn challenges
before high-sensitivity operations (financial transactions, admin changes, data exports).
Session Risk Scoring Implementation
A practical session risk scoring system assigns numeric weights to each signal and
maintains a running composite score per session. Example: new device (+30), impossible
travel (+50), failed MFA attempt (+20), unusual time of day (+10), high API velocity
(+15), known Tor exit node IP (+40). Thresholds: below 25 is normal (no action), 25-50
triggers enhanced logging, 50-75 triggers step-up authentication, above 75 terminates
the session. Store the score in the session metadata and update it on every request.
Decay scores over time (reduce by 5 points per hour of normal activity) to avoid
permanent lockout from a single anomalous event.
Identity Proxy Comparison
| Solution |
Type |
Device Posture |
Best For |
| Cloudflare Access |
Cloud proxy |
Limited |
Simple setup, cloud-only |
| Teleport |
Open source |
Strong (mTLS) |
SSH, Kubernetes, database access |
| Boundary |
HashiCorp |
Via integrations |
Session-based access, credential brokering |
| Pomerium |
Open source |
mTLS-based |
Identity-aware proxy, self-hosted |
| Zscaler ZPA |
Commercial |
Full MDM |
Enterprise, complex compliance requirements |
Anti-Patterns
Authenticate once, trust forever. A session that is valid for 30 days without
re-verification gives an attacker 30 days to exploit a stolen session token. Implement
session risk scoring and periodic re-authentication, especially for sensitive
operations. Long session lifetimes are a gift to attackers.
Self-reported device posture. Trusting the client to report its own OS version,
encryption status, or MDM enrollment without cryptographic attestation. An attacker can
spoof any self-reported attribute. Require device attestation via TPM-bound certificates
or platform attestation APIs.
VPN as the zero trust solution. VPN authenticates at connection time and then
grants broad network access to the internal network. This is perimeter security, not
zero trust. A compromised device with a VPN connection has the same access as a trusted
device. Replace VPN with identity-aware proxies that evaluate policy per-request.
Binary access decisions. Either full access or no access, with no intermediate
states. This forces administrators to over-provision access to avoid blocking
legitimate users. Implement tiered access that degrades gracefully based on trust
level: high trust equals full access, medium trust equals read-only, low trust equals
blocked.
No visibility into device fleet. If you do not know how many devices access your
systems, their OS versions, or their security posture, you cannot enforce device trust
policies. Implement device inventory and posture collection as a prerequisite to
continuous verification. You cannot protect what you cannot see.
1---2name: security-identity-verification3description: Continuous Identity Verification4metadata:5 source: https://skillmd.com/skills/intense-visions/security-identity-verification6---7# Continuous Identity Verification89> Authentication at login is necessary but insufficient -- continuously evaluate identity10> confidence using device trust, behavioral signals, and environmental context throughout11> the session1213## When to Use1415- Implementing zero trust architecture that requires continuous verification16- Designing device trust policies (MDM enrollment, OS version, encryption status)17- Building risk-adaptive authentication that adjusts challenge level based on context18- Replacing VPN-based network access with identity-aware access proxies19- Evaluating Google BeyondCorp or similar zero trust access models20- Adding session risk scoring to detect account takeover mid-session2122## Threat Context2324Traditional authentication verifies identity once at login and trusts the session for its25entire lifetime. Session hijacking (stolen cookies, XSS-extracted tokens), credential26compromise discovered mid-session, and device compromise after login all exploit this27one-time-check model. Google's BeyondCorp (deployed internally after the 2009 Operation28Aurora attack by Chinese state hackers) eliminated the trusted network perimeter and29replaced it with continuous per-request identity and device verification. The 2022 Uber30breach demonstrated that initial authentication (even with MFA) is insufficient when31session tokens are subsequently stolen via social engineering -- the attacker MFA-bombed32an employee, obtained a session token, and accessed internal systems for hours before33detection. The 2023 MGM Resorts breach used social engineering to bypass MFA and then34operated freely within sessions that were never re-evaluated.3536## Instructions37381. **Evaluate device trust posture before granting access.** Collect device signals: OS39 version (is it patched?), disk encryption status, screen lock enabled, MDM enrollment40 status, firewall enabled, antivirus status. Define a minimum device posture profile for41 each access level: accessing public docs requires basic posture; accessing production42 systems requires fully managed, encrypted devices with current patches. Reject or43 downgrade access for devices that do not meet the required posture.44452. **Implement risk-based session scoring.** Assign a risk score to each session based on46 signals: IP geolocation change, impossible travel (login from New York and London within47 30 minutes), new device, new browser, unusual time of day, high-velocity actions (10048 API calls per minute from a normally low-volume user). When the risk score exceeds a49 threshold, trigger step-up authentication (re-enter password, MFA challenge) or50 terminate the session. Score continuously, not just at login.51523. **Use identity-aware access proxies.** Replace VPN with a reverse proxy that evaluates53 identity, device posture, and access policy on every request. Google BeyondCorp,54 Cloudflare Access, Zscaler Private Access, and Palo Alto Prisma Access implement this55 model. The proxy intercepts every request, validates the user's identity (via session56 token), checks device posture (via client certificate or agent attestation), and57 evaluates the access policy before forwarding the request to the backend. No request58 reaches the backend without passing all checks.59604. **Implement device attestation.** Use client certificates (issued by your CA, bound to61 the device's TPM) or device attestation protocols (Apple DeviceCheck, Android62 SafetyNet/Play Integrity, Windows Device Health Attestation) to cryptographically63 verify that the device meets your posture requirements. Self-reported device attributes64 are insufficient -- they can be spoofed by malware or a rooted device.65665. **Define access tiers by sensitivity.** Not all resources need the same level of67 identity assurance. Tier 1 (public docs): authenticated user, any device. Tier 268 (internal tools): authenticated user, managed device, current patches. Tier 369 (production access, financial data): authenticated user, managed device, MFA within70 last hour, device attestation, trusted network or VPN. Document these tiers and enforce71 them consistently across all access paths.72736. **Handle degradation gracefully.** When device posture degrades mid-session (e.g., MDM74 detects the device is rooted or a required certificate expires), the system should75 reduce access level, not crash. Downgrade from Tier 3 to Tier 1 and notify the user76 that additional verification is needed to regain full access. Never fail open -- if77 posture cannot be determined, default to the lowest access tier.7879## Details8081### Google BeyondCorp Architecture8283BeyondCorp has four components: device inventory (tracks all devices and their trust84level), access control engine (evaluates policies per request), access proxy (intercepts85all traffic), and single sign-on (authenticates users). Request flow: user sends request86to access proxy, proxy checks SSO for authentication, proxy queries device inventory for87device trust level, proxy evaluates access policy (user identity + device trust +88resource sensitivity), proxy forwards or denies the request. No VPN, no trusted network,89every request is individually authorized. Google published the BeyondCorp papers in902014-2016, and the model has become the foundation of modern zero trust architecture.9192### Risk Signals Taxonomy9394| Signal Category | Signals | Risk Weight |95| ------------------ | -------------------------------------------------------------- | ----------- |96| Authentication age | Time since last MFA, token age | High |97| Location | IP geolocation change, impossible travel, VPN/Tor exit node | High |98| Device | New device, OS change, missing MDM, disabled encryption | Medium-High |99| Behavioral | Unusual API calls, unusual data volume, off-hours access | Medium |100| Session | Concurrent sessions from different locations, rapid IP changes | Medium |101102Combine signals into a composite risk score. Weight them based on your threat model.103A geolocation change alone might not warrant a challenge, but a geolocation change104combined with a new device and off-hours access should trigger immediate step-up105authentication.106107### FIDO2/WebAuthn for Continuous Authentication108109WebAuthn can be used not just at login but for continuous re-authentication. Silent110authentication using a platform authenticator (Touch ID, Windows Hello, Android111biometric) provides a low-friction re-verification that confirms the user is still112physically present. This is stronger than session timeout-based re-authentication because113it proves physical presence, not just session liveness. Use silent WebAuthn challenges114before high-sensitivity operations (financial transactions, admin changes, data exports).115116### Session Risk Scoring Implementation117118A practical session risk scoring system assigns numeric weights to each signal and119maintains a running composite score per session. Example: new device (+30), impossible120travel (+50), failed MFA attempt (+20), unusual time of day (+10), high API velocity121(+15), known Tor exit node IP (+40). Thresholds: below 25 is normal (no action), 25-50122triggers enhanced logging, 50-75 triggers step-up authentication, above 75 terminates123the session. Store the score in the session metadata and update it on every request.124Decay scores over time (reduce by 5 points per hour of normal activity) to avoid125permanent lockout from a single anomalous event.126127### Identity Proxy Comparison128129| Solution | Type | Device Posture | Best For |130| ----------------- | ----------- | ---------------- | ------------------------------------------- |131| Cloudflare Access | Cloud proxy | Limited | Simple setup, cloud-only |132| Teleport | Open source | Strong (mTLS) | SSH, Kubernetes, database access |133| Boundary | HashiCorp | Via integrations | Session-based access, credential brokering |134| Pomerium | Open source | mTLS-based | Identity-aware proxy, self-hosted |135| Zscaler ZPA | Commercial | Full MDM | Enterprise, complex compliance requirements |136137## Anti-Patterns1381391. **Authenticate once, trust forever.** A session that is valid for 30 days without140 re-verification gives an attacker 30 days to exploit a stolen session token. Implement141 session risk scoring and periodic re-authentication, especially for sensitive142 operations. Long session lifetimes are a gift to attackers.1431442. **Self-reported device posture.** Trusting the client to report its own OS version,145 encryption status, or MDM enrollment without cryptographic attestation. An attacker can146 spoof any self-reported attribute. Require device attestation via TPM-bound certificates147 or platform attestation APIs.1481493. **VPN as the zero trust solution.** VPN authenticates at connection time and then150 grants broad network access to the internal network. This is perimeter security, not151 zero trust. A compromised device with a VPN connection has the same access as a trusted152 device. Replace VPN with identity-aware proxies that evaluate policy per-request.1531544. **Binary access decisions.** Either full access or no access, with no intermediate155 states. This forces administrators to over-provision access to avoid blocking156 legitimate users. Implement tiered access that degrades gracefully based on trust157 level: high trust equals full access, medium trust equals read-only, low trust equals158 blocked.1591605. **No visibility into device fleet.** If you do not know how many devices access your161 systems, their OS versions, or their security posture, you cannot enforce device trust162 policies. Implement device inventory and posture collection as a prerequisite to163 continuous verification. You cannot protect what you cannot see.