Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / WINDOWS / ENUMERATION

Security Product Enumeration

This note documents detection patterns related to Security Product Enumeration within Windows environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4688Process creationCriticalDetects security discovery commands and scripts.
Sysmon1Process creationCriticalBest lineage source for enumeration chains.
PowerShell4104Script block loggingCriticalCaptures Defender / AV enumeration commands.
Sysmon22DNS queryLowSometimes scripts pull vendor metadata.
Sysmon11File createMediumOutput files from recon scripts.
Security4663File accessMediumReads security product files or configs.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Defender queriedGet-MpComputerStatusCriticalCommon attacker recon step.
WMI AV queryroot\SecurityCenter2CriticalClassic AV enumeration.
tasklist filtered for AV namesProcess huntingCriticalStrong recon clue.
Registry reads vendor keysAV product detectionHighValuable signal.
sc query security servicesService discoveryHighProduct presence check.
Recon before evasionDefender tampering followsCriticalStrong sequence

Common Tools

ToolUsage
PowerShellGet-MpComputerStatus
wmic.exeAV WMI queries
tasklist.exeProcess enumeration
sc.exeService checks

Relevant Artifacts

  • Security Event ID 4688
  • Sysmon Event IDs 1, 11, 22
  • PowerShell 4104
  • Commands:
    • Get-MpComputerStatus
    • wmic /namespace:\\root\SecurityCenter2
    • tasklist
  • Prefetch:
    • WMIC.EXE
    • TASKLIST.EXE

MITRE ATT&CK References

  • T1518 Software Discovery

Decision Tree

  1. Which method?

    • WMI
    • PowerShell
    • tasklist
  2. Which product targeted?

    • Defender
    • AV vendor
    • EDR service
  3. Follow-on action?

    • AMSI bypass
    • Defender tampering
    • ETW tampering
  4. Output stored?

    • File
    • Console
    • Script variable
  5. Expand:

    • Parent process
    • Recon chain
    • User context
  6. Scope:

    • Single check
    • Broad recon
    • Framework fingerprint

Example Detection Templates

KQL

SecurityEvent
| where EventID == 4688
| where CommandLine has_any ("Get-MpComputerStatus","SecurityCenter2","tasklist")
| project TimeGenerated, Computer, CommandLine
PowerShell
| where EventID == 4104
| where ScriptBlockText has "Get-MpComputerStatus"
| project TimeGenerated, Computer, ScriptBlockText

EQL

process where process.command_line like "*SecurityCenter2*" or process.command_line like "*Get-MpComputerStatus*"
sequence by host.name with maxspan=5m
  [ process where process.name in ("wmic.exe","powershell.exe") ]
  [ process where process.name in ("cmd.exe","powershell.exe") ]

Sigma

title: Security Product Enumeration Detection
id: 3e5b8d14-security-product-enum
status: experimental
description: Detects security product discovery activity
references:
  - https://attack.mitre.org/
author: Vergil
date: 2026-03-07
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4688
  keywords:
    CommandLine|contains:
      - 'SecurityCenter2'
      - 'Get-MpComputerStatus'
      - 'tasklist'
  condition: selection and keywords
fields:
  - CommandLine
falsepositives:
  - Legitimate admin checks
level: high
tags:
  - attack.discovery

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
Alert on AV discovery commandsStrong recon signalCriticalLow false positives
Preserve 4104Catch scripted checksHighStrong evidence
Correlate with evasion nextHigh-confidence chainCriticalStrong triage
Baseline admin toolingReduce noiseHighUseful context
Watch WMI AV namespace queriesRare signalHighValuable detection