How to whitelist folder

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How to whitelist folder

L0 Member

Hello,

 

There is a user who is learning C/C++ and for the course, he has to do several small scripts.

Cortex XDR is blocking all created scripts, marking them as malicious.

These are written in VSCode, but because they are compiled and run as .exe, I can't just whitelist VSCode.

So I wanted to whitelist a folder or workspace, but I'm not finding how. I thought it would be under "EXCEPTIONS CONFIGURATION > Disable Prevention Rules" but my test didn't work.

 

Thank you for all the help.

1 accepted solution

Accepted Solutions

L2 Linker

Hi @JoaoMachado ,

 

Thank you for reaching out to Palo Alto Live Community.

 

You can try to define specific files and folders to exclude from examination and allow for execution. In the Policy you want this to apply to, it's under 'Malware Security Profile' > 'Files/Folders in Allow List'.

 

Here is the link to the documentation that explains the process:

https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Pro-Administrator-Guide/Add-a-New-M...

 

You may have to do this for each component - portable executables, office docs, scans.  I've included a few screenshots where you would do this.  The screenshots also have examples of the formatting.

 

PE's and DLL

dbahuguna_0-1698312767028.png

 

Scans

dbahuguna_1-1698312767030.png

 

Hope this helps!

 

Please mark the response as "Accept as Solution" if it answers your query.

View solution in original post

2 REPLIES 2

L2 Linker

Hi @JoaoMachado ,

 

Thank you for reaching out to Palo Alto Live Community.

 

You can try to define specific files and folders to exclude from examination and allow for execution. In the Policy you want this to apply to, it's under 'Malware Security Profile' > 'Files/Folders in Allow List'.

 

Here is the link to the documentation that explains the process:

https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Pro-Administrator-Guide/Add-a-New-M...

 

You may have to do this for each component - portable executables, office docs, scans.  I've included a few screenshots where you would do this.  The screenshots also have examples of the formatting.

 

PE's and DLL

dbahuguna_0-1698312767028.png

 

Scans

dbahuguna_1-1698312767030.png

 

Hope this helps!

 

Please mark the response as "Accept as Solution" if it answers your query.

L3 Networker

I would not whitelist a folder. This allows any application to be run from that directory. Instead, I would look into Code Signing. 

  • 1 accepted solution
  • 2245 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!