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 "\GoAnywhere\tomcat\" and 
 (((action_process_image_path in ("*\powershell.exe", "*\powershell_ise.exe", "*\pwsh.exe")) and 
 ((action_process_image_command_line contains "IEX" and 
 action_process_image_command_line contains "enc" and 
 action_process_image_command_line contains "Hidden" and 
 action_process_image_command_line contains "bypass") or 
 (action_process_image_command_line ~= "net\s+user" or 
 action_process_image_command_line ~= "net\s+group" or 
 action_process_image_command_line ~= "query\s+session") or 
 (action_process_image_command_line in ("*whoami*", "*systeminfo*", "*dsquery*", "*localgroup administrators*", "*nltest*", "*samaccountname=*", "*adscredentials*", "*o365accountconfiguration*", "*.DownloadString(*", "*.DownloadFile(*", "*FromBase64String(*", "*System.IO.Compression*", "*System.IO.MemoryStream*", "*curl*")))) or 
 ((action_process_image_path contains "\cmd.exe" and 
 (action_process_image_command_line in ("*powershell*", "*whoami*", "*net.exe*", "*net1.exe*", "*rundll32*", "*quser*", "*nltest*", "*curl*"))) or 
 (action_process_image_command_line in ("*bitsadmin*", "*certutil*", "*mshta*", "*cscript*", "*wscript*"))))))