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_ise.exe", "*\powershell.exe", "*\pwsh.exe", "*\cmd.exe")) and 
 (action_process_image_command_line in ("*curl *", "*Invoke-RestMethod*", "*Invoke-WebRequest*", "*irm *", "*iwr *", "*wget *")) and 
 (action_process_image_command_line contains " -ur" and 
 action_process_image_command_line contains " -me" and 
 action_process_image_command_line contains " -b" and 
 action_process_image_command_line contains " POST ")) or 
 ((action_process_image_path contains "\curl.exe" and 
 action_process_image_command_line contains "--ur") and 
 (action_process_image_command_line in ("* -d *", "* --data *"))) or 
 (action_process_image_path contains "\wget.exe" and 
 (action_process_image_command_line in ("*--post-data*", "*--post-file*")))) and 
 ((action_process_image_command_line ~= "net\s+view" or 
 action_process_image_command_line ~= "sc\s+query") or 
 (action_process_image_command_line in ("*Get-Content*", "*GetBytes*", "*hostname*", "*ifconfig*", "*ipconfig*", "*netstat*", "*nltest*", "*qprocess*", "*systeminfo*", "*tasklist*", "*ToBase64String*", "*whoami*")) or 
 (action_process_image_command_line contains "type " and 
 action_process_image_command_line contains " > " and 
 action_process_image_command_line contains " C:\"))))