PAN-OS Shield — GlobalProtect Threat Prevention Hardening
Symptom
This article applies when you want to:
- Enable or verify the status of PAN-OS Shield on a PAN-OS 12.2+ firewall.
- Troubleshoot GlobalProtect connectivity issues that may be caused by PAN-OS Shield blocking or alerting on legitimate traffic.
- Understand why threat logs are being generated for GlobalProtect control traffic.
- Configure threat exceptions for specific Threat IDs (TIDs) to allow legitimate traffic that is triggering false positives.
Environment
- PAN-OS version: 12.2.0 and later
- Platform: All hardware and VM-Series firewalls running PAN-OS 12.2+
- Panorama: PAN-OS 12.2+ managed firewalls (exceptions can be pushed via Panorama)
- License requirement: None — PAN-OS Shield signatures are included in the application content package (no Threat Prevention license required). If a TP license is present, signatures are included in the standard all-contents package.
Cause
- Prior to PAN-OS 12.2, GlobalProtect control traffic (HTTPS on TCP 443 to the GP portal and gateway) was processed by the dataplane for SSL decryption and then forwarded directly to the management plane (MP) nginx listener on TCP 20077 without any vulnerability scanning. This meant that attack payloads targeting the management plane — such as command injection via crafted URLs — were not inspected by Threat Prevention.
- PAN-OS Shield addresses this gap by redirecting GP control traffic through an internal virtual system (vsys) where a Vulnerability Protection profile (
panos-shield-vuln-profile) is enforced before the traffic reaches the MP. The TP scan uses approximately 59 PAN-OS-specific Threat IDs covering known and emerging exploit patterns.
Resolution
Step 1 — Enable PAN-OS Shield
Via CLI:
admin@fw> configure
admin@fw# set deviceconfig setting panos-shield enable yes
admin@fw# commit
admin@fw> request restart system
Note: A system reboot is required after enabling. The feature is not active until the firewall has been rebooted.
Via Web UI: Navigate to Device → Setup → PAN-OS Security → PAN-OS Shield and toggle the feature on. Commit and reboot.
Step 2 — Verify PAN-OS Shield is active
After rebooting, run the following commands to confirm the feature is enabled and ready:
admin@fw> show deviceconfig setting panos-shield
panos-shield {
enable yes;
}
admin@fw> show system state | match cfg.panos-shield
cfg.panos-shield.base-vsys: 1
cfg.panos-shield.enabled: 1
cfg.panos-shield.licensed-vsys: 1
cfg.panos-shield.max-vsys: 2
cfg.panos-shield.ready: 1
cfg.panos-shield.ready: 1 confirms the internal vsys has been created and is active. If ready: 0, the firewall has not been rebooted since enabling.
Step 3 — Verify GlobalProtect sessions are being inspected
When PAN-OS Shield is active, each GP control session creates two sessions — one in the user vsys and one in the internal vsys where the TP scan runs:
admin@fw> show session all filter application panos-global-protect
You should see pairs of sessions — one in vsys1 (user-facing) and one in the internal vsys (e.g. vsys2) with the application panos-global-protect.
Step 4 — View threat logs
If PAN-OS Shield detects and blocks a threat, a threat log entry is generated. View these at:
Monitor → Logs → Threat
Filter by application panos-global-protect to see only Shield-related events.
Step 5 — Add a threat exception (for false positives)
If PAN-OS Shield is blocking legitimate GlobalProtect traffic, you can add a per-TID exception to change the action (for example, from reset-both to alert or allow).
Via CLI:
admin@fw# set shared panos-shield-override profiles vulnerability \
panos-shield-vul-profile threat-exception <TID> action alert
admin@fw# commit
Via Web UI: Navigate to Objects → PAN-OS Shield → Vulnerability Protection and add the exception under panos-shield-vul-profile.
Note: Only the following fields can be modified in the override profile: Action, IP address exception, Packet capture. The base signatures and profile structure are managed by Palo Alto Networks via content updates.
Disabling PAN-OS Shield
If you need to disable the feature:
admin@fw# set deviceconfig setting panos-shield enable no
admin@fw# commit
admin@fw> request restart system
A reboot is required after disabling as well.
HA Considerations
In an HA pair, the PAN-OS Shield configuration is synced automatically. However, after the configuration is synced and committed, both devices must be rebooted for the feature to become active on each node. The system state (sysd) is not synced — each peer must be rebooted independently.
Panorama Considerations
When managed via Panorama, the panos-shield-vuln-profile is located under the Shared Device Group. Exceptions added in Panorama are pushed to all managed firewalls via commit-all. If both Panorama and the local firewall have an exception for the same TID, the local firewall exception takes precedence.