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 
 (((actor_process_image_path in ("*\powershell_ise.exe", "*\powershell.exe", "*\pwsh.exe")) and 
 (action_process_image_path in ("*\bash.exe", "*\bitsadmin.exe", "*\certutil.exe", "*\cscript.exe", "*\forfiles.exe", "*\hh.exe", "*\mshta.exe", "*\regsvr32.exe", "*\rundll32.exe", "*\schtasks.exe", "*\scrcons.exe", "*\scriptrunner.exe", "*\sh.exe", "*\wmic.exe", "*\wscript.exe"))) and 
 (not 
 ((action_process_image_path contains "\certutil.exe" and 
 action_process_image_command_line contains "-verifystore ") or 
 (action_process_image_path contains "\wmic.exe" and 
 (action_process_image_command_line in ("*qfe list*", "*diskdrive *", "*csproduct *", "*computersystem *", "* os *", "*"))))) and 
 (not 
 (actor_process_command_line contains "\Program Files\Amazon\WorkspacesConfig\Scripts\" and 
 action_process_image_command_line contains "\Program Files\Amazon\WorkspacesConfig\Scripts\"))))