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 ("*\caddy.exe", "*\httpd.exe", "*\nginx.exe", "*\php-cgi.exe", "*\php.exe", "*\tomcat.exe", "*\UMWorkerProcess.exe", "*\w3wp.exe", "*\ws_TomcatService.exe")) or 
 ((actor_process_image_path in ("*\java.exe", "*\javaw.exe")) and 
 (actor_process_image_path in ("*-tomcat-*", "*\tomcat*"))) or 
 ((actor_process_image_path in ("*\java.exe", "*\javaw.exe")) and 
 (actor_process_command_line in ("*CATALINA_HOME*", "*catalina.home*", "*catalina.jar*")))) and 
 (action_process_image_path in ("*\arp.exe", "*\at.exe", "*\bash.exe", "*\bitsadmin.exe", "*\certutil.exe", "*\cmd.exe", "*\cscript.exe", "*\dsget.exe", "*\hostname.exe", "*\nbtstat.exe", "*\net.exe", "*\net1.exe", "*\netdom.exe", "*\netsh.exe", "*\nltest.exe", "*\ntdsutil.exe", "*\powershell_ise.exe", "*\powershell.exe", "*\pwsh.exe", "*\qprocess.exe", "*\query.exe", "*\qwinsta.exe", "*\reg.exe", "*\rundll32.exe", "*\sc.exe", "*\sh.exe", "*\wmic.exe", "*\wscript.exe", "*\wusa.exe")) and 
 (not 
 ((actor_process_image_path contains "\java.exe" and 
 action_process_image_command_line contains "Windows\system32\cmd.exe /c C:\ManageEngine\ADManager \"Plus\ES\bin\elasticsearch.bat -Enode.name=RMP-NODE1 -pelasticsearch-pid.txt") or 
 (actor_process_image_path contains "\java.exe" and 
 (action_process_image_command_line contains "sc query" and 
 action_process_image_command_line contains "ADManager Plus"))))))