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_command_line contains "powershell.exe mshta.exe http" and 
 action_process_image_command_line contains ".hta") or 
 (action_process_image_command_line in ("*reg query \"HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\"*", "*cmd.exe /c taskkill /im cmd.exe*", "*(New-Object System.Net.WebClient).UploadFile('http*"))))