Detection rules › Elastic

Suspicious Security Product Enumeration

Source
github.com/elastic/protections-artifacts

Enumeration of security products may be a precursor to Defense Evasion.

MITRE ATT&CK coverage

Rule body

[rule]
description = "Enumeration of security products may be a precursor to Defense Evasion."
id = "8749c08b-58f5-4e7c-ab15-3551b7541f7a"
license = "Elastic License v2"
name = "Suspicious Security Product Enumeration"
os_list = ["windows"]
version = "1.0.18"

query = '''
api where
  process.Ext.api.name like "IWbemServices::CreateInstanceEnum*" and process.Ext.token.integrity_level_name != "system" and
  process.Ext.api.parameters.operation == "AntiVirusProduct" and
  process.Ext.api.metadata.client_is_local == true and process.parent.executable != null and user.id != "S-1-5-18" and

  /* ignore process cache enrichment failures */
  process.Ext.api.metadata.client_process_id == null and
  
  /* exclusions */
  not(
   (process.name in ("MpCmdRun.exe", "MsMpEng.exe") and
    process.code_signature.subject_name == "Microsoft Windows Publisher" and process.code_signature.trusted == true and
    process.executable :
           ("?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*.exe",
            "?:\\Program Files\\Microsoft Security Client\\*.exe",
            "?:\\Program Files\\Windows Defender\\*.exe",
            "?:\\Program Files (x86)\\Windows Defender\\*.exe",
            "?:\\Program Files (x86)\\Lenovo\\System Update\\ConfigScheduledTask.exe") and
    process.parent.executable :
           ("?:\\Windows\\System32\\services.exe",
            "?:\\Windows\\System32\\svchost.exe",
            "?:\\Program Files\\Windows Defender\\MpCmdRun.exe",
            "?:\\Program Files\\Common Files\\microsoft shared\\ClickToRun\\OfficeClickToRun.exe")) or

   (process.executable : "\\Device\\HarddiskVolume*\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpCmdRun.exe" and
    process.parent.executable : "\\Device\\HarddiskVolume*\\Windows\\System32\\svchost.exe") or

   (process.executable :
               ("?:\\Windows\\System32\\MRT.exe",
                "?:\\$WINDOWS.~BT\\Sources\\SetupHost.exe",
                "?:\\Windows\\SysWOW64\\systeminfo.exe",
                "?:\\Windows\\System32\\systeminfo.exe",
                "?:\\Program Files\\Windows Defender\\MpCmdRun.exe",
                "C:\\Program Files\\Windows Defender\\MsMpEng.exe",
                "C:\\Program Files\\Microsoft Visual Studio\\20??\\Professional\\Common?\\IDE\\devenv.exe") and
    process.code_signature.subject_name in ("Microsoft Windows", "Microsoft Corporation") and process.code_signature.trusted == true) or

   (process.executable : ("?:\\$Windows.~??\\Sources\\SetupHost.exe", "?:\\$WINDOWS.~??\\Sources\\mighost.exe") and
    process.code_signature.subject_name == "Microsoft Windows" and process.code_signature.trusted == true) or

   (process.executable : "C:\\Windows\\System32\\svchost.exe" and process.parent.executable : "?:\\Windows\\System32\\services.exe") or

   (process.executable : "C:\\Program Files (x86)\\Ivanti\\EPM Agent\\Inventory\\ldiscn32.exe" and
    process.code_signature.subject_name == "Ivanti, Inc." and process.code_signature.trusted == true) or

   (process.executable : "C:\\Program Files (x86)\\ASUS\\AsusFanControlService\\*\\AsusFanControlService.exe" and
    process.code_signature.subject_name == "ASUSTeK COMPUTER INC." and process.code_signature.trusted == true) or

   (process.executable :
            ("?:\\Program Files\\GLPI-Agent\\perl\\bin\\glpi-agent.exe",
             "?:\\Windows\\SysWOW64\\EasyResume.exe",
             "?:\\Windows\\SysWOW64\\Lenovo\\PowerMgr\\EasyResume.exe") and
    process.parent.executable : "?:\\Windows\\System32\\services.exe") or

   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and process.Ext.api.parameters.operation == "Win32_DeviceGuard" and
    process.parent.executable like "?:\\Program Files\\Microsoft Cloud Managed Desktop Extension\\CMDExtension\\Microsoft.Management.Services.CloudManagedDesktop.Agent.exe") or

   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    process.parent.executable : "?:\\Windows\\System32\\cmd.exe" and user.id == "S-1-5-18" and
    process.Ext.api.parameters.operation == "Win32_DeviceGuard" and
    process.command_line == "Powershell  \"(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\\Microsoft\\Windows\\DeviceGuard).SecurityServicesRunning\"") or

   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    process.parent.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    user.id == "S-1-5-18" and process.command_line like "*HexProductState*") or

   (process.command_line : "powershell \"Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct\"" and
    process.parent.executable : "C:\\Users\\*\\AppData\\Local\\Programs\\DrSprinto\\DrSprinto.exe") or

   (process.command_line : "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -Version 5.1 -s -NoLogo -NoProfile" and
    process.parent.executable : "C:\\Windows\\_ScriptingFramework\\Modul\\Engine.exe") or

   (process.name in ("powershell.exe", "pwsh.exe") and process.Ext.api.parameters.operation == "Win32_DeviceGuard") or

   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    process.parent.executable : ("?:\\Windows\\explorer.exe", "?:\\Windows\\System32\\cmd.exe", "?:\\Program Files\\Mesh Agent\\MeshAgent.exe") and
    process.command_line : ("powershell",
                             "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                             "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" ",
                             "\"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe\" -noexit -command import-module ActiveDirectory",
                             "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe  \"Get-CimInstance -classname 'Win32_DeviceGuard' -namespace 'root\\Microsoft\\Windows\\DeviceGuard' | select-Object -property 'SecurityServicesRunning' | Out-File 'C:\\Program Files\\SCAP Compliance Checker 5.10.1\\Local\\LOCALHOST_*.tmp'\"",
                             "powershell.exe -NoLogo -NoProfile -command \"try { $VBSStatus=(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\\Microsoft\\Windows\\DeviceGuard).VirtualizationBasedSecurityStatus; if ($VBSStatus -eq $null) { Write-Output 0 } else { Write-Output $VBSStatus } } catch { Write-Output 0 }\"")) or

   (process.code_signature.subject_name in ("CPUID", "Lakeside Software, LLC", "CYBELSOFT", "Connectwise, LLC",
    "Corsair Memory, Inc.", "Ivanti, Inc.", "POINTWARE INFORMATICA LTDA", "ASUSTeK COMPUTER INC.", "Snow Software AB",
    "IObit CO., LTD", "ESET, spol. s r.o.", "Sophos Ltd", "WithSecure Oyj", "Trend Micro, Inc.", "Belarc, Inc.",
    "KASEYA HOLDINGS INC.", "Elliptic Laboratories ASA", "IObit Information Technology", "CPUID S.A.R.L.U.", "CPUID",
    "Panda Security S.L", "Shenzhen Drive The Life Technology Co.,Ltd.", "PDQ.com Corporation", "KERISH PRODUCTS LLP") and
    process.code_signature.trusted == true) or

    process.executable :
             ("C:\\Program Files (x86)\\Varian\\KeystoneAgent\\VMS.Keystone.DeploymentAgent.exe",
              "C:\\Program Files\\FusionInventory-Agent\\perl\\bin\\perl.exe",
              "C:\\Program Files\\FusionInventory-Agent\\perl\\bin\\fusioninventory-agent.exe",
              "C:\\Program Files (x86)\\Varian\\KeystoneAgent\\VMS.Keystone.DeploymentAgent.exe",
              "C:\\Program Files\\AzureConnectedMachineAgent\\GCArcService2\\GC\\gc_worker.exe",
              "C:\\Program Files (x86)\\Belarc\\BelarcAdvisor\\BelarcAdvisor.exe",
              "C:\\Program Files (x86)\\FusionInventory-Agent\\perl\\bin\\fusioninventory-agent.exe",
              "C:\\Windows\\System32\\CompatTelRunner.exe",
              "C:\\Windows\\SysWOW64\\systeminfo.exe",
              "C:\\Windows\\System32\\systeminfo.exe",
              "C:\\Program Files\\Windows Defender\\MpCmdRun.exe",
              "C:\\Program Files (x86)\\Kaseya\\KSAASS*\\AgentMon.exe",
              "C:\\Program Files\\BMC Software\\Client Management\\Client\\bin\\mtxagent.exe",
              "C:\\Program Files (x86)\\LANDesk\\LDClient\\LDISCN32.EXE",
              "C:\\Program Files\\GLPI-Agent\\perl\\bin\\glpi-agent.exe",
              "C:\\Program Files (x86)\\GLPI-Agent\\perl\\bin\\glpi-agent.exe",
              "C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpCmdRun.exe",
              "C:\\Program Files (x86)\\Google\\Chrome\\Application\\*\\elevation_service.exe",
              "C:\\Program Files\\Microsoft Visual Studio\\20??\\Enterprise\\Common?\\IDE\\devenv.exe",
              "C:\\Program Files (x86)\\OSTotoSoft\\DriverTalent\\HardWareReport.exe",
              "C:\\Windows\\System32\\UsoClient.exe",
              "C:\\Windows\\CCM\\CcmExec.exe",
              "C:\\Windows\\system32\\wsmprovhost.exe",
              "\\Device\\Mup\\*.exe",
              "C:\\Windows\\Microsoft.NET\\Framework64\\v4.*\\mscorsvw.exe",
              "C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\4.*\\MpCmdRun.exe",
              "C:\\Program Files\\Microsoft Visual Studio\\*\\Common?\\IDE\\devenv.exe",
              "C:\\Program Files\\Microsoft OneDrive\\*\\FileCoAuth.exe") or

    (process.parent.executable : "?:\\Windows\\System32\\WmiPrvSe.exe" and process.name == "powershell.exe" and
     process.command_line : "\"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe\" -NoLogo -Noninteractive -NoProfile  -ExecutionPolicy Bypass \"& 'C:\\WINDOWS\\CCM\\SystemTemp\\*.ps1'\"") or

    (process.name : "powershell.exe" and
     process.parent.executable : ("C:\\Program Files\\Tychon\\TychonEngine.exe", "C:\\Windows\\System32\\EVENTSENTRY\\eventsentry_svc_x64.exe")) or

    (process.name : "powershell.exe" and
     process.command_line : ("powershell  Get-CimInstance –ClassName Win32_DeviceGuard –Namespace root\\Microsoft\\Windows\\DeviceGuard",
                             "\"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe\" -NoLogo -Noninteractive -NoProfile  -ExecutionPolicy Bypass \"& 'C:\\WINDOWS\\CCM\\SystemTemp\\*.ps1'\" True")) or

    (process.name : "cscript.exe" and process.parent.executable : "C:\\Program Files (x86)\\Bostonpost Technology\\Property Manager *\\propertymanager.exe") or

     (process.name : "powershell.exe" and 
      process.parent.executable : ("C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseIR.exe",
                                   "C:\\ProgramData\\Microsoft\\Windows Defender Advanced Threat Protection\\Platform\\*\\SenseIR.exe")) or

    (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
     process.command_line : "*\\CommandCenterAgent\\agent.ps1*") or

    (process.parent.executable : "?:\\Windows\\System32\\wscript.exe" and
     process.command_line : "*\\CommandCenterAgent\\*")
  )
'''

min_endpoint_version = "8.15.0"
optional_actions = []
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0

[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1518"
name = "Software Discovery"
reference = "https://attack.mitre.org/techniques/T1518/"
[[threat.technique.subtechnique]]
id = "T1518.001"
name = "Security Software Discovery"
reference = "https://attack.mitre.org/techniques/T1518/001/"



[threat.tactic]
id = "TA0007"
name = "Discovery"
reference = "https://attack.mitre.org/tactics/TA0007/"

[internal]
min_endpoint_version = "8.15.0"

Stages and Predicates

Stage 1: api

api where
  process.Ext.api.name like "IWbemServices::CreateInstanceEnum*" and process.Ext.token.integrity_level_name != "system" and
  process.Ext.api.parameters.operation == "AntiVirusProduct" and
  process.Ext.api.metadata.client_is_local == true and process.parent.executable != null and user.id != "S-1-5-18" and
  process.Ext.api.metadata.client_process_id == null and
  not(
   (process.name in ("MpCmdRun.exe", "MsMpEng.exe") and
    process.code_signature.subject_name == "Microsoft Windows Publisher" and process.code_signature.trusted == true and
    process.executable :
           ("?:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*.exe",
            "?:\\Program Files\\Microsoft Security Client\\*.exe",
            "?:\\Program Files\\Windows Defender\\*.exe",
            "?:\\Program Files (x86)\\Windows Defender\\*.exe",
            "?:\\Program Files (x86)\\Lenovo\\System Update\\ConfigScheduledTask.exe") and
    process.parent.executable :
           ("?:\\Windows\\System32\\services.exe",
            "?:\\Windows\\System32\\svchost.exe",
            "?:\\Program Files\\Windows Defender\\MpCmdRun.exe",
            "?:\\Program Files\\Common Files\\microsoft shared\\ClickToRun\\OfficeClickToRun.exe")) or
   (process.executable : "\\Device\\HarddiskVolume*\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpCmdRun.exe" and
    process.parent.executable : "\\Device\\HarddiskVolume*\\Windows\\System32\\svchost.exe") or
   (process.executable :
               ("?:\\Windows\\System32\\MRT.exe",
                "?:\\$WINDOWS.~BT\\Sources\\SetupHost.exe",
                "?:\\Windows\\SysWOW64\\systeminfo.exe",
                "?:\\Windows\\System32\\systeminfo.exe",
                "?:\\Program Files\\Windows Defender\\MpCmdRun.exe",
                "C:\\Program Files\\Windows Defender\\MsMpEng.exe",
                "C:\\Program Files\\Microsoft Visual Studio\\20??\\Professional\\Common?\\IDE\\devenv.exe") and
    process.code_signature.subject_name in ("Microsoft Windows", "Microsoft Corporation") and process.code_signature.trusted == true) or
   (process.executable : ("?:\\$Windows.~??\\Sources\\SetupHost.exe", "?:\\$WINDOWS.~??\\Sources\\mighost.exe") and
    process.code_signature.subject_name == "Microsoft Windows" and process.code_signature.trusted == true) or
   (process.executable : "C:\\Windows\\System32\\svchost.exe" and process.parent.executable : "?:\\Windows\\System32\\services.exe") or
   (process.executable : "C:\\Program Files (x86)\\Ivanti\\EPM Agent\\Inventory\\ldiscn32.exe" and
    process.code_signature.subject_name == "Ivanti, Inc." and process.code_signature.trusted == true) or
   (process.executable : "C:\\Program Files (x86)\\ASUS\\AsusFanControlService\\*\\AsusFanControlService.exe" and
    process.code_signature.subject_name == "ASUSTeK COMPUTER INC." and process.code_signature.trusted == true) or
   (process.executable :
            ("?:\\Program Files\\GLPI-Agent\\perl\\bin\\glpi-agent.exe",
             "?:\\Windows\\SysWOW64\\EasyResume.exe",
             "?:\\Windows\\SysWOW64\\Lenovo\\PowerMgr\\EasyResume.exe") and
    process.parent.executable : "?:\\Windows\\System32\\services.exe") or
   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and process.Ext.api.parameters.operation == "Win32_DeviceGuard" and
    process.parent.executable like "?:\\Program Files\\Microsoft Cloud Managed Desktop Extension\\CMDExtension\\Microsoft.Management.Services.CloudManagedDesktop.Agent.exe") or
   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    process.parent.executable : "?:\\Windows\\System32\\cmd.exe" and user.id == "S-1-5-18" and
    process.Ext.api.parameters.operation == "Win32_DeviceGuard" and
    process.command_line == "Powershell  \"(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\\Microsoft\\Windows\\DeviceGuard).SecurityServicesRunning\"") or
   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    process.parent.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    user.id == "S-1-5-18" and process.command_line like "*HexProductState*") or
   (process.command_line : "powershell \"Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct\"" and
    process.parent.executable : "C:\\Users\\*\\AppData\\Local\\Programs\\DrSprinto\\DrSprinto.exe") or
   (process.command_line : "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -Version 5.1 -s -NoLogo -NoProfile" and
    process.parent.executable : "C:\\Windows\\_ScriptingFramework\\Modul\\Engine.exe") or
   (process.name in ("powershell.exe", "pwsh.exe") and process.Ext.api.parameters.operation == "Win32_DeviceGuard") or
   (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
    process.parent.executable : ("?:\\Windows\\explorer.exe", "?:\\Windows\\System32\\cmd.exe", "?:\\Program Files\\Mesh Agent\\MeshAgent.exe") and
    process.command_line : ("powershell",
                             "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
                             "\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" ",
                             "\"C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe\" -noexit -command import-module ActiveDirectory",
                             "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe  \"Get-CimInstance -classname 'Win32_DeviceGuard' -namespace 'root\\Microsoft\\Windows\\DeviceGuard' | select-Object -property 'SecurityServicesRunning' | Out-File 'C:\\Program Files\\SCAP Compliance Checker 5.10.1\\Local\\LOCALHOST_*.tmp'\"",
                             "powershell.exe -NoLogo -NoProfile -command \"try { $VBSStatus=(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\\Microsoft\\Windows\\DeviceGuard).VirtualizationBasedSecurityStatus; if ($VBSStatus -eq $null) { Write-Output 0 } else { Write-Output $VBSStatus } } catch { Write-Output 0 }\"")) or
   (process.code_signature.subject_name in ("CPUID", "Lakeside Software, LLC", "CYBELSOFT", "Connectwise, LLC",
    "Corsair Memory, Inc.", "Ivanti, Inc.", "POINTWARE INFORMATICA LTDA", "ASUSTeK COMPUTER INC.", "Snow Software AB",
    "IObit CO., LTD", "ESET, spol. s r.o.", "Sophos Ltd", "WithSecure Oyj", "Trend Micro, Inc.", "Belarc, Inc.",
    "KASEYA HOLDINGS INC.", "Elliptic Laboratories ASA", "IObit Information Technology", "CPUID S.A.R.L.U.", "CPUID",
    "Panda Security S.L", "Shenzhen Drive The Life Technology Co.,Ltd.", "PDQ.com Corporation", "KERISH PRODUCTS LLP") and
    process.code_signature.trusted == true) or
    process.executable :
             ("C:\\Program Files (x86)\\Varian\\KeystoneAgent\\VMS.Keystone.DeploymentAgent.exe",
              "C:\\Program Files\\FusionInventory-Agent\\perl\\bin\\perl.exe",
              "C:\\Program Files\\FusionInventory-Agent\\perl\\bin\\fusioninventory-agent.exe",
              "C:\\Program Files (x86)\\Varian\\KeystoneAgent\\VMS.Keystone.DeploymentAgent.exe",
              "C:\\Program Files\\AzureConnectedMachineAgent\\GCArcService2\\GC\\gc_worker.exe",
              "C:\\Program Files (x86)\\Belarc\\BelarcAdvisor\\BelarcAdvisor.exe",
              "C:\\Program Files (x86)\\FusionInventory-Agent\\perl\\bin\\fusioninventory-agent.exe",
              "C:\\Windows\\System32\\CompatTelRunner.exe",
              "C:\\Windows\\SysWOW64\\systeminfo.exe",
              "C:\\Windows\\System32\\systeminfo.exe",
              "C:\\Program Files\\Windows Defender\\MpCmdRun.exe",
              "C:\\Program Files (x86)\\Kaseya\\KSAASS*\\AgentMon.exe",
              "C:\\Program Files\\BMC Software\\Client Management\\Client\\bin\\mtxagent.exe",
              "C:\\Program Files (x86)\\LANDesk\\LDClient\\LDISCN32.EXE",
              "C:\\Program Files\\GLPI-Agent\\perl\\bin\\glpi-agent.exe",
              "C:\\Program Files (x86)\\GLPI-Agent\\perl\\bin\\glpi-agent.exe",
              "C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\*\\MpCmdRun.exe",
              "C:\\Program Files (x86)\\Google\\Chrome\\Application\\*\\elevation_service.exe",
              "C:\\Program Files\\Microsoft Visual Studio\\20??\\Enterprise\\Common?\\IDE\\devenv.exe",
              "C:\\Program Files (x86)\\OSTotoSoft\\DriverTalent\\HardWareReport.exe",
              "C:\\Windows\\System32\\UsoClient.exe",
              "C:\\Windows\\CCM\\CcmExec.exe",
              "C:\\Windows\\system32\\wsmprovhost.exe",
              "\\Device\\Mup\\*.exe",
              "C:\\Windows\\Microsoft.NET\\Framework64\\v4.*\\mscorsvw.exe",
              "C:\\ProgramData\\Microsoft\\Windows Defender\\Platform\\4.*\\MpCmdRun.exe",
              "C:\\Program Files\\Microsoft Visual Studio\\*\\Common?\\IDE\\devenv.exe",
              "C:\\Program Files\\Microsoft OneDrive\\*\\FileCoAuth.exe") or
    (process.parent.executable : "?:\\Windows\\System32\\WmiPrvSe.exe" and process.name == "powershell.exe" and
     process.command_line : "\"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe\" -NoLogo -Noninteractive -NoProfile  -ExecutionPolicy Bypass \"& 'C:\\WINDOWS\\CCM\\SystemTemp\\*.ps1'\"") or
    (process.name : "powershell.exe" and
     process.parent.executable : ("C:\\Program Files\\Tychon\\TychonEngine.exe", "C:\\Windows\\System32\\EVENTSENTRY\\eventsentry_svc_x64.exe")) or
    (process.name : "powershell.exe" and
     process.command_line : ("powershell  Get-CimInstance –ClassName Win32_DeviceGuard –Namespace root\\Microsoft\\Windows\\DeviceGuard",
                             "\"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\PowerShell.exe\" -NoLogo -Noninteractive -NoProfile  -ExecutionPolicy Bypass \"& 'C:\\WINDOWS\\CCM\\SystemTemp\\*.ps1'\" True")) or
    (process.name : "cscript.exe" and process.parent.executable : "C:\\Program Files (x86)\\Bostonpost Technology\\Property Manager *\\propertymanager.exe") or
     (process.name : "powershell.exe" and
      process.parent.executable : ("C:\\Program Files\\Windows Defender Advanced Threat Protection\\SenseIR.exe",
                                   "C:\\ProgramData\\Microsoft\\Windows Defender Advanced Threat Protection\\Platform\\*\\SenseIR.exe")) or
    (process.executable : "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" and
     process.command_line : "*\\CommandCenterAgent\\agent.ps1*") or
    (process.parent.executable : "?:\\Windows\\System32\\wscript.exe" and
     process.command_line : "*\\CommandCenterAgent\\*")
  )

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
process.Ext.api.parameters.operationeqWin32_DeviceGuardexcludes:process.Ext.api.parameters.operation field:"process.Ext.api.parameters.operation" value:"Win32_DeviceGuard"
process.command_lineeqPowershell "(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\Microsoft\Windows\DeviceGuard).SecurityServicesRunning"excludes:process.command_line
process.executableeq?:\Windows\System32\WindowsPowerShell\v1.0\powershell.exeexcludes:process.executable field:"process.executable" value:"?:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
process.parent.executableeq?:\Windows\System32\cmd.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\cmd.exe"
user.ideqS-1-5-18excludes:user.id field:"user.id" value:"S-1-5-18"
process.parent.executableeq?:\Program Files\Microsoft Cloud Managed Desktop Extension\CMDExtension\Microsoft.Management.Services.CloudManagedDesktop.Agent.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Program Files\Microsoft Cloud Managed Desktop Extension\CMDExtension\Microsoft.Management.Services.CloudManagedDesktop.Agent.exe"
process.nameinpowershell.exe, pwsh.exeexcludes:process.name field:"process.name" value:"powershell.exe" field:"process.name" value:"pwsh.exe"
process.code_signature.subject_nameeqASUSTeK COMPUTER INC.excludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"ASUSTeK COMPUTER INC."
process.code_signature.trustedeqtrueexcludes:process.code_signature.trusted field:"process.code_signature.trusted" value:"true"
process.executablewildcardC:\Program Files (x86)\ASUS\AsusFanControlService\*\AsusFanControlService.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files (x86)\ASUS\AsusFanControlService\*\AsusFanControlService.exe"
process.code_signature.subject_nameeqIvanti, Inc.excludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Ivanti, Inc."
process.executableeqC:\Program Files (x86)\Ivanti\EPM Agent\Inventory\ldiscn32.exeexcludes:process.executable field:"process.executable" value:"C:\Program Files (x86)\Ivanti\EPM Agent\Inventory\ldiscn32.exe"
process.code_signature.subject_nameeqMicrosoft Windows Publisherexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Microsoft Windows Publisher"
process.executablewildcard?:\ProgramData\Microsoft\Windows Defender\Platform\*.exe, ?:\Program Files\Microsoft Security Client\*.exe, ?:\Program Files\Windows Defender\*.exe, ?:\Program Files (x86)\Windows Defender\*.exe, ?:\Program Files (x86)\Lenovo\System Update\ConfigScheduledTask.exeexcludes:process.executable
process.nameinMpCmdRun.exe, MsMpEng.exeexcludes:process.name field:"process.name" value:"MpCmdRun.exe" field:"process.name" value:"MsMpEng.exe"
process.parent.executableeq?:\Windows\System32\services.exe, ?:\Windows\System32\svchost.exe, ?:\Program Files\Windows Defender\MpCmdRun.exe, ?:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeClickToRun.exeexcludes:process.parent.executable
process.code_signature.subject_nameeqMicrosoft Windowsexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Microsoft Windows"
process.executableeq?:\$Windows.~??\Sources\SetupHost.exe, ?:\$WINDOWS.~??\Sources\mighost.exeexcludes:process.executable field:"process.executable" value:"?:\$Windows.~??\Sources\SetupHost.exe" field:"process.executable" value:"?:\$WINDOWS.~??\Sources\mighost.exe"
process.code_signature.subject_nameinASUSTeK COMPUTER INC., Belarc, Inc., CPUID, CPUID S.A.R.L.U., CYBELSOFT, Connectwise, LLC, Corsair Memory, Inc., ESET, spol. s r.o., Elliptic Laboratories ASA, IObit CO., LTD, IObit Information Technology, Ivanti, Inc., KASEYA HOLDINGS INC., KERISH PRODUCTS LLP, Lakeside Software, LLC, PDQ.com Corporation, POINTWARE INFORMATICA LTDA, Panda Security S.L, Shenzhen Drive The Life Technology Co.,Ltd., Snow Software AB, Sophos Ltd, Trend Micro, Inc., WithSecure Oyjexcludes:process.code_signature.subject_name
process.code_signature.subject_nameinMicrosoft Corporation, Microsoft Windowsexcludes:process.code_signature.subject_name field:"process.code_signature.subject_name" value:"Microsoft Corporation" field:"process.code_signature.subject_name" value:"Microsoft Windows"
process.executableeq?:\Windows\System32\MRT.exe, ?:\$WINDOWS.~BT\Sources\SetupHost.exe, ?:\Windows\SysWOW64\systeminfo.exe, ?:\Windows\System32\systeminfo.exe, ?:\Program Files\Windows Defender\MpCmdRun.exe, C:\Program Files\Windows Defender\MsMpEng.exe, C:\Program Files\Microsoft Visual Studio\20??\Professional\Common?\IDE\devenv.exeexcludes:process.executable
process.command_lineeq"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfileexcludes:process.command_line
process.parent.executableeqC:\Windows\_ScriptingFramework\Modul\Engine.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Windows\_ScriptingFramework\Modul\Engine.exe"
process.command_lineeqpowershell "Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct"excludes:process.command_line
process.parent.executablewildcardC:\Users\*\AppData\Local\Programs\DrSprinto\DrSprinto.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Users\*\AppData\Local\Programs\DrSprinto\DrSprinto.exe"
process.command_linematchHexProductStateexcludes:process.command_line field:"process.command_line" value:"HexProductState"
process.parent.executableeq?:\Windows\System32\WindowsPowerShell\v1.0\powershell.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
process.command_linematch\CommandCenterAgent\excludes:process.command_line field:"process.command_line" value:"\CommandCenterAgent\"
process.parent.executableeq?:\Windows\System32\wscript.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\wscript.exe"
process.command_linematch\CommandCenterAgent\agent.ps1excludes:process.command_line field:"process.command_line" value:"\CommandCenterAgent\agent.ps1"
process.command_linewildcard"C:\WINDOWS\system32\WindowsPowerShell\v1.0\PowerShell.exe" -NoLogo -Noninteractive -NoProfile -ExecutionPolicy Bypass "& 'C:\WINDOWS\CCM\SystemTemp\*.ps1'"excludes:process.command_line
process.nameeqpowershell.exeexcludes:process.name field:"process.name" value:"powershell.exe"
process.parent.executableeq?:\Windows\System32\WmiPrvSe.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\WmiPrvSe.exe"
process.command_linewildcardpowershell Get-CimInstance –ClassName Win32_DeviceGuard –Namespace root\Microsoft\Windows\DeviceGuard, "C:\WINDOWS\system32\WindowsPowerShell\v1.0\PowerShell.exe" -NoLogo -Noninteractive -NoProfile -ExecutionPolicy Bypass "& 'C:\WINDOWS\CCM\SystemTemp\*.ps1'" Trueexcludes:process.command_line
process.command_linewildcardpowershell, C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe, "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" , "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" -noexit -command import-module ActiveDirectory, C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe "Get-CimInstance -classname 'Win32_DeviceGuard' -namespace 'root\Microsoft\Windows\DeviceGuard' | select-Object -property 'SecurityServicesRunning' | Out-File 'C:\Program Files\SCAP Compliance Checker 5.10.1\Local\LOCALHOST_*.tmp'", powershell.exe -NoLogo -NoProfile -command "try { $VBSStatus=(Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\Microsoft\Windows\DeviceGuard).VirtualizationBasedSecurityStatus; if ($VBSStatus -eq $null) { Write-Output 0 } else { Write-Output $VBSStatus } } catch { Write-Output 0 }"excludes:process.command_line
process.parent.executableeq?:\Windows\explorer.exe, ?:\Windows\System32\cmd.exe, ?:\Program Files\Mesh Agent\MeshAgent.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\explorer.exe" field:"process.parent.executable" value:"?:\Windows\System32\cmd.exe" field:"process.parent.executable" value:"?:\Program Files\Mesh Agent\MeshAgent.exe"
process.executableeq?:\Program Files\GLPI-Agent\perl\bin\glpi-agent.exe, ?:\Windows\SysWOW64\EasyResume.exe, ?:\Windows\SysWOW64\Lenovo\PowerMgr\EasyResume.exeexcludes:process.executable field:"process.executable" value:"?:\Program Files\GLPI-Agent\perl\bin\glpi-agent.exe" field:"process.executable" value:"?:\Windows\SysWOW64\EasyResume.exe" field:"process.executable" value:"?:\Windows\SysWOW64\Lenovo\PowerMgr\EasyResume.exe"
process.parent.executableeq?:\Windows\System32\services.exeexcludes:process.parent.executable field:"process.parent.executable" value:"?:\Windows\System32\services.exe"
process.executableeqC:\Windows\System32\svchost.exeexcludes:process.executable field:"process.executable" value:"C:\Windows\System32\svchost.exe"
process.executablewildcard\Device\HarddiskVolume*\ProgramData\Microsoft\Windows Defender\Platform\*\MpCmdRun.exeexcludes:process.executable field:"process.executable" value:"\Device\HarddiskVolume*\ProgramData\Microsoft\Windows Defender\Platform\*\MpCmdRun.exe"
process.parent.executablewildcard\Device\HarddiskVolume*\Windows\System32\svchost.exeexcludes:process.parent.executable field:"process.parent.executable" value:"\Device\HarddiskVolume*\Windows\System32\svchost.exe"
process.nameeqcscript.exeexcludes:process.name field:"process.name" value:"cscript.exe"
process.parent.executablewildcardC:\Program Files (x86)\Bostonpost Technology\Property Manager *\propertymanager.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files (x86)\Bostonpost Technology\Property Manager *\propertymanager.exe"
process.parent.executableeqC:\Program Files\Tychon\TychonEngine.exe, C:\Windows\System32\EVENTSENTRY\eventsentry_svc_x64.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files\Tychon\TychonEngine.exe" field:"process.parent.executable" value:"C:\Windows\System32\EVENTSENTRY\eventsentry_svc_x64.exe"
process.parent.executablewildcardC:\Program Files\Windows Defender Advanced Threat Protection\SenseIR.exe, C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\Platform\*\SenseIR.exeexcludes:process.parent.executable field:"process.parent.executable" value:"C:\Program Files\Windows Defender Advanced Threat Protection\SenseIR.exe" field:"process.parent.executable" value:"C:\ProgramData\Microsoft\Windows Defender Advanced Threat Protection\Platform\*\SenseIR.exe"
process.executablewildcardC:\Program Files (x86)\Varian\KeystoneAgent\VMS.Keystone.DeploymentAgent.exe, C:\Program Files\FusionInventory-Agent\perl\bin\perl.exe, C:\Program Files\FusionInventory-Agent\perl\bin\fusioninventory-agent.exe, C:\Program Files (x86)\Varian\KeystoneAgent\VMS.Keystone.DeploymentAgent.exe, C:\Program Files\AzureConnectedMachineAgent\GCArcService2\GC\gc_worker.exe, C:\Program Files (x86)\Belarc\BelarcAdvisor\BelarcAdvisor.exe, C:\Program Files (x86)\FusionInventory-Agent\perl\bin\fusioninventory-agent.exe, C:\Windows\System32\CompatTelRunner.exe, C:\Windows\SysWOW64\systeminfo.exe, C:\Windows\System32\systeminfo.exe, C:\Program Files\Windows Defender\MpCmdRun.exe, C:\Program Files (x86)\Kaseya\KSAASS*\AgentMon.exe, C:\Program Files\BMC Software\Client Management\Client\bin\mtxagent.exe, C:\Program Files (x86)\LANDesk\LDClient\LDISCN32.EXE, C:\Program Files\GLPI-Agent\perl\bin\glpi-agent.exe, C:\Program Files (x86)\GLPI-Agent\perl\bin\glpi-agent.exe, C:\ProgramData\Microsoft\Windows Defender\Platform\*\MpCmdRun.exe, C:\Program Files (x86)\Google\Chrome\Application\*\elevation_service.exe, C:\Program Files\Microsoft Visual Studio\20??\Enterprise\Common?\IDE\devenv.exe, C:\Program Files (x86)\OSTotoSoft\DriverTalent\HardWareReport.exe, C:\Windows\System32\UsoClient.exe, C:\Windows\CCM\CcmExec.exe, C:\Windows\system32\wsmprovhost.exe, \Device\Mup\*.exe, C:\Windows\Microsoft.NET\Framework64\v4.*\mscorsvw.exe, C:\ProgramData\Microsoft\Windows Defender\Platform\4.*\MpCmdRun.exe, C:\Program Files\Microsoft Visual Studio\*\Common?\IDE\devenv.exe, C:\Program Files\Microsoft OneDrive\*\FileCoAuth.exeexcludes:process.executable

Indicators

These rows show field, operator, and value matches.