Exception to prevent the blocking of the Powershell/CMD command

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

Exception to prevent the blocking of the Powershell/CMD command

L2 Linker

Hi. How can I create an exception to prevent specific PowerShell and CMD commands from being blocked by XDR?
Cortex XDR  

1 accepted solution

Accepted Solutions

L5 Sessionator

Hi @Aristooo, thanks for reaching us using the Live Community.

 

You can try by creating a Disable Prevention Rule under Configuration - Exceptions Configuration.

jmazzeo_0-1736793263095.png

 

You can there enter the command that you need to create the exception, in the "Command line" field. Select the right module by choosing the one that is blocking the process in your case, I have selected BTP for the example which is the common one.

 

If this post answers your question, please mark it as the solution.

 

JM

View solution in original post

5 REPLIES 5

L5 Sessionator

Hi @Aristooo, thanks for reaching us using the Live Community.

 

You can try by creating a Disable Prevention Rule under Configuration - Exceptions Configuration.

jmazzeo_0-1736793263095.png

 

You can there enter the command that you need to create the exception, in the "Command line" field. Select the right module by choosing the one that is blocking the process in your case, I have selected BTP for the example which is the common one.

 

If this post answers your question, please mark it as the solution.

 

JM

Hi @jmazzeo ,  thanks for your response!

In the CMD Line under Target Properties, can I replace some arguments with *? For example, to capture all arguments in that part of the command. Like replacing "curl https://paloaltonetworks.com --show-error" with "curl https://* --show-error".

Yes, you can use the asterisk as a wildcard.

JM

@jmazzeo thank you very much!

L0 Member

Hi Cortex XDR Community,

I want to set up an alert in Cortex XDR that triggers whenever any user runs a PowerShell script. The alert should activate for any script or command executed in PowerShell, regardless of the user or specific script.

Is there an existing rule or method to create such an alert for PowerShell usage? Any suggestions or examples would be appreciated.

Thanks in advance!

 

  • 1 accepted solution
  • 1042 Views
  • 5 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!