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 contains "\wbem\WmiPrvSE.exe" and 
 ((action_process_image_path in ("*\certutil.exe", "*\cscript.exe", "*\mshta.exe", "*\msiexec.exe", "*\regsvr32.exe", "*\rundll32.exe", "*\verclsid.exe", "*\wscript.exe")) or 
 (action_process_image_path contains "\cmd.exe" and 
 (action_process_image_command_line in ("*cscript*", "*mshta*", "*powershell*", "*pwsh*", "*regsvr32*", "*rundll32*", "*wscript*")))) and 
 (not 
 (action_process_image_path contains "\WerFault.exe" or 
 action_process_image_path contains "\WmiPrvSE.exe" or 
 (action_process_image_path contains "\msiexec.exe" and 
 action_process_image_command_line contains "/i ")))))