config case_sensitive = false | preset=xdr_process | filter (event_type = ENUM.PROCESS and 
 event_sub_type = ENUM.PROCESS_START) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 ((action_process_image_path in ("*\powershell.exe", "*\pwsh.exe")) and 
 (action_process_image_command_line contains "Add-PSSnapin" and 
 action_process_image_command_line contains "Get-Recipient" and 
 action_process_image_command_line contains "-ExpandProperty" and 
 action_process_image_command_line contains "EmailAddresses" and 
 action_process_image_command_line contains "SmtpAddress" and 
 action_process_image_command_line contains "-hidetableheaders")))