GlobalProtect is the remote access front door of many Palo Alto Networks firewalls, so its portal and gateways deserve the same identity discipline as any privileged login page on the internet. This guide walks through the GlobalProtect settings that decide who can connect, what proves their identity, how long that proof lasts and how the service resists password spraying, credential stuffing and exploitation of the portal itself. It sits beneath our Palo Alto Networks PAN-OS Hardening Guide, which covers firewall administration, API keys and the management plane; this page stays on the remote access service.
GlobalProtect has two server roles. The portal authenticates users, hands out the agent (app) configuration and tells the app which gateways exist. Gateways terminate the tunnels and enforce policy. Both expose an authentication surface to the internet, both rely on certificates, and both can issue or accept cookies that stand in for a password. Every one of those is an identity control, and most hardening work is about making each one deliberate rather than left at whatever the first deployment wizard chose.
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. Where this guide goes beyond that documentation, the recommendations are NHI Mgmt Group advice.
Key takeaways
- Treat the portal and every external gateway as internet-facing identity providers: patch them first, log every authentication and put them behind phishing-resistant multi-factor authentication.
- Require both a user credential and a device certificate where you can. The Allow Authentication with User Credentials OR Client Certificate setting decides whether one factor alone is enough.
- Authentication override cookies are bearer tokens. Keep their lifetime short, encrypt them with a dedicated certificate and remember that a valid cookie can skip a dynamic password prompt.
- Do not let the app save passwords. Palo Alto Networks' own help text warns that saved credentials make unauthorised access easier.
- Use SAML to a central identity provider for user authentication so that lockout, risk scoring and MFA live in one place, and keep a local break-glass route for administrators only.
- Track GlobalProtect advisories, such as CVE-2024-3400, as emergency changes: an unauthenticated flaw in the portal or gateway bypasses every identity control on this page.
How GlobalProtect authentication works
When a user connects, the app first contacts the portal. The portal presents a server certificate from its SSL/TLS service profile, then authenticates the user through the client authentication configuration that matches the endpoint's operating system. The firewall picks the first matching configuration in the list, so ordering matters: Palo Alto Networks notes that the firewall always selects the authentication profile at the top of the list for a given OS. The OS options include Any, Android, Chrome, iOS, Linux, Mac, Windows and WindowsUWP, plus Browser and Satellite.
Once the portal has authenticated the user, it delivers the agent configuration. That configuration tells the app which gateways to use, whether to save credentials, whether to issue cookies and which components need a dynamic password. The app then authenticates to a gateway, either with the same credentials, a client certificate, a cookie or a combination, depending on how the gateway is configured.
Three identity artefacts therefore travel through every session:
- User credentials, checked by an authentication profile that can point to local accounts, RADIUS, TACACS+, LDAP, Kerberos, SAML 2.0 or a multi-factor service. The authentication profile overview lists those services.
- Client certificates, which identify the device (or a user on the device) and are validated by a certificate profile.
- Authentication override cookies, encrypted tokens that the portal and gateways can issue and accept in place of re-entering credentials.
Hardening is about choosing which of these must be present, how strong each one is and how long each one remains valid.
Portal and gateway client authentication
Each portal and gateway has its own client authentication list. Build it on purpose rather than relying on a single "Any" entry.
Order configurations by operating system
Create explicit entries for each operating system you support, and place an "Any" entry last only if you truly need it. Because the first match wins, an "Any" entry at the top quietly applies its weaker or stronger settings to every platform. Use the Authentication Message field (up to 256 characters) to tell users which credential to enter, which reduces help desk calls that otherwise end with someone weakening the configuration.
Require credentials and a certificate together
The Allow Authentication with User Credentials OR Client Certificate setting is the single most important switch on the portal. Set to No, the portal requires both user credentials and a client certificate. Set to Yes, either one is accepted. The help text adds that when this is set to No, you must select a Certificate Profile. For corporate managed devices, choose No and a certificate profile that only trusts your internal issuing CA. That way a stolen password alone does not open a tunnel, and a stolen device certificate alone does not either.
If you must support unmanaged devices, give them their own portal or client authentication entry, with tighter access rules on the gateway side, rather than relaxing the managed device entry.
Use SAML for user authentication
Pointing the authentication profile at a central identity provider through SAML 2.0 moves password policy, lockout, risk checks and phishing-resistant MFA into the system that already governs your workforce identities. The firewall can generate a SAML metadata file from the assigned profile for registration with the identity provider. Our SAML Security Guide covers signing, audience restriction and certificate rollover on the identity provider side.
Keep a local account fallback for firewall administration, as Palo Alto Networks recommends for authentication profiles generally, but do not make local accounts a fallback for remote access users. A fallback that skips the identity provider is the path an attacker will look for.
Certificates: server, client and cookie
GlobalProtect uses certificates in three roles, and each needs its own owner, lifetime and renewal process.
| Role | Where it is set | Hardening point |
|---|---|---|
| Portal and gateway server certificate | SSL/TLS Service Profile | Use a certificate from a trusted third-party CA for the VPN, as the help text advises, and restrict the profile to modern TLS versions. |
| Client certificate | Agent configuration Client Certificate and the portal or gateway Certificate Profile | Issue from an internal CA you control, bind to the device, and check revocation. |
| Cookie encryption certificate | Certificate to Encrypt/Decrypt Cookie | Use a dedicated certificate shared only by the portal and its gateways, and rotate it on a schedule. |
Client certificate distribution
The agent configuration's Client Certificate option defaults to None, which suits estates where an internal CA already places certificates on devices. The alternatives are a certificate obtained through SCEP for pre-logon, stored in the system certificate store, or a certificate uploaded to the firewall (Local). Avoid the Local option for anything beyond a lab: a single certificate pushed to every endpoint is a shared secret, not a device identity. The help text also notes that, for mobile devices, a certificate in the portal configuration allows only client certificate authentication at the gateway, because the passphrase is saved in the portal configuration. Plan mobile access around that constraint.
The Client Certificate Store Lookup setting on the App tab chooses whether the app looks in the User store, the Machine store or both (User and machine is the default). If your certificates are machine certificates, set the lookup to Machine so that a user cannot import a personal certificate to satisfy the check.
Revocation and inventory
A certificate profile that never checks revocation turns every lost laptop into a permanent credential. Configure CRL or OCSP checking in the certificate profile and make sure the firewall can reach the responder. Record every GlobalProtect certificate, its expiry and its owner in your certificate inventory. Our Certificate Revocation Guide explains the trade-offs between CRL and OCSP for this kind of gateway.
Authentication override cookies and saved credentials
Cookies are the GlobalProtect equivalent of a refresh token. They are convenient and they are a bearer credential, so treat them with the same care.
How the cookie works
With Generate cookie for authentication override enabled, the portal creates encrypted, endpoint-specific cookies and sends one to the endpoint after the user first authenticates. With Accept cookie for authentication override enabled, the portal accepts a valid cookie as authentication: it checks that the cookie was encrypted by the portal, decrypts it and authenticates the user. The portal and gateways must use the same certificate to encrypt and decrypt.
The Cookie Lifetime can be set in hours (1 to 72), weeks (1 to 52) or days (1 to 365). Palo Alto Networks describes 24 hours as the typical lifetime. After expiry, the user must log in again and receives a new cookie.
Hardening the cookie
- Keep the lifetime short. NHI Mgmt Group recommends no more than a working day for external gateways. Long lifetimes measured in weeks or months turn a single compromised endpoint into weeks of silent access.
- Remember the interaction with dynamic passwords. The help text states that a valid authentication override cookie can skip the re-entry of credentials and dynamic password. If you enable two-factor for a component and also accept cookies there, the second factor is only checked when the cookie is absent or expired.
- Use a dedicated encryption certificate and rotate it. Rotating the cookie certificate invalidates every outstanding cookie, which makes it a useful emergency step after a suspected endpoint compromise.
- Generate cookies on the portal and accept them on gateways only where the session model needs it, rather than enabling both everywhere by default.
Do not save passwords
The Save User Credentials setting offers Yes, No, Save Username Only and Only with User Fingerprint. The help text advises against saving credentials because doing so makes it easier for unauthorised users to gain access. Choose Save Username Only or No for standard users. If you use the fingerprint option, accept that the credential still sits on the device and is unlocked by a local biometric.
Multi-factor authentication and dynamic passwords
GlobalProtect supports two patterns for a second factor: delegating MFA to the identity provider (usually through SAML), and asking for a dynamic password on specific components through the agent configuration.
Components that require dynamic passwords
Under Components that Require Dynamic Passwords (Two-Factor Authentication) you can tick Portal, Internal gateways - all, External gateways - manual only and External gateways-auto discovery. When a component is ticked, the user is prompted after initial portal authentication for credentials plus a one-time or other dynamic password. Tick every external gateway class that is reachable from the internet. Internal gateways can follow a lighter policy if they are only reachable from managed networks, but document the decision.
Inbound MFA prompts
The App tab setting Enable Inbound Authentication Prompts from MFA Gateways defaults to No, which means the app blocks UDP prompts from gateways. If you enable it (the default port is UDP 4501), populate Trusted MFA Gateways so the app only displays prompts from gateways you have named. An open prompt channel is a phishing and fatigue vector; our MFA Fatigue and Bypass Guide covers the user side of that risk.
Prefer phishing-resistant factors
One-time passcodes typed into a VPN client can be relayed by a fake portal. Where your identity provider supports it, use FIDO2 or certificate-based factors for GlobalProtect users and reserve one-time passcodes for exception groups. CISA's guidance on implementing phishing-resistant MFA, listed below, sets out the options.
Brute-force and password spraying defence
GlobalProtect portals are a common target for password spraying (MITRE ATT&CK T1110.003) and for abuse of external remote services (T1133). The aim is to make guessing expensive, noisy and pointless.
- Make a password insufficient. Requiring a client certificate and a second factor means a correct guess still does not open a tunnel. This is the strongest control against spraying.
- Use account lockout in the authentication profile or identity provider. Authentication profiles carry failed attempt and lockout time settings. Lockout on the firewall protects local and LDAP users; lockout and smart throttling at a SAML identity provider protect directory users without letting an attacker lock out your whole workforce.
- Restrict who can authenticate. Use the authentication profile's allow list to limit GlobalProtect to the groups that need remote access, so service accounts and dormant accounts cannot be tested against the portal.
- Apply security policy to the portal interface. Attach vulnerability protection and, where your licence allows, threat signatures to the policy that allows traffic to the GlobalProtect interface. Consider limiting source countries if your user base is geographically narrow.
- Keep non-human accounts off the portal. Service accounts, shared mailboxes and integration users should be explicitly excluded from GlobalProtect groups. Spraying campaigns favour these accounts because they rarely have MFA and their failed logins go unnoticed.
Our Password Spraying and Credential Stuffing Defence Guide covers detection thresholds and response in more depth, and the Account Lockout and Brute-Force Protection Guide discusses lockout design.
App behaviour: connect method and user controls
The agent configuration also controls how much the user can change. These settings decide whether the tunnel, and the identity checks that come with it, are always in place.
- Connect Method. Options are On-demand, User-logon (Always On), Pre-logon (Always On) and Pre-logon then On-demand. Always On methods keep managed devices inside policy; pre-logon relies on a machine certificate, which makes certificate hygiene even more important.
- Allow User to Disable GlobalProtect App. Options are Allow, Disallow, Allow with Comment, Allow with Passcode and Allow with Ticket. For managed devices, Disallow or Allow with Ticket keeps a record of every exception.
- Allow User to Uninstall GlobalProtect App (Windows Only). Disallow or Allow with Password on managed endpoints.
- Enforce GlobalProtect Connection for Network Access. Defaults to No. Setting Yes blocks traffic until the app connects, with limited exceptions for captive portals and up to ten hosts or networks and 40 FQDNs.
- Allow User to Sign Out from GlobalProtect App. Defaults to Yes. Consider No for Always On estates.
Patching and exposure management
No amount of authentication hardening helps if the portal or gateway code can be exploited without credentials. CVE-2024-3400 is the clearest example. Palo Alto Networks' advisory for CVE-2024-3400 describes a command injection flaw in the GlobalProtect gateway or portal on PAN-OS firewalls that could let an unauthenticated attacker run code with root privileges, rated critical at CVSS-B 10.0. Affected releases were in the PAN-OS 10.2, 11.0 and 11.1 trains; Cloud NGFW, Panorama and Prisma Access were not affected. The advisory reported an increasing number of attacks, told customers to upgrade to a fixed version as the priority, and advised collecting a Tech Support File for forensic analysis before rebooting into the fixed release.
Lessons for any GlobalProtect estate:
- Know where GlobalProtect is enabled. The advisory's first step was to check Network > GlobalProtect on every firewall, which is only quick if you already keep an inventory.
- Subscribe to Palo Alto Networks security advisories and to the CISA Known Exploited Vulnerabilities Catalog, and give GlobalProtect fixes an emergency change path.
- Collect evidence before you patch when compromise is plausible, and treat credentials, certificates and cookies that passed through an exploited device as exposed.
- Do not rely on mitigations the vendor later withdraws. In the CVE-2024-3400 case, disabling device telemetry stopped being considered an effective mitigation.
If you suspect a GlobalProtect device has been exploited, our Edge Device Compromise Investigation Playbook covers evidence collection and credential rotation.
Logging and detection
GlobalProtect logs authentication and connection events on the firewall. Forward them, along with authentication logs from the identity provider, to your SIEM and build detections for:
- Many failed portal or gateway logins from one source, or one failure each across many usernames (spraying).
- Successful logins for accounts that are not in a remote access group, or for service accounts.
- Logins from new countries or hosting providers for a user who normally connects from one region.
- Cookie-based reconnections from a new device or address shortly after a password reset or device wipe.
- Client certificate failures that suddenly rise, which can indicate a revoked device trying again or an attacker probing.
- Configuration changes to portals, gateways, authentication profiles or certificate profiles, which belong in your change process.
Common failure patterns
- "Credentials OR certificate" left at Yes. One factor opens the tunnel, so a sprayed password is enough.
- Cookie lifetimes measured in weeks. A lost laptop keeps working long after the user's password has changed.
- Two-factor ticked but cookies accepted everywhere. The second factor is only checked once per cookie lifetime.
- Shared Local client certificate. The same certificate on every device proves nothing about the device.
- No revocation checking. Revoked certificates still authenticate.
- Service accounts in the remote access group. Accounts without MFA become the spraying target.
- Saved passwords on the app. Anyone with the device has the credential.
- Slow patching of the portal. An unauthenticated flaw bypasses every other control.
Practitioner checklist
- Inventory every firewall with a GlobalProtect portal or gateway and its PAN-OS version.
- Set Allow Authentication with User Credentials OR Client Certificate to No for managed devices and attach a certificate profile that checks revocation.
- Authenticate users through SAML to your identity provider with phishing-resistant MFA.
- Tick dynamic passwords for the portal and all external gateway classes, and review where cookies are accepted.
- Set cookie lifetime to a working day or less and use a dedicated, rotated encryption certificate.
- Set Save User Credentials to Save Username Only or No.
- Restrict authentication profiles to remote access groups and remove service accounts.
- Configure lockout in the authentication profile or identity provider and alert on spraying patterns.
- Use Always On connect methods and restrict disable and uninstall options on managed devices.
- Track Palo Alto Networks advisories and KEV entries and patch GlobalProtect on an emergency path.
Standards and references
- Palo Alto Networks: GlobalProtect Portals Agent Authentication Tab
- Palo Alto Networks: GlobalProtect Portals Authentication Configuration Tab
- Palo Alto Networks: GlobalProtect Portals Agent App Tab
- Palo Alto Networks: CVE-2024-3400 security advisory
- CISA: Known Exploited Vulnerabilities Catalog
- CISA: Implementing Phishing-Resistant MFA
- NIST: SP 800-63B-4 Authentication and Authenticator Management
- MITRE ATT&CK: T1133 External Remote Services
Related NHI Mgmt Group resources: Palo Alto Networks PAN-OS Hardening Guide · Palo Alto Panorama Hardening Guide · Password Spraying and Credential Stuffing Defence Guide · SAML Security Guide