Palo Alto Networks Cortex XDR: Block Bad Hashes
This guide helps you set up your Palo Alto Networks (PAN) Cortex XDR device and grant necessary permissions so that you can enable the Block Bad Hashes auto remediation in Workbench.
This guide is the first step of a larger process to enable auto remediations. After completing the steps on this page, you will be instructed to return to the Enable an Auto Remediation in Workbench guide to finish your setup.
How It Works
If our SOC identifies a hash that must be blocked, Workbench completes the action automatically unless it is specifically called out as a "Never block" asset (these hashes must be added as context and then configured in Workbench; see Step 2).
Endpoints Used
Cortex XDR Public API
public_api/v1, sha256
POST
public_api/v1/hash_exceptions/blocklist/
Add the hash to the Cortex XDR block list (the block)
No separate pre-check call; if the hash is already present, the API returns an error that Expel maps to "already remediated." No unblock capability is implemented for Cortex XDR.
Step 1: Allow Appropriate Permissions in Your EDR Console
Make sure you assign all API permissions in the PAN Cortex XDR Pro Setup for Workbench guide.
This includes the permissions to add hashes to the block list.

Step 2: Update Your Context
If you do not want to specify any hashes for a "do not block" list, skip to Step 3.
Working with your Customer Success Manager, add any hashes that should be on the "do not block" list as org context for your environment. You will then be able to select those hashes as "Never block" assets when you enable the auto remediation in Workbench.
Step 3: Return to the Main Setup Guide
Your Palo Alto Cortex XDR device is now ready for the Block Bad Hashes auto remediation. You should now do one of the following:
If you do not need to set up any other devices for this auto remediation, you can return to the Enable an Auto Remediation in Workbench guide to finish Step 2 of the process.
If you need to set up additional devices for this auto remediation, or wish to use this device with multiple auto remediations, be sure to complete those setup guides as well before returning to the Enable an Auto Remediation in Workbench guide to finish Step 2 of the process. Make sure to follow the setup guide that is specific to your auto remediation, as device setup instructions are unique to each auto remediation and device.
Last updated
Was this helpful?

