- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-15-2023 10:06 AM
Hello Team,
03-15-2023 10:10 PM
Thank you for writing to live community!
For your above use case, one approach could be by creating a new Report from scratch under the Report Template using XQL Query and under XQL query bolt query to search for actor/action process image name with “Python.exe” , “PowerShell.exe" & "PowerShell_ise.exe”. However you may have to tweak this query to exclude administrative executions of this processes based on your Use Case.
For Report creation you may refer to this
Hope this helps!
Please mark the response as "Accept as Solution" if it answers your query.
Thanks
03-15-2023 10:31 PM
Hello @PiyushKohli,
We need to create a report for the alerts that are triggered for the above files. Is the possible to automate report based on alerts?
03-16-2023 12:42 AM
You may try the below query and see if this results with your requirement. This did work for us.
dataset = xdr_data
|filter event_type = ENUM.PROCESS
|filter lowercase(actor_process_image_name ) ="python.exe" or lowercase(actor_process_image_name ) ="powershell.exe" or lowercase(actor_process_image_name ) ="powershell_ise.exe"
|fields causality_actor_process_image_path, actor_process_image_path, agent_hostname, action_file_path, action_file_name
|dedup causality_actor_process_image_path, actor_process_image_path, agent_hostname, action_file_path, action_file_name
Thank you
03-16-2023 02:02 AM
Thanks for clarifying. Since you need a report/notification for the alerts that are triggered for mentioned processes. You may configure the Notifications under Configuration for the same.
Reference URL: https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/Cortex-XDR-Pro-Administrator-Guide/Configure-N...
Screenshot for Reference:
Note: Update the configuration scope according to your Use Case, so that all alerts corresponding to those processes for which you want to be notified are selected.
Aside to @VenuK . Thanks for sharing the query!
Hope this helps!
Please mark the response as "Accept as Solution" if it answers your query.
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!