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 "\code.exe" and 
 ((action_process_image_path in ("*\calc.exe", "*\regsvr32.exe", "*\rundll32.exe", "*\cscript.exe", "*\wscript.exe")) or 
 ((action_process_image_path in ("*\powershell.exe", "*\pwsh.exe", "*\cmd.exe")) and 
 (action_process_image_command_line in ("*Invoke-Expressions*", "*IEX*", "*Invoke-Command*", "*ICM*", "*DownloadString*", "*rundll32*", "*regsvr32*", "*wscript*", "*cscript*"))) or 
 (action_process_image_path in ("*:\Users\Public\*", "*:\Windows\Temp\*", "*:\Temp\*")))))