Join our Newsletter — 33% off our NHI Course
Home› Guides› Palo Alto Cortex XDR Configuration Guide: Agent Profiles,…
Guide Endpoint Security

Palo Alto Cortex XDR Configuration Guide: Agent Profiles, Exploit Protection and API Key Governance

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 19 November 2026 14 min read
On this page

A Cortex XDR deployment is only as strong as its endpoint profiles, the policy rules that assign them and the API keys that let other systems drive the console, so configuration is a security control in its own right. This guide walks through the Cortex XDR settings that most affect protection and resilience: agent settings profiles, tampering protection and the uninstall password, exploit prevention modules, content and agent upgrade controls, and the governance of API keys used by SOAR platforms, SIEM connectors and scripts.

It focuses on the Cortex XDR agent and console. For the wider Cortex XSIAM platform, including its admin roles and integrations, see the Palo Alto Networks Cortex XSIAM guide. Setting names on this page follow the Cortex XDR 5.x documentation; earlier releases use slightly different navigation.

This is an independent guide from NHI Mgmt Group, based on Palo Alto Networks' public documentation as of November 2026. It is not sponsored or reviewed by Palo Alto Networks. Product features change, so confirm settings against Palo Alto Networks' current documentation.

Key takeaways

  • Profiles do nothing until a policy rule assigns them. Every exploit, malware, restrictions and agent settings profile reaches endpoints through a policy rule, so rule order and scope deserve the same review as the profiles themselves.
  • Tampering protection needs two profiles to agree. The documentation states that agent settings tampering protection depends on the malware profile's tampering setting being Block, with both profiles assigned to the same endpoints.
  • Treat the uninstall password as a privileged secret. It is also the supervisor password used against Cytool tampering. Store it in a vault, scope who can retrieve it and rotate it after use.
  • Run exploit modules in Block, not Report. Report logs exploit attempts without stopping them. Use it briefly for testing, then promote to Block.
  • Every API key is a non-human identity with console power. Choose the Advanced security level, assign the narrowest role, set an expiration date and use scope-based access control where your licence and design allow it.
  • Control change velocity. Content staging, delayed rollout and scoped agent auto-upgrade let you catch a bad update on a test group before it reaches every endpoint.

How profiles and policy rules fit together

Cortex XDR separates what protection does from where it applies. Profiles hold settings: exploit prevention, malware prevention, restrictions, exceptions and agent settings. Policy rules decide which endpoints receive which profiles. The exploit prevention page states plainly that profiles are applied by adding them to a policy rule, with endpoints selected when the rule is created or edited.

That design has three security consequences.

  • Rule order is policy. An endpoint matched by a broad, permissive rule may never receive the strict profile you intended. Document the evaluation order and review it whenever rules are added.
  • Profile sprawl hides weak settings. Profile names are limited to 30 characters of letters, numbers and spaces, and imported profiles are added as new profiles rather than replacing existing ones. Without a naming convention and regular clean-up, old test profiles linger and can be attached by mistake.
  • Exceptions travel with profiles and rules. An exception scoped too widely is the easiest way to switch protection off without anyone noticing. The EDR Tuning and Exclusions Management Guide covers how to approve, document and expire exceptions.

A practical structure is a small number of profile tiers (for example servers, standard workstations, privileged workstations and a test ring), each with its own exploit, malware, restrictions and agent settings profile, assigned by rules keyed on endpoint groups that are themselves maintained from an authoritative inventory. The test ring matters most: it is where you try every profile change before it goes wide.

Agent settings profiles: tampering, uninstall password and user interface

The agent settings profile controls how the agent protects itself and how it behaves on the endpoint. These are the settings that most affect resilience against an attacker trying to blind the agent.

XDR Agent Tampering Protection

XDR Agent Tampering Protection can be Enabled or Disabled. On Windows it has sub-settings for Service, Process, Pipe, File and Registry Protection; on Linux it has Termination, Debugging, Memory, Resource, File Write and File Read Protection. The documentation states that the malware profile's tampering protection must be set to Block and that both profiles must be assigned to the same endpoints for this to work.

Recommended baseline:

  • Enable tampering protection and every platform sub-setting in production profiles.
  • Check that each policy rule pairs the agent settings profile with a malware profile whose tampering setting is Block. A mismatch here quietly weakens protection.
  • Alert on any change to these settings in the console audit trail, and route such changes through change control.

Attackers who reach administrative rights often try to stop or unload security tooling, including with vulnerable drivers. The Bring Your Own Vulnerable Driver and EDR Killers Guide explains that threat, and the EDR Tampering and BYOVD Response Playbook covers what to do when it happens.

Uninstall Password

The Uninstall Password, which the documentation also calls the supervisor password, is used to protect the agent from removal and against Cytool tampering. Length rules are 15 to 32 characters on Windows and Linux and 8 to 32 on macOS, with lower case, upper case, number and special characters required.

  • Use the maximum length the platform allows and generate the value rather than choosing it.
  • Store it in your enterprise secrets vault with access logged, not in a ticketing system or shared document.
  • Use different values per profile tier, so disclosure for a single workstation case does not unlock servers.
  • Rotate it after any support case or incident where it was shared, and after staff with access leave.

User interface and notifications

The Tray Icon can be Visible or Hidden, and XDR Agent Console Access and XDR Agent User Notifications can each be Enabled or Disabled. On servers and kiosks, hide the tray icon and disable console access. On user workstations, keep notifications on so people report blocked events, but write the notification footer text to point to your service desk.

Windows Security Center integration

Windows Security Integration offers Enabled, Enabled No Patches and Disabled, with a separate option to report agent out of date status to Windows Security Center. Choose deliberately and record the choice: the value affects how the operating system reports protection state and what other tooling sees.

Exploit prevention profiles

Exploit prevention profiles stop attackers abusing vulnerabilities in applications and the operating system. Each module offers Block, Report or Disabled. Palo Alto Networks documents that Report logs exploit attempts to Cortex XDR without blocking them, while Disabled neither analyses nor reports.

Module (as named in the documentation)PlatformsNotes
Browser Exploits ProtectionWindows, macOSAction Mode: Block, Report, Disabled
Logical Exploits ProtectionWindows, macOSOn Windows includes Block List DLLs, process and DLL pairs enforced by the DLL Hijacking module
Known Vulnerable Processes ProtectionWindows, macOS, LinuxOn Windows includes Java Deserialization Protection, which inherits this module's action mode
Operating System Exploit ProtectionWindows, macOS, LinuxAction Mode: Block, Report, Disabled
Exploit Protection for Additional ProcessesWindows, macOS, LinuxTakes a Processes list of third party process file names
Unpatched Vulnerabilities ProtectionWindowsTemporary workaround for CVE-2021-24074, CVE-2021-24086 and CVE-2021-24094 via Modify IPv4 and IPv6 Settings
Kernel Privilege Escalation ProtectionmacOS (agent 9.2 and later)Documentation recommends Block; Report or Disabled may flag the profile as Risky

Linux profiles have separate Standard and Cloud Optimized tabs, each configured independently with the same modules. Make sure both are set; it is easy to harden one and leave the other at a weaker value.

Recommended approach

  1. Start every production profile at Block for all modules, then document any module you deliberately relax, with a reason, an owner and a review date.
  2. Use Report only in the test ring and only for a set period. Report mode gives visibility without protection, so a profile left in Report for months is effectively unprotected.
  3. Add line-of-business applications to Exploit Protection for Additional Processes, particularly internet-facing or document-handling software.
  4. Plan restarts. The documentation notes that changing action modes for processes requires restarting protected processes for Brute Force Protection, Java Deserialization, ROP and SO Hijacking to take effect. Schedule changes with a reboot or service restart window.
  5. Treat the unpatched vulnerabilities workaround as temporary. The documentation says it can take up to 6 hours to enforce and requires agent 7.1 or later; it does not replace patching. Track the affected hosts in your vulnerability programme.

Content updates, agent upgrades and change control

Security content and agent versions change what the agent does on every endpoint. The agent settings profile gives you levers to control that change.

  • Content Auto-update, Content Staging and Content Rollout. Content can be updated automatically, staged, and rolled out Immediately or Delayed. The documentation lists Content Staging as disabled by default and notes differing auto-update defaults by platform, so check each profile rather than assuming.
  • Agent Auto-Upgrade. Disabled by default. When enabled, Automatic Upgrade Scope can be the latest release, one release before the latest, only maintenance releases, or only maintenance releases in a specific version. Upgrade Rollout can be Immediate or Delayed by 7 to 45 days, with scheduling by hours and days.
  • Download Source. P2P (default port 33221, UDP and TCP), Broker VM, and the Cortex Server, which is always enabled.

A sensible pattern is: the test ring receives content and agent upgrades immediately; standard workstations follow with a short delay; servers and critical systems receive one release behind the latest, delayed, inside a maintenance window. This balances speed of protection against the operational risk of a faulty update reaching everything at once, which is covered in the EDR and XDR platform health check.

Network, certificates and data collection settings

  • Agent Certificates: Certificate Enforcement can be Enabled, Disabled or Disabled (Notify). Enable it wherever your network path allows, because it protects agent to server communication from interception. If TLS inspection breaks it, exempt the Cortex destinations from inspection rather than disabling enforcement.
  • Agent Proxy Settings: Direct Server Access controls whether the agent may bypass a configured proxy. Decide consciously and align with your egress design.
  • Network Location Configuration uses an internal DNS name and IP address test to tell whether an endpoint is on the corporate network. It is a dependency for features such as Distributed Network Scan.
  • Response Actions: Network Isolation Allow List defines process path and IP pairs that keep working when an endpoint is isolated. The * wildcard matches any process or IP, so avoid it: an over-broad allow list can leave an isolated host able to reach an attacker. See How to Isolate a Compromised Endpoint.
  • Data Generation Providers on Windows (Event Log, System Call, Remote Procedure Call, .NET, Device Driver IO Control and others) are enabled by default, and the documentation advises consulting support before disabling any. Leave them on; switching them off reduces detection coverage.
  • Disk Space ranges from 100 to 10,000 MB with a default of 5,000 MB. Undersized quotas lose forensic data when you most need it.

API keys as non-human identities

SOAR playbooks, SIEM connectors, ticketing integrations and internal scripts all call the Cortex XDR API. Each key can query incidents, isolate endpoints or change configuration depending on its role, which makes it one of the most powerful non-human identities in the security stack. The general discipline is set out in the API Key Management Guide; this section applies it to Cortex XDR.

What the console offers

Keys are created under Settings, Configurations, Integrations, API Keys, New Key. The documentation describes these options:

  • Security Level. Advanced hashes the key with a nonce, a random string and a timestamp to help prevent replay attacks. Standard does not. The documentation notes cURL does not support Advanced keys, but scripts do.
  • Role. A predefined or custom role, drawn from Cortex Gateway or Cortex XDR Access Management.
  • Comment. An optional description of the key's purpose.
  • Expiration. An optional expiry date and time. The API Keys page shows expiry dates, and the Notification Center warns one week and one day before a key expires.
  • Scope. Scope-based access control (SBAC) can limit keys to Assets, Cases and Issues, and Endpoints. SBAC is disabled by default under Server Settings, and the documentation recommends assigning scopes to users, groups and API keys before enabling it.

The key is shown once when generated. Copy it directly into the secrets store of the consuming system and do not paste it into tickets or chat.

Governance baseline for Cortex XDR keys

  1. One key per integration. Never share a key between a SOAR platform and a script. Separate keys give separate audit trails and allow revocation without collateral damage.
  2. Advanced security level by default. Use Standard only where a client genuinely cannot compute the Advanced hash, and record the exception.
  3. Least privilege role. A SIEM connector that only reads incidents should not hold a role able to change profiles or run response actions. Create a custom role if no predefined one fits.
  4. Always set an expiration. Choose an interval you can operate, such as 90 or 180 days, and act on the Notification Center warnings.
  5. Use the Comment field as an ownership record. Include the integration name, owning team and ticket reference, so every key has an accountable owner.
  6. Review quarterly. Reconcile the API Keys page against your inventory of integrations and delete keys whose owner or consumer cannot be found.

If a key is exposed, follow the API Key Leak Response Playbook: revoke, replace, then review what the key did during the exposure window.

Monitoring the configuration itself

An attacker with console access can weaken protection faster than one on a single endpoint. Monitor the platform as a high value system, as described in Securing the EDR and XDR platform itself.

  • Forward console audit events to a system the Cortex XDR administrators do not control.
  • Alert on changes to tampering protection, exploit module action modes, exceptions, policy rule order and API key creation.
  • Track agents that stop reporting, report an outdated version, or appear without a matching endpoint in your asset inventory.
  • Compare live profiles against a stored baseline each month and investigate drift.

Common failure patterns

  • Profiles left in Report. A pilot that never moved to Block leaves endpoints logging exploits rather than stopping them.
  • Mismatched tampering settings. Agent settings tampering enabled, but the paired malware profile not at Block, or assigned to different endpoints.
  • A single uninstall password everywhere, shared in a support ticket and never rotated.
  • Wildcard isolation allow lists that let an isolated host keep talking to anything.
  • Linux Cloud Optimized tab left at defaults while the Standard tab was hardened.
  • Standard security level API keys with broad roles and no expiry, shared between several integrations.
  • Immediate content and agent rollout to every endpoint with no test ring.

Practitioner checklist

  • Document policy rule order and map every endpoint group to exactly one intended profile set.
  • Enable XDR Agent Tampering Protection and all sub-settings, paired with a malware profile whose tampering setting is Block.
  • Generate long, unique uninstall passwords per tier, store them in a vault and rotate after use.
  • Set every exploit prevention module to Block in production, on every platform and Linux tab.
  • Add internet-facing and document-handling business applications to Exploit Protection for Additional Processes.
  • Enable Certificate Enforcement and remove wildcards from the Network Isolation Allow List.
  • Configure content staging, delayed rollout and scoped agent auto-upgrade with a test ring.
  • Issue one Advanced API key per integration with a least privilege role, an expiration date and an ownership comment.
  • Plan and enable scope-based access control after assigning scopes.
  • Forward console audit events and alert on protection-weakening changes.

Standards and references

Related NHI Mgmt Group resources: Palo Alto Networks Cortex XSIAM · Securing the EDR and XDR platform itself · EDR Tuning and Exclusions Management Guide · API Key Management 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.

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 both boxes to continue.