11-15-2022 07:03 AM
Hello,
Looking to set up FIM using the Cortex XDR agent and from what I have found so far, it seems unsupported. Has anyone set up FIM using any method?
The only possible option I have found so far is maybe using an auditbeat with the FIM module:
11-15-2022 09:26 AM - edited 11-15-2022 09:28 AM
Hi @Optimizer , thanks for writing to Live Community.
You are correct, the way to use File Integrity Monitoring with XDR is through BIOC rules, correlations and reports based on XQL.
Please see a few examples below:
1. XQL Based Correlation Rule : Monitor /etc/, usr/local/share/, /usr/share/ for any conf file modifications:
11-15-2022 08:34 AM
Looking into this further. BIOC rules seem to be what I'm looking for, but I am not certain how to set my specific file paths I want to be monitored.
When I test creating my own BIOC rule, I cannot find the files I am looking for in the provided list
11-15-2022 09:26 AM - edited 11-15-2022 09:28 AM
Hi @Optimizer , thanks for writing to Live Community.
You are correct, the way to use File Integrity Monitoring with XDR is through BIOC rules, correlations and reports based on XQL.
Please see a few examples below:
1. XQL Based Correlation Rule : Monitor /etc/, usr/local/share/, /usr/share/ for any conf file modifications:
11-15-2022 10:09 AM
Thank you, this helped a lot!
07-26-2023 08:46 AM
I finally got around to working on this, and... still need to configure some more, but it works.
dataset = xdr_data |filter event_type = FILE and (event_sub_type = FILE_CREATE_NEW or event_sub_type = FILE_WRITE or event_sub_type = FILE_REMOVE or event_sub_type = FILE_RENAME )
|filter action_file_path in ("C:\Program Files (x86)\*","C:\Program Files\*","C:\ProgramData\*") and action_file_name contains ".exe"
|fields agent_hostname, agent_ip_addresses , action_file_name, action_file_path, action_file_type
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!