Study guide

8.1 User-ID Architecture, Agentless/Agent Deployment, and Cloud Identity Engine (CIE)

Palo Alto Networks Certified Next-Generation Firewall Engineer Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Device Deployment & Architecture

1.1 Platform Selection & Sizing: Hardware, VM-Series, and Cloud NGFW Form Factors 1.2 Base PAN-OS 11.x System Settings, Management Interfaces, and Service Routes 1.3 Interface Types, Zone Topologies, and Virtual Wire Configurations 1.4 Site-to-Site VPN Tunnels: IPSec, GRE, and Quantum-Resistant Cryptography

2 Chapter 2: Routing, VRFs, and Virtual Routers

2.1 Virtual Routers and VRF Architecture in PAN-OS 11.x 2.2 Static Routing, BGP, and OSPF Configuration & Failover 2.3 Policy-Based Forwarding (PBF) and Path Monitoring

3 Chapter 3: NAT and High Availability Designs

3.1 Source, Destination, and Twice-NAT Policy Configurations 3.2 High Availability Active/Passive Architecture and State Synchronization 3.3 High Availability Active/Active Architecture and HA Clustering

4 Chapter 4: Panorama Management & Policy Hierarchy

4.1 Panorama Architecture: Collector Groups, Log Collectors, and Device Registration 4.2 Templates and Template Stacks Configuration 4.3 Device Groups, Shared Rulestacks, and Policy Hierarchy

5 Chapter 5: Strata Cloud Manager and AIOps

5.1 Strata Cloud Manager (SCM) Architecture and Cloud-Delivered Management 5.2 SCM Rulestacks, Folder Hierarchies, and Unified Policy Management 5.3 AIOps for NGFW: Telemetry, Proactive Best-Practice Audits, and Operational Insights

6 Chapter 6: Security Profiles and Content Inspection

6.1 Antivirus, Anti-Spyware, and DNS Security Profiles 6.2 Vulnerability Protection, Custom Signatures, and Threat Exceptions 6.3 URL Filtering, Advanced WildFire Analysis, and Inline Deep Learning

7 Chapter 7: Decryption Inspection & Policy

7.1 SSL Forward Proxy Architecture and Internal Certificate Authority Trust 7.2 SSL Inbound Inspection for Internal Web Servers 7.3 Decryption Exclusions, HSM Integration, and Troubleshooting Decryption Failures

8 Chapter 8: User Identity and GlobalProtect Remote Access

8.1 User-ID Architecture, Agentless/Agent Deployment, and Cloud Identity Engine (CIE) 8.2 GlobalProtect Portals, Gateways, and Authentication Methods (SAML, MFA) 8.3 Host Information Profile (HIP) Checks and Endpoint Security Enforcement

9 Chapter 9: Cloud NGFW, Automation, and API Integration

9.1 Cloud NGFW for AWS and Azure Architectures (GWLB and VWAN) 9.2 XML and REST API Automation with Palo Alto Networks Firewalls 9.3 Infrastructure as Code: Terraform and Ansible Automation for PAN-OS 9.4 CN-Series, AI Runtime Security, and Edge Deployment Options

10 Chapter 10: Virtual Systems, Logging, and Operational Monitoring

10.1 Virtual Systems (VSYS), Logical Routers, and Inter-VSYS Routing 10.2 Logging Architecture: Strata Logging Service, Log Forwarding, and Collectors 10.3 Application Command Center (ACC), Dashboards, and Custom Reporting 10.4 Explicit and Transparent Web Proxy on PAN-OS

8.1 User-ID Architecture, Agentless/Agent Deployment, and Cloud Identity Engine (CIE)

Key Takeaways Explain This Topic AI

User-ID integrates IP-to-User mappings from Active Directory logs, Syslog, Exchange, TS Agent, and XML API to enable identity-based security policies.

The Terminal Services (TS) Agent maps individual users sharing a single IP address in multi-user RDS/Citrix environments by allocating unique source port ranges.

Agentless User-ID polls domain controllers directly via WinRM/WMI from the firewall management plane, whereas the Windows User-ID Agent offloads polling overhead and scales up to hundreds of domain controllers.

Cloud Identity Engine (CIE) synchronizes identity attributes and group hierarchies directly from cloud IdPs like Entra ID, Okta, and Google Workspace via SCIM 2.0 and Graph API without local LDAP or WAN tunnels.

PAN-OS enforces User-ID resolution through a prioritized mapping table with default 45-minute mapping timeouts and dynamic group synchronization.

Last updated: July 2026

8.1 User-ID Architecture, Agentless/Agent Deployment, and Cloud Identity Engine (CIE)

Quick Answer: Palo Alto Networks User-ID technology transforms network security by binding IP addresses to corporate user identities and directory groups. Instead of constructing security policies around static IP addresses, PAN-OS parses authentication telemetry from Active Directory domain controllers, Syslog messages, Exchange servers, Terminal Services agents, and API calls. For cloud-first organizations, the Cloud Identity Engine (CIE) synchronizes cloud identity providers (Microsoft Entra ID, Okta, Google Workspace) via SCIM 2.0 and Graph API, delivering cloud-native group membership and identity mapping without requiring local LDAP infrastructure or complex WAN tunnels.

Traditional IP-based firewall policies are fundamentally flawed in modern enterprise networks dominated by Dynamic Host Configuration Protocol (DHCP), mobility, Virtual Desktop Infrastructure (VDI), and cloud identity providers. An IP address represents a network interface, not an authenticated person or device. User-ID is a core Palo Alto Networks PAN-OS feature that continuously maps IP addresses to user identities ( domain\username ) and directory group memberships ( domain\user_group ), allowing security engineers to author granular security policies based on corporate roles rather than ephemeral network addresses.

User-ID Mapping Sources and Protocols

PAN-OS leverages multiple identity telemetry sources to populate its internal User-to-IP mapping table . Depending on enterprise architecture, network engineers can deploy one or a combination of the following mapping mechanisms:

Active Directory Domain Controller Security Event Logs

The primary identity source in traditional Microsoft environments is Active Directory (AD). When a user logs into a domain-joined workstation, the Domain Controller (DC) records Windows Security Event Logs. User-ID monitors these specific event IDs:

Event ID 4624 (Successful Logon): Generated when a user successfully logs on to a computer. Provides the explicit IP address, domain name, and username.

Event ID 4768 (Kerberos TGT Request): Generated when a Kerberos Authentication Service (AS) ticket (Ticket-Granting Ticket) is requested.

Event ID 4769 (Kerberos Service Ticket Request): Generated when a user requests a ticket to access a specific network service.

Event ID 4672 (Special Privileges Assigned): Captures administrative logons.

Syslog Listeners

For non-Windows devices, guest networks, Network Access Control (NAC) environments, and wireless networks, PAN-OS can act as a Syslog listener . Third-party systems—such as Cisco ISE, Aruba ClearPass, wireless LAN controllers (WLCs), VPN concentrators, and web proxy servers—send Syslog messages containing authentication events to the firewall. PAN-OS utilizes regular expression (regex) profiles to extract the IP address and username from incoming Syslog payloads and insert them into the User-ID database.

Microsoft Exchange Server Monitoring

In environments where mobile devices or unmanaged endpoints access email via Microsoft Exchange, User-ID monitors Exchange Server event logs (such as ActiveSync logon events). When an iPhone or Android device connects to Exchange to fetch email, User-ID extracts the client IP address and authenticated user credentials, establishing a User-to-IP mapping for the mobile endpoint without requiring a domain logon script or local agent.

Terminal Services (TS) Agent

In multi-user environments—such as Microsoft Remote Desktop Services (RDS), Citrix XenApp, or Terminal Services—dozens or hundreds of distinct users share a single IP address . Standard IP-to-User mapping cannot differentiate between individual user sessions originating from the same host IP.

The Palo Alto Networks Terminal Services (TS) Agent solves this by installing directly on the terminal server operating system. The TS Agent intercepts outbound TCP/UDP traffic and allocates dedicated source port ranges (e.g., ports 20000–20199 for User A, ports 20200–20399 for User B) to each logged-in user session. The TS Agent notifies the firewall of these port allocations via an encrypted control connection. When traffic hits the firewall, PAN-OS inspects both the source IP and source port range to accurately identify the specific user, enabling per-user policy enforcement on shared VDI platforms.

XML API

The PAN-OS RESTful XML API enables custom identity integration. External systems—such as custom captive portals, third-party Identity-as-a-Service (IDaaS) platforms, or custom NAC solutions—can send HTTP POST requests directly to the firewall's XML API endpoint ( /api/?type=user-id&action=set ) to register or unregister IP-to-User mappings programmatically in real time.

Agentless User-ID vs. Standalone Windows User-ID Agent

Deploying User-ID in an Active Directory environment requires choosing between Agentless User-ID and the Standalone Windows User-ID Agent . Both mechanisms collect DC event logs and perform client probing, but their architecture and scaling profiles differ significantly.

Feature / Architecture Agentless User-ID Standalone Windows User-ID Agent

Software Installation None (Built directly into PAN-OS firmware) Standalone Windows Service installed on a dedicated domain member server

Data Collection Method Firewall Management Plane queries DCs directly via WinRM or WMI Windows Service polls local/remote DCs via WinRM, WMI, or Event Log API

Firewall Resource Impact Consumes Management Plane (MP) CPU and RAM on the firewall Zero firewall CPU overhead for DC polling; agent processes logs externally

Scale & Capacity Capped per firewall model (e.g., 100 DCs on enterprise platforms, fewer on branch hardware) Scales up to 100+ DCs per agent; redistributes mappings to hundreds of firewalls

Client Probing Capability Limited WMI/NetBIOS probing directly from firewall MP Robust WMI and NetBIOS probing directly from the Windows server network

Transport Encryption WinRM over HTTPS or WMI over RPC/SMB from firewall to DC Encrypted SSL/TLS connection from User-ID Agent to PAN-OS firewalls

Architectural Recommendations

Agentless Deployment: Ideal for small-to-medium deployments with fewer than 10–20 Domain Controllers and low logon velocity. It simplifies operations by eliminating dedicated Windows server management.

Windows User-ID Agent Deployment: Mandatory for large enterprises with dozens of Domain Controllers, high logon rates, or multi-firewall environments. Installing the User-ID Agent on a dedicated Windows Server offloads WMI/WinRM processing overhead from the firewall's Management Plane and allows a single agent to collect mappings once and push them to multiple firewalls across the enterprise.

Cloud Identity Engine (CIE)

As enterprise workloads migrate to cloud-native identity architectures, traditional On-Premises Active Directory and LDAP polling face severe limitations. Cloud-first organizations using Microsoft Entra ID (Azure AD) , Okta , or Google Workspace lack local domain controllers for WMI log scraping and cannot expose LDAP servers over public networks safely.

The Cloud Identity Engine (CIE) is a Palo Alto Networks cloud-native service that acts as a secure identity broker between cloud identity providers (IdPs) and Palo Alto Networks security infrastructure (PAN-OS firewalls, Prisma Access, and Strata Cloud Manager).

Key CIE Features and Mechanism

Cloud-Native Directory Synchronization: CIE connects directly to cloud IdPs using SCIM 2.0 (System for Cross-domain Identity Management) , OAuth 2.0, and Microsoft Graph API. It continuously synchronizes users, groups, and directory attributes in real time without requiring inbound firewall rules or local directory agents.

Zero On-Premises Infrastructure: Eliminates the need to maintain domain-joined User-ID Agents, LDAP proxy servers, or site-to-site IPsec tunnels purely for identity synchronization.

Unified Identity Source: Consolidates multiple identity providers (e.g., an enterprise using Entra ID for corporate staff and Okta for contractors) into a single, standardized identity source accessible by all firewalls across the global fleet.

SAML 2.0 Authentication Integration: CIE streamlines authentication profiles for GlobalProtect and Captive Portal by managing SAML IdP metadata, certificate rotation, and single sign-on (SSO) redirect workflows central in the cloud.

  • User-to-IP Mapping Table Operations and Security Policy Enforcement
  • Mapping Table Lifecycle and Priority

PAN-OS maintains a unified User-to-IP mapping table in memory. When multiple identity sources report mapping data for the same IP address, PAN-OS resolves conflicts using a strict mapping source priority :

  • Terminal Services (TS) Agent (Highest priority, matching IP + source port range)
  • XML API / Captive Portal (Explicit user authentication/registration)
  • GlobalProtect Client Authentication (Direct remote access tunnel logon)
  • User-ID Agent / Agentless AD DC Logs (Domain logon events)
  • Syslog Listener / Client Probing (Secondary passive telemetry)

Each mapping entry carries a configurable timeout (default initial timeout is 45 minutes ). When a user logs in, the mapping timer starts. Subsequent identity events or active client probing (WMI/NetBIOS) refresh the timer. If no renewal occurs before the timeout expires, PAN-OS purges the mapping entry to prevent unauthorized access if an IP is reassigned via DHCP.

Security Policy Enforcement

Once User-ID populates the mapping table, security engineers construct Security Policy rules utilizing identity objects:

User Objects: Rules targeting specific users ( corp\\j.doe ).

Group Objects: Rules targeting Active Directory or CIE groups ( corp\\finance-dept , corp\\domain-admins ). Group membership is resolved periodically via LDAP or CIE group queries.

Dynamic User Groups (DUG): Advanced policy objects that dynamically aggregate users based on automated tags (e.g., tagging a user as high-risk-user via Cortex XSOAR or API when malicious activity is detected). Security policies referencing the DUG automatically enforce restricted access without committing configuration changes.