New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Implementing Identity Verification for Zero Trust

Free

Enhance security with risk-adaptive identity verification.

Get this skill

Free · Opens the source repo

What Implementing Identity Verification for Zero Trust does

This skill provides a framework for implementing continuous and risk-adaptive identity verification as part of a zero trust architecture. It is designed for developers and security professionals who are tasked with establishing robust identity controls in their organizations. The skill focuses on integrating phishing-resistant multi-factor authentication (MFA) methods, specifically FIDO2/WebAuthn, and aligns with industry standards such as NIST SP 800-207 and the CISA Zero Trust Maturity Model Identity Pillar.

The skill guides users through the process of deploying identity verification mechanisms that assess multiple risk factors, including device posture, user behavior, and contextual elements like location. By leveraging these signals, it allows organizations to dynamically adjust access controls and authentication requirements based on the assessed risk level. This approach not only strengthens security but also enhances user experience by minimizing friction during the authentication process when risk is low.

In addition to MFA implementation, the skill covers the establishment of risk-based conditional access policies, which are essential for adapting security measures to the ever-evolving threat landscape. Users will learn how to configure these policies to ensure that only compliant devices and users are granted access to sensitive resources, thereby reducing the attack surface. The skill also emphasizes the importance of identity governance, including lifecycle management and access reviews, to maintain a secure identity infrastructure.

Overall, this skill is a valuable resource for those looking to enhance their organization's security posture through effective identity verification strategies in a zero trust environment.

When to use it

Use this skill when deploying identity verification mechanisms or improving security architecture aligned with zero trust principles.

When not to use it

This skill may not be suitable for environments that do not require advanced identity verification or where zero trust principles are not applicable.

What you can build with it

Deploying MFA in a Corporate Environment

Use this skill to implement phishing-resistant MFA across your organization, ensuring that all users are authenticated using secure methods.

Establishing Conditional Access Policies

Utilize this skill to create and configure conditional access policies that adapt based on user risk levels and device compliance.

Conducting Security Assessments

Employ this skill during security assessments to evaluate and enhance your identity verification processes in alignment with zero trust principles.

How to install Implementing Identity Verification for Zero Trust

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/implementing-identity-verification-for-zero-trust --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

Implementing Identity Verification for Zero Trust

Prerequisites

  • Understanding of zero trust principles (NIST SP 800-207)
  • Familiarity with identity providers (Azure AD, Okta, Ping Identity)
  • Knowledge of authentication protocols (SAML 2.0, OIDC, FIDO2)
  • Understanding of MFA and passwordless authentication

Overview

Identity is the foundational pillar of zero trust architecture. NIST SP 800-207 mandates that all resource authentication and authorization are dynamic and strictly enforced before access is allowed. Identity verification in zero trust goes beyond traditional username/password by implementing continuous, risk-adaptive authentication using multiple signals including device posture, behavioral biometrics, location, and network context.

This skill covers implementing phishing-resistant MFA, continuous identity verification, risk-based conditional access, and identity governance aligned with the CISA Zero Trust Maturity Model Identity Pillar.

When to Use

  • When deploying or configuring implementing identity verification for zero trust capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Familiarity with zero trust architecture concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Architecture

Identity Verification Flow

User Access Request
    │
    v
┌───────────────────────┐
│ Primary Authentication │
│ - FIDO2/WebAuthn key  │
│ - Certificate-based    │
│ - Passwordless         │
└──────────┬────────────┘
           v
┌───────────────────────┐
│ Contextual Assessment  │
│ - Device posture       │
│ - Network location     │
│ - Geo-velocity check   │
│ - Time of access       │
│ - Behavioral baseline  │
└──────────┬────────────┘
           v
┌───────────────────────┐
│ Risk Scoring Engine    │
│ - Aggregate signals    │
│ - Calculate risk score │
│ - Compare to threshold │
└───┬──────────┬────────┘
    │          │
 Low Risk   High Risk
    │          │
    v          v
┌────────┐  ┌──────────────┐
│ Grant  │  │ Step-up Auth  │
│ Access │  │ - Hardware key│
│        │  │ - Biometric   │
│        │  │ - Manager OK  │
└────────┘  └──────────────┘

Identity Provider Architecture

  1. Primary IdP: Azure AD / Okta / Ping Identity for centralized identity management
  2. FIDO2 Authenticators: Hardware security keys (YubiKey) or platform authenticators (Windows Hello, Touch ID)
  3. Risk Engine: Adaptive access using identity threat detection (Microsoft Entra ID Protection, Okta ThreatInsight)
  4. Identity Governance: Lifecycle management, access reviews, just-in-time provisioning
  5. Privileged Identity: Separate verification for elevated access (CyberArk, BeyondTrust)

Key Concepts

Phishing-Resistant MFA

FIDO2/WebAuthn eliminates phishable credentials by binding authentication to the origin domain. Hardware security keys and platform authenticators provide cryptographic proof of identity without transmitting secrets.

Continuous Identity Verification

Rather than authenticating once at session start, zero trust requires ongoing verification through session token evaluation, behavioral analytics, and periodic re-authentication challenges based on risk signals.

Risk-Based Conditional Access

Conditional access policies evaluate multiple signals (user risk level, sign-in risk, device compliance, location) to dynamically adjust authentication requirements and access grants.

Identity Threat Detection

AI-driven analytics detect compromised identities through impossible travel detection, anomalous sign-in patterns, credential stuffing detection, and token replay attacks.

Workflow

Phase 1: Identity Infrastructure

  1. Consolidate Identity Providers

    • Audit all identity sources across the organization
    • Federate to a single authoritative IdP using SAML 2.0 or OIDC
    • Configure SCIM for automated provisioning and deprovisioning
    • Eliminate local accounts and shared credentials
  2. Deploy Phishing-Resistant MFA

    • Enroll all users in FIDO2/WebAuthn with hardware security keys
    • Configure platform authenticators (Windows Hello for Business, macOS Touch ID)
    • Disable SMS and voice call as MFA methods (phishable)
    • Create conditional access policy requiring phishing-resistant methods for all sign-ins
  3. Configure Conditional Access Policies

    • Require compliant device for access to sensitive applications
    • Block legacy authentication protocols (basic auth, IMAP, POP3)
    • Require MFA for all users from untrusted locations
    • Enforce session time limits with re-authentication
    • Block or require additional verification for high-risk sign-ins

Phase 2: Risk-Based Authentication

  1. Enable Identity Threat Detection

    • Activate Microsoft Entra ID Protection or Okta ThreatInsight
    • Configure risk levels: low (allow), medium (require MFA), high (block and investigate)
    • Enable impossible travel detection and anomalous token alerts
    • Integrate identity risk signals with SIEM/SOAR
  2. Implement Step-Up Authentication

    • For sensitive operations (privilege elevation, financial transactions), require additional verification
    • Configure step-up policies: re-authenticate with hardware key
    • Integrate with PAM for privileged session approval workflows
    • Log all step-up events for audit trail

Phase 3: Continuous Verification

  1. Deploy Continuous Access Evaluation (CAE)

    • Enable Continuous Access Evaluation Protocol (CAEP) for real-time token revocation
    • Configure critical event triggers: user disabled, password changed, location change
    • Test that token revocation occurs within minutes (not hours) of security event
    • Monitor CAE event logs for operational health
  2. Implement Session Controls

    • Configure session duration limits based on application sensitivity
    • Enable sign-in frequency controls (re-authenticate every N hours)
    • Implement persistent browser session controls
    • Configure app-enforced restrictions for unmanaged devices

Phase 4: Identity Governance

  1. Automate Identity Lifecycle

    • Configure joiner-mover-leaver workflows with HR system integration
    • Automate access provisioning based on role and department
    • Enable just-in-time access for temporary elevated permissions
    • Configure automatic access expiration for contractors and guests
  2. Implement Access Reviews

    • Schedule quarterly access certification campaigns
    • Configure automated reminders and escalation
    • Require manager approval for continued access
    • Auto-revoke access for unreviewed certifications

Validation Checklist

  • Single authoritative IdP with all applications federated
  • FIDO2/WebAuthn enrolled for all users
  • SMS and voice MFA methods disabled
  • Legacy authentication protocols blocked
  • Conditional access policies enforced for all applications
  • Identity threat detection active with risk-based policies
  • Continuous Access Evaluation enabled and tested
  • Step-up authentication configured for sensitive operations
  • Identity lifecycle automated with HR integration
  • Quarterly access reviews scheduled and operational
  • Identity events streaming to SIEM

References

  • NIST SP 800-207: Zero Trust Architecture
  • NIST SP 800-63B: Digital Identity Guidelines - Authentication
  • CISA Zero Trust Maturity Model v2.0 - Identity Pillar
  • FIDO Alliance WebAuthn Specification
  • Microsoft Entra Conditional Access Documentation

Frequently asked questions about Implementing Identity Verification for Zero Trust

Similar skills