- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-25-2023 01:46 AM
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.
10-26-2023 02:36 AM
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:
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
Scans
Hope this helps!
Please mark the response as "Accept as Solution" if it answers your query.
10-26-2023 02:36 AM
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:
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
Scans
Hope this helps!
Please mark the response as "Accept as Solution" if it answers your query.
10-27-2023 08:38 AM
I would not whitelist a folder. This allows any application to be run from that directory. Instead, I would look into Code Signing.
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!