from * metadata _id, _index, _version | where (ends_with(process.parent.executable, "\\caddy.exe") or ends_with(process.parent.executable, "\\httpd.exe") or ends_with(process.parent.executable, "\\nginx.exe") or ends_with(process.parent.executable, "\\php-cgi.exe") or ends_with(process.parent.executable, "\\php.exe") or ends_with(process.parent.executable, "\\tomcat.exe") or ends_with(process.parent.executable, "\\UMWorkerProcess.exe") or ends_with(process.parent.executable, "\\w3wp.exe") or ends_with(process.parent.executable, "\\ws_TomcatService.exe") or (ends_with(process.parent.executable, "\\java.exe") or ends_with(process.parent.executable, "\\javaw.exe")) and (process.parent.executable like "*-tomcat-*" or process.parent.executable like "*\\\\tomcat*") or (ends_with(process.parent.executable, "\\java.exe") or ends_with(process.parent.executable, "\\javaw.exe")) and (process.parent.command_line like "*CATALINA_HOME*" or process.parent.command_line like "*catalina.home*" or process.parent.command_line like "*catalina.jar*")) and (ends_with(process.executable, "\\arp.exe") or ends_with(process.executable, "\\at.exe") or ends_with(process.executable, "\\bash.exe") or ends_with(process.executable, "\\bitsadmin.exe") or ends_with(process.executable, "\\certutil.exe") or ends_with(process.executable, "\\cmd.exe") or ends_with(process.executable, "\\cscript.exe") or ends_with(process.executable, "\\dsget.exe") or ends_with(process.executable, "\\hostname.exe") or ends_with(process.executable, "\\nbtstat.exe") or ends_with(process.executable, "\\net.exe") or ends_with(process.executable, "\\net1.exe") or ends_with(process.executable, "\\netdom.exe") or ends_with(process.executable, "\\netsh.exe") or ends_with(process.executable, "\\nltest.exe") or ends_with(process.executable, "\\ntdsutil.exe") or ends_with(process.executable, "\\powershell_ise.exe") or ends_with(process.executable, "\\powershell.exe") or ends_with(process.executable, "\\pwsh.exe") or ends_with(process.executable, "\\qprocess.exe") or ends_with(process.executable, "\\query.exe") or ends_with(process.executable, "\\qwinsta.exe") or ends_with(process.executable, "\\reg.exe") or ends_with(process.executable, "\\rundll32.exe") or ends_with(process.executable, "\\sc.exe") or ends_with(process.executable, "\\sh.exe") or ends_with(process.executable, "\\wmic.exe") or ends_with(process.executable, "\\wscript.exe") or ends_with(process.executable, "\\wusa.exe")) and not (ends_with(process.parent.executable, "\\java.exe") and ends_with(process.command_line, "Windows\\system32\\cmd.exe /c C:\\ManageEngine\\ADManager \"Plus\\ES\\bin\\elasticsearch.bat -Enode.name=RMP-NODE1 -pelasticsearch-pid.txt") or ends_with(process.parent.executable, "\\java.exe") and process.command_line like "*sc query*" and process.command_line like "*ADManager Plus*")