Bypass Record
Masquerading × Palo Alto Networks Cortex XDR
A publicly-reported instance of Masquerading bypassing Palo Alto Networks Cortex XDR, recorded with its original source. Factual record; no assessment of any specific deployment.
Mechanism
The Live Terminal feature uses WebSocket connections without command signing. Attackers can intercept the initial WebSocket message and redirect the endpoint to an attacker-controlled server. A logic flaw in the server address validation (checking the full URL string instead of just the hostname) allows a crafted URL like 'attacker.com/test.paloaltonetworks.com' to pass the check. The trusted cortex-xdr-payload.exe then executes commands, enabling stealthy C2.
Detection & mitigation
Monitor process creation events for cortex-xdr-payload.exe with a parent process other than cyserver.exe. Implement network detection rules to identify anomalous WebSocket connections to non-Palo Alto domains, and enforce TLS inspection on Cortex XDR traffic.
This is a record of a publicly-reported event, not an assessment of any specific organization's deployment. Detection and mitigation notes are drawn from the cited source. Where the source is silent, fields are omitted.