Test Custom BIOC Rules

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

Test Custom BIOC Rules

L1 Bithead

Hi Expert,


Please help me to create custom BIOC rules for the testing.

My company want to create rules bioc informational if We create/delete spesific file in spesific folder, and the information will appears in incidents.

Is it possible? 

If is it possible, please inform to me How to create that?


Thanks Expert, please give me advice


L5 Sessionator

Hi @Muhammad-Rusli , you need to use event_sub_type (in your case, these should be FILE_CREATE and FILE_REMOVE). Please see a basic BIOC to get you started. You can tune it to your needs.

dataset = xdr_data 
| filter event_type = FILE and (event_sub_type = FILE_CREATE_NEW or event_sub_type = FILE_REMOVE) and action_file_path contains "D:\"


Link: https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-pro-admin/investigation-and-response/...

  • 1 replies
  • 78 Subscriptions
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!