imProcessCreate | where ((TargetProcessFileOriginalName in~ ("net.exe", "net1.exe", "PowerShell_ISE.EXE", "PowerShell.EXE", "psservice.exe", "pwsh.dll", "sc.exe", "wmic.exe")) or (TargetProcessName endswith "\\net.exe" or TargetProcessName endswith "\\net1.exe" or TargetProcessName endswith "\\PowerShell_ISE.EXE" or TargetProcessName endswith "\\powershell.exe" or TargetProcessName endswith "\\PsService.exe" or TargetProcessName endswith "\\PsService64.exe" or TargetProcessName endswith "\\pwsh.exe" or TargetProcessName endswith "\\sc.exe" or TargetProcessName endswith "\\wmic.exe")) and ((TargetProcessCommandLine contains " delete " or TargetProcessCommandLine contains ".delete()" or TargetProcessCommandLine contains " pause " or TargetProcessCommandLine contains " stop " or TargetProcessCommandLine contains "Stop-Service " or TargetProcessCommandLine contains "Remove-Service ") or (TargetProcessCommandLine contains "config" and TargetProcessCommandLine contains "start=disabled")) and (TargetProcessCommandLine contains "143Svc" or TargetProcessCommandLine contains "aakore" or TargetProcessCommandLine contains "Acronis VSS Provider" or TargetProcessCommandLine contains "AcronisActiveProtectionService" or TargetProcessCommandLine contains "AcronisAgent" or TargetProcessCommandLine contains "AcronisCyberProtectionService" or TargetProcessCommandLine contains "AcrSch2Svc" or TargetProcessCommandLine contains "AdobeARMservice" or TargetProcessCommandLine contains "AHS Service" or TargetProcessCommandLine contains "Antivirus" or TargetProcessCommandLine contains "Apache4" or TargetProcessCommandLine contains "ARSM" or TargetProcessCommandLine contains "aswBcc" or TargetProcessCommandLine contains "AteraAgent" or TargetProcessCommandLine contains "Avast Business Console Client Antivirus Service" or TargetProcessCommandLine contains "avast! Antivirus" or TargetProcessCommandLine contains "AVG Antivirus" or TargetProcessCommandLine contains "avgAdminClient" or TargetProcessCommandLine contains "AvgAdminServer" or TargetProcessCommandLine contains "AVP1" or TargetProcessCommandLine contains "BackupExec" or TargetProcessCommandLine contains "bedbg" or TargetProcessCommandLine contains "BITS" or TargetProcessCommandLine contains "BrokerInfrastructure" or TargetProcessCommandLine contains "CASLicenceServer" or TargetProcessCommandLine contains "CASWebServer" or TargetProcessCommandLine contains "Client Agent 7.60" or TargetProcessCommandLine contains "Core Browsing Protection" or TargetProcessCommandLine contains "Core Mail Protection" or TargetProcessCommandLine contains "Core Scanning Server" or TargetProcessCommandLine contains "DCAgent" or TargetProcessCommandLine contains "dwmrcs" or TargetProcessCommandLine contains "EhttpSr" or TargetProcessCommandLine contains "ekrn" or TargetProcessCommandLine contains "Enterprise Client Service" or TargetProcessCommandLine contains "epag" or TargetProcessCommandLine contains "EPIntegrationService" or TargetProcessCommandLine contains "EPProtectedService" or TargetProcessCommandLine contains "EPRedline" or TargetProcessCommandLine contains "EPSecurityService" or TargetProcessCommandLine contains "EPUpdateService" or TargetProcessCommandLine contains "EraserSvc11710" or TargetProcessCommandLine contains "EsgShKernel" or TargetProcessCommandLine contains "ESHASRV" or TargetProcessCommandLine contains "FA_Scheduler" or TargetProcessCommandLine contains "FirebirdGuardianDefaultInstance" or TargetProcessCommandLine contains "FirebirdServerDefaultInstance" or TargetProcessCommandLine contains "FontCache3.0.0.0" or TargetProcessCommandLine contains "HealthTLService" or TargetProcessCommandLine contains "hmpalertsvc" or TargetProcessCommandLine contains "HMS" or TargetProcessCommandLine contains "HostControllerService" or TargetProcessCommandLine contains "hvdsvc" or TargetProcessCommandLine contains "IAStorDataMgrSvc" or TargetProcessCommandLine contains "IBMHPS" or TargetProcessCommandLine contains "ibmspsvc" or TargetProcessCommandLine contains "IISAdmin" or TargetProcessCommandLine contains "IMANSVC" or TargetProcessCommandLine contains "IMAP4Svc" or TargetProcessCommandLine contains "instance2" or TargetProcessCommandLine contains "KAVFS" or TargetProcessCommandLine contains "KAVFSGT" or TargetProcessCommandLine contains "kavfsslp" or TargetProcessCommandLine contains "KeyIso" or TargetProcessCommandLine contains "klbackupdisk" or TargetProcessCommandLine contains "klbackupflt" or TargetProcessCommandLine contains "klflt" or TargetProcessCommandLine contains "klhk" or TargetProcessCommandLine contains "KLIF" or TargetProcessCommandLine contains "klim6" or TargetProcessCommandLine contains "klkbdflt" or TargetProcessCommandLine contains "klmouflt" or TargetProcessCommandLine contains "klnagent" or TargetProcessCommandLine contains "klpd" or TargetProcessCommandLine contains "kltap" or TargetProcessCommandLine contains "KSDE1.0.0" or TargetProcessCommandLine contains "LogProcessorService" or TargetProcessCommandLine contains "M8EndpointAgent" or TargetProcessCommandLine contains "macmnsvc" or TargetProcessCommandLine contains "masvc" or TargetProcessCommandLine contains "MBAMService" or TargetProcessCommandLine contains "MBCloudEA" or TargetProcessCommandLine contains "MBEndpointAgent" or TargetProcessCommandLine contains "McAfeeDLPAgentService" or TargetProcessCommandLine contains "McAfeeEngineService" or TargetProcessCommandLine contains "MCAFEEEVENTPARSERSRV" or TargetProcessCommandLine contains "McAfeeFramework" or TargetProcessCommandLine contains "MCAFEETOMCATSRV530" or TargetProcessCommandLine contains "McShield" or TargetProcessCommandLine contains "McTaskManager" or TargetProcessCommandLine contains "mfefire" or TargetProcessCommandLine contains "mfemms" or TargetProcessCommandLine contains "mfevto" or TargetProcessCommandLine contains "mfevtp" or TargetProcessCommandLine contains "mfewc" or TargetProcessCommandLine contains "MMS" or TargetProcessCommandLine contains "mozyprobackup" or TargetProcessCommandLine contains "mpssvc" or TargetProcessCommandLine contains "MSComplianceAudit" or TargetProcessCommandLine contains "MSDTC" or TargetProcessCommandLine contains "MsDtsServer" or TargetProcessCommandLine contains "MSExchange" or TargetProcessCommandLine contains "msftesq1SPROO" or TargetProcessCommandLine contains "msftesql$PROD" or TargetProcessCommandLine contains "msftesql$SQLEXPRESS" or TargetProcessCommandLine contains "MSOLAP$SQL_2008" or TargetProcessCommandLine contains "MSOLAP$SYSTEM_BGC" or TargetProcessCommandLine contains "MSOLAP$TPS" or TargetProcessCommandLine contains "MSOLAP$TPSAMA" or TargetProcessCommandLine contains "MSOLAPSTPS" or TargetProcessCommandLine contains "MSOLAPSTPSAMA" or TargetProcessCommandLine contains "mssecflt" or TargetProcessCommandLine contains "MSSQ!I.SPROFXENGAGEMEHT" or TargetProcessCommandLine contains "MSSQ0SHAREPOINT" or TargetProcessCommandLine contains "MSSQ0SOPHOS" or TargetProcessCommandLine contains "MSSQL" or TargetProcessCommandLine contains "MSSQLFDLauncher$" or TargetProcessCommandLine contains "MySQL" or TargetProcessCommandLine contains "NanoServiceMain" or TargetProcessCommandLine contains "NetMsmqActivator" or TargetProcessCommandLine contains "NetPipeActivator" or TargetProcessCommandLine contains "netprofm" or TargetProcessCommandLine contains "NetTcpActivator" or TargetProcessCommandLine contains "NetTcpPortSharing" or TargetProcessCommandLine contains "ntrtscan" or TargetProcessCommandLine contains "nvspwmi" or TargetProcessCommandLine contains "ofcservice" or TargetProcessCommandLine contains "Online Protection System" or TargetProcessCommandLine contains "OracleClientCache80" or TargetProcessCommandLine contains "OracleDBConsole" or TargetProcessCommandLine contains "OracleMTSRecoveryService" or TargetProcessCommandLine contains "OracleOraDb11g_home1" or TargetProcessCommandLine contains "OracleService" or TargetProcessCommandLine contains "OracleVssWriter" or TargetProcessCommandLine contains "osppsvc" or TargetProcessCommandLine contains "PandaAetherAgent" or TargetProcessCommandLine contains "PccNTUpd" or TargetProcessCommandLine contains "PDVFSService" or TargetProcessCommandLine contains "POP3Svc" or TargetProcessCommandLine contains "postgresql-x64-9.4" or TargetProcessCommandLine contains "POVFSService" or TargetProcessCommandLine contains "PSUAService" or TargetProcessCommandLine contains "Quick Update Service" or TargetProcessCommandLine contains "RepairService" or TargetProcessCommandLine contains "ReportServer" or TargetProcessCommandLine contains "ReportServer$" or TargetProcessCommandLine contains "RESvc" or TargetProcessCommandLine contains "RpcEptMapper" or TargetProcessCommandLine contains "sacsvr" or TargetProcessCommandLine contains "SamSs" or TargetProcessCommandLine contains "SAVAdminService" or TargetProcessCommandLine contains "SAVService" or TargetProcessCommandLine contains "ScSecSvc" or TargetProcessCommandLine contains "SDRSVC" or TargetProcessCommandLine contains "SearchExchangeTracing" or TargetProcessCommandLine contains "sense" or TargetProcessCommandLine contains "SentinelAgent" or TargetProcessCommandLine contains "SentinelHelperService" or TargetProcessCommandLine contains "SepMasterService" or TargetProcessCommandLine contains "ShMonitor" or TargetProcessCommandLine contains "Smcinst" or TargetProcessCommandLine contains "SmcService" or TargetProcessCommandLine contains "SMTPSvc" or TargetProcessCommandLine contains "SNAC" or TargetProcessCommandLine contains "SntpService" or TargetProcessCommandLine contains "Sophos" or TargetProcessCommandLine contains "SQ1SafeOLRService" or TargetProcessCommandLine contains "SQL Backups" or TargetProcessCommandLine contains "SQL Server" or TargetProcessCommandLine contains "SQLAgent" or TargetProcessCommandLine contains "SQLANYs_Sage_FAS_Fixed_Assets" or TargetProcessCommandLine contains "SQLBrowser" or TargetProcessCommandLine contains "SQLsafe" or TargetProcessCommandLine contains "SQLSERVERAGENT" or TargetProcessCommandLine contains "SQLTELEMETRY" or TargetProcessCommandLine contains "SQLWriter" or TargetProcessCommandLine contains "SSISTELEMETRY130" or TargetProcessCommandLine contains "SstpSvc" or TargetProcessCommandLine contains "storflt" or TargetProcessCommandLine contains "svcGenericHost" or TargetProcessCommandLine contains "swc_service" or TargetProcessCommandLine contains "swi_filter" or TargetProcessCommandLine contains "swi_service" or TargetProcessCommandLine contains "swi_update" or TargetProcessCommandLine contains "Symantec" or TargetProcessCommandLine contains "sysmon" or TargetProcessCommandLine contains "TeamViewer" or TargetProcessCommandLine contains "Telemetryserver" or TargetProcessCommandLine contains "ThreatLockerService" or TargetProcessCommandLine contains "TMBMServer" or TargetProcessCommandLine contains "TmCCSF" or TargetProcessCommandLine contains "TmFilter" or TargetProcessCommandLine contains "TMiCRCScanService" or TargetProcessCommandLine contains "tmlisten" or TargetProcessCommandLine contains "TMLWCSService" or TargetProcessCommandLine contains "TmPfw" or TargetProcessCommandLine contains "TmPreFilter" or TargetProcessCommandLine contains "TmProxy" or TargetProcessCommandLine contains "TMSmartRelayService" or TargetProcessCommandLine contains "tmusa" or TargetProcessCommandLine contains "Tomcat" or TargetProcessCommandLine contains "Trend Micro Deep Security Manager" or TargetProcessCommandLine contains "TrueKey" or TargetProcessCommandLine contains "UFNet" or TargetProcessCommandLine contains "UI0Detect" or TargetProcessCommandLine contains "UniFi" or TargetProcessCommandLine contains "UTODetect" or TargetProcessCommandLine contains "vds" or TargetProcessCommandLine contains "Veeam" or TargetProcessCommandLine contains "VeeamDeploySvc" or TargetProcessCommandLine contains "Veritas System Recovery" or TargetProcessCommandLine contains "vmic" or TargetProcessCommandLine contains "VMTools" or TargetProcessCommandLine contains "vmvss" or TargetProcessCommandLine contains "VSApiNt" or TargetProcessCommandLine contains "VSS" or TargetProcessCommandLine contains "W3Svc" or TargetProcessCommandLine contains "wbengine" or TargetProcessCommandLine contains "WdNisSvc" or TargetProcessCommandLine contains "WeanClOudSve" or TargetProcessCommandLine contains "Weems JY" or TargetProcessCommandLine contains "WinDefend" or TargetProcessCommandLine contains "wmms" or TargetProcessCommandLine contains "wozyprobackup" or TargetProcessCommandLine contains "WPFFontCache_v0400" or TargetProcessCommandLine contains "WRSVC" or TargetProcessCommandLine contains "wsbexchange" or TargetProcessCommandLine contains "WSearch" or TargetProcessCommandLine contains "wscsvc" or TargetProcessCommandLine contains "Zoolz 2 Service")