SELECT * FROM events WHERE devicetype=12 AND ((Filename IN('net.exe', 'net1.exe', 'PowerShell_ISE.EXE', 'PowerShell.EXE', 'psservice.exe', 'pwsh.dll', 'sc.exe', 'wmic.exe')) OR ((LOWER("Process Path") LIKE '%\net.exe' OR LOWER("Process Path") LIKE '%\net1.exe' OR LOWER("Process Path") LIKE '%\powershell_ise.exe' OR LOWER("Process Path") LIKE '%\powershell.exe' OR LOWER("Process Path") LIKE '%\psservice.exe' OR LOWER("Process Path") LIKE '%\psservice64.exe' OR LOWER("Process Path") LIKE '%\pwsh.exe' OR LOWER("Process Path") LIKE '%\sc.exe' OR LOWER("Process Path") LIKE '%\wmic.exe') OR (LOWER("Process Name") LIKE '%\net.exe' OR LOWER("Process Name") LIKE '%\net1.exe' OR LOWER("Process Name") LIKE '%\powershell_ise.exe' OR LOWER("Process Name") LIKE '%\powershell.exe' OR LOWER("Process Name") LIKE '%\psservice.exe' OR LOWER("Process Name") LIKE '%\psservice64.exe' OR LOWER("Process Name") LIKE '%\pwsh.exe' OR LOWER("Process Name") LIKE '%\sc.exe' OR LOWER("Process Name") LIKE '%\wmic.exe'))) AND ((LOWER(Command) LIKE '% delete %' OR LOWER(Command) LIKE '%.delete()%' OR LOWER(Command) LIKE '% pause %' OR LOWER(Command) LIKE '% stop %' OR LOWER(Command) LIKE '%stop-service %' OR LOWER(Command) LIKE '%remove-service %') OR (LOWER(Command) LIKE '%config%' AND LOWER(Command) LIKE '%start=disabled%')) AND (LOWER(Command) LIKE '%143svc%' OR LOWER(Command) LIKE '%aakore%' OR LOWER(Command) LIKE '%acronis vss provider%' OR LOWER(Command) LIKE '%acronisactiveprotectionservice%' OR LOWER(Command) LIKE '%acronisagent%' OR LOWER(Command) LIKE '%acroniscyberprotectionservice%' OR LOWER(Command) LIKE '%acrsch2svc%' OR LOWER(Command) LIKE '%adobearmservice%' OR LOWER(Command) LIKE '%ahs service%' OR LOWER(Command) LIKE '%antivirus%' OR LOWER(Command) LIKE '%apache4%' OR LOWER(Command) LIKE '%arsm%' OR LOWER(Command) LIKE '%aswbcc%' OR LOWER(Command) LIKE '%ateraagent%' OR LOWER(Command) LIKE '%avast business console client antivirus service%' OR LOWER(Command) LIKE '%avast! antivirus%' OR LOWER(Command) LIKE '%avg antivirus%' OR LOWER(Command) LIKE '%avgadminclient%' OR LOWER(Command) LIKE '%avgadminserver%' OR LOWER(Command) LIKE '%avp1%' OR LOWER(Command) LIKE '%backupexec%' OR LOWER(Command) LIKE '%bedbg%' OR LOWER(Command) LIKE '%bits%' OR LOWER(Command) LIKE '%brokerinfrastructure%' OR LOWER(Command) LIKE '%caslicenceserver%' OR LOWER(Command) LIKE '%caswebserver%' OR LOWER(Command) LIKE '%client agent 7.60%' OR LOWER(Command) LIKE '%core browsing protection%' OR LOWER(Command) LIKE '%core mail protection%' OR LOWER(Command) LIKE '%core scanning server%' OR LOWER(Command) LIKE '%dcagent%' OR LOWER(Command) LIKE '%dwmrcs%' OR LOWER(Command) LIKE '%ehttpsr%' OR LOWER(Command) LIKE '%ekrn%' OR LOWER(Command) LIKE '%enterprise client service%' OR LOWER(Command) LIKE '%epag%' OR LOWER(Command) LIKE '%epintegrationservice%' OR LOWER(Command) LIKE '%epprotectedservice%' OR LOWER(Command) LIKE '%epredline%' OR LOWER(Command) LIKE '%epsecurityservice%' OR LOWER(Command) LIKE '%epupdateservice%' OR LOWER(Command) LIKE '%erasersvc11710%' OR LOWER(Command) LIKE '%esgshkernel%' OR LOWER(Command) LIKE '%eshasrv%' OR LOWER(Command) LIKE '%fa_scheduler%' OR LOWER(Command) LIKE '%firebirdguardiandefaultinstance%' OR LOWER(Command) LIKE '%firebirdserverdefaultinstance%' OR LOWER(Command) LIKE '%fontcache3.0.0.0%' OR LOWER(Command) LIKE '%healthtlservice%' OR LOWER(Command) LIKE '%hmpalertsvc%' OR LOWER(Command) LIKE '%hms%' OR LOWER(Command) LIKE '%hostcontrollerservice%' OR LOWER(Command) LIKE '%hvdsvc%' OR LOWER(Command) LIKE '%iastordatamgrsvc%' OR LOWER(Command) LIKE '%ibmhps%' OR LOWER(Command) LIKE '%ibmspsvc%' OR LOWER(Command) LIKE '%iisadmin%' OR LOWER(Command) LIKE '%imansvc%' OR LOWER(Command) LIKE '%imap4svc%' OR LOWER(Command) LIKE '%instance2%' OR LOWER(Command) LIKE '%kavfs%' OR LOWER(Command) LIKE '%kavfsgt%' OR LOWER(Command) LIKE '%kavfsslp%' OR LOWER(Command) LIKE '%keyiso%' OR LOWER(Command) LIKE '%klbackupdisk%' OR LOWER(Command) LIKE '%klbackupflt%' OR LOWER(Command) LIKE '%klflt%' OR LOWER(Command) LIKE '%klhk%' OR LOWER(Command) LIKE '%klif%' OR LOWER(Command) LIKE '%klim6%' OR LOWER(Command) LIKE '%klkbdflt%' OR LOWER(Command) LIKE '%klmouflt%' OR LOWER(Command) LIKE '%klnagent%' OR LOWER(Command) LIKE '%klpd%' OR LOWER(Command) LIKE '%kltap%' OR LOWER(Command) LIKE '%ksde1.0.0%' OR LOWER(Command) LIKE '%logprocessorservice%' OR LOWER(Command) LIKE '%m8endpointagent%' OR LOWER(Command) LIKE '%macmnsvc%' OR LOWER(Command) LIKE '%masvc%' OR LOWER(Command) LIKE '%mbamservice%' OR LOWER(Command) LIKE '%mbcloudea%' OR LOWER(Command) LIKE '%mbendpointagent%' OR LOWER(Command) LIKE '%mcafeedlpagentservice%' OR LOWER(Command) LIKE '%mcafeeengineservice%' OR LOWER(Command) LIKE '%mcafeeeventparsersrv%' OR LOWER(Command) LIKE '%mcafeeframework%' OR LOWER(Command) LIKE '%mcafeetomcatsrv530%' OR LOWER(Command) LIKE '%mcshield%' OR LOWER(Command) LIKE '%mctaskmanager%' OR LOWER(Command) LIKE '%mfefire%' OR LOWER(Command) LIKE '%mfemms%' OR LOWER(Command) LIKE '%mfevto%' OR LOWER(Command) LIKE '%mfevtp%' OR LOWER(Command) LIKE '%mfewc%' OR LOWER(Command) LIKE '%mms%' OR LOWER(Command) LIKE '%mozyprobackup%' OR LOWER(Command) LIKE '%mpssvc%' OR LOWER(Command) LIKE '%mscomplianceaudit%' OR LOWER(Command) LIKE '%msdtc%' OR LOWER(Command) LIKE '%msdtsserver%' OR LOWER(Command) LIKE '%msexchange%' OR LOWER(Command) LIKE '%msftesq1sproo%' OR LOWER(Command) LIKE '%msftesql$prod%' OR LOWER(Command) LIKE '%msftesql$sqlexpress%' OR LOWER(Command) LIKE '%msolap$sql_2008%' OR LOWER(Command) LIKE '%msolap$system_bgc%' OR LOWER(Command) LIKE '%msolap$tps%' OR LOWER(Command) LIKE '%msolap$tpsama%' OR LOWER(Command) LIKE '%msolapstps%' OR LOWER(Command) LIKE '%msolapstpsama%' OR LOWER(Command) LIKE '%mssecflt%' OR LOWER(Command) LIKE '%mssq!i.sprofxengagemeht%' OR LOWER(Command) LIKE '%mssq0sharepoint%' OR LOWER(Command) LIKE '%mssq0sophos%' OR LOWER(Command) LIKE '%mssql%' OR LOWER(Command) LIKE '%mssqlfdlauncher$%' OR LOWER(Command) LIKE '%mysql%' OR LOWER(Command) LIKE '%nanoservicemain%' OR LOWER(Command) LIKE '%netmsmqactivator%' OR LOWER(Command) LIKE '%netpipeactivator%' OR LOWER(Command) LIKE '%netprofm%' OR LOWER(Command) LIKE '%nettcpactivator%' OR LOWER(Command) LIKE '%nettcpportsharing%' OR LOWER(Command) LIKE '%ntrtscan%' OR LOWER(Command) LIKE '%nvspwmi%' OR LOWER(Command) LIKE '%ofcservice%' OR LOWER(Command) LIKE '%online protection system%' OR LOWER(Command) LIKE '%oracleclientcache80%' OR LOWER(Command) LIKE '%oracledbconsole%' OR LOWER(Command) LIKE '%oraclemtsrecoveryservice%' OR LOWER(Command) LIKE '%oracleoradb11g_home1%' OR LOWER(Command) LIKE '%oracleservice%' OR LOWER(Command) LIKE '%oraclevsswriter%' OR LOWER(Command) LIKE '%osppsvc%' OR LOWER(Command) LIKE '%pandaaetheragent%' OR LOWER(Command) LIKE '%pccntupd%' OR LOWER(Command) LIKE '%pdvfsservice%' OR LOWER(Command) LIKE '%pop3svc%' OR LOWER(Command) LIKE '%postgresql-x64-9.4%' OR LOWER(Command) LIKE '%povfsservice%' OR LOWER(Command) LIKE '%psuaservice%' OR LOWER(Command) LIKE '%quick update service%' OR LOWER(Command) LIKE '%repairservice%' OR LOWER(Command) LIKE '%reportserver%' OR LOWER(Command) LIKE '%reportserver$%' OR LOWER(Command) LIKE '%resvc%' OR LOWER(Command) LIKE '%rpceptmapper%' OR LOWER(Command) LIKE '%sacsvr%' OR LOWER(Command) LIKE '%samss%' OR LOWER(Command) LIKE '%savadminservice%' OR LOWER(Command) LIKE '%savservice%' OR LOWER(Command) LIKE '%scsecsvc%' OR LOWER(Command) LIKE '%sdrsvc%' OR LOWER(Command) LIKE '%searchexchangetracing%' OR LOWER(Command) LIKE '%sense%' OR LOWER(Command) LIKE '%sentinelagent%' OR LOWER(Command) LIKE '%sentinelhelperservice%' OR LOWER(Command) LIKE '%sepmasterservice%' OR LOWER(Command) LIKE '%shmonitor%' OR LOWER(Command) LIKE '%smcinst%' OR LOWER(Command) LIKE '%smcservice%' OR LOWER(Command) LIKE '%smtpsvc%' OR LOWER(Command) LIKE '%snac%' OR LOWER(Command) LIKE '%sntpservice%' OR LOWER(Command) LIKE '%sophos%' OR LOWER(Command) LIKE '%sq1safeolrservice%' OR LOWER(Command) LIKE '%sql backups%' OR LOWER(Command) LIKE '%sql server%' OR LOWER(Command) LIKE '%sqlagent%' OR LOWER(Command) LIKE '%sqlanys_sage_fas_fixed_assets%' OR LOWER(Command) LIKE '%sqlbrowser%' OR LOWER(Command) LIKE '%sqlsafe%' OR LOWER(Command) LIKE '%sqlserveragent%' OR LOWER(Command) LIKE '%sqltelemetry%' OR LOWER(Command) LIKE '%sqlwriter%' OR LOWER(Command) LIKE '%ssistelemetry130%' OR LOWER(Command) LIKE '%sstpsvc%' OR LOWER(Command) LIKE '%storflt%' OR LOWER(Command) LIKE '%svcgenerichost%' OR LOWER(Command) LIKE '%swc_service%' OR LOWER(Command) LIKE '%swi_filter%' OR LOWER(Command) LIKE '%swi_service%' OR LOWER(Command) LIKE '%swi_update%' OR LOWER(Command) LIKE '%symantec%' OR LOWER(Command) LIKE '%sysmon%' OR LOWER(Command) LIKE '%teamviewer%' OR LOWER(Command) LIKE '%telemetryserver%' OR LOWER(Command) LIKE '%threatlockerservice%' OR LOWER(Command) LIKE '%tmbmserver%' OR LOWER(Command) LIKE '%tmccsf%' OR LOWER(Command) LIKE '%tmfilter%' OR LOWER(Command) LIKE '%tmicrcscanservice%' OR LOWER(Command) LIKE '%tmlisten%' OR LOWER(Command) LIKE '%tmlwcsservice%' OR LOWER(Command) LIKE '%tmpfw%' OR LOWER(Command) LIKE '%tmprefilter%' OR LOWER(Command) LIKE '%tmproxy%' OR LOWER(Command) LIKE '%tmsmartrelayservice%' OR LOWER(Command) LIKE '%tmusa%' OR LOWER(Command) LIKE '%tomcat%' OR LOWER(Command) LIKE '%trend micro deep security manager%' OR LOWER(Command) LIKE '%truekey%' OR LOWER(Command) LIKE '%ufnet%' OR LOWER(Command) LIKE '%ui0detect%' OR LOWER(Command) LIKE '%unifi%' OR LOWER(Command) LIKE '%utodetect%' OR LOWER(Command) LIKE '%vds%' OR LOWER(Command) LIKE '%veeam%' OR LOWER(Command) LIKE '%veeamdeploysvc%' OR LOWER(Command) LIKE '%veritas system recovery%' OR LOWER(Command) LIKE '%vmic%' OR LOWER(Command) LIKE '%vmtools%' OR LOWER(Command) LIKE '%vmvss%' OR LOWER(Command) LIKE '%vsapint%' OR LOWER(Command) LIKE '%vss%' OR LOWER(Command) LIKE '%w3svc%' OR LOWER(Command) LIKE '%wbengine%' OR LOWER(Command) LIKE '%wdnissvc%' OR LOWER(Command) LIKE '%weancloudsve%' OR LOWER(Command) LIKE '%weems jy%' OR LOWER(Command) LIKE '%windefend%' OR LOWER(Command) LIKE '%wmms%' OR LOWER(Command) LIKE '%wozyprobackup%' OR LOWER(Command) LIKE '%wpffontcache_v0400%' OR LOWER(Command) LIKE '%wrsvc%' OR LOWER(Command) LIKE '%wsbexchange%' OR LOWER(Command) LIKE '%wsearch%' OR LOWER(Command) LIKE '%wscsvc%' OR LOWER(Command) LIKE '%zoolz 2 service%')