T1518.001 Splunk · SPL

Detect Security Software Discovery in Splunk

Adversaries enumerate installed security software, defensive tools, and monitoring agents prior to executing payloads or deploying evasion techniques. By identifying what endpoint protection, EDR, firewalls, and cloud monitoring agents are present, adversaries can determine whether to proceed with infection, disable specific defenses, or select evasion techniques tailored to the detected product. Common methods include WMI queries to the SecurityCenter2 namespace (enumerating AntiVirusProduct, FirewallProduct, AntiSpywareProduct classes), PowerShell Get-WmiObject/Get-CimInstance targeting security product WMI classes, tasklist and WMIC process enumeration filtered to known AV/EDR binary names, and registry inspection of installed software keys for security vendor paths. Threat actors including Darkhotel, Clop, QakBot, Raspberry Robin, TONESHELL (Mustang Panda), and Sidewinder are documented performing this technique in the wild.

MITRE ATT&CK

Tactic
Discovery
Technique
T1518 Software Discovery
Sub-technique
T1518.001 Security Software Discovery
Canonical reference
https://attack.mitre.org/techniques/T1518/001/

SPL Detection Query

Splunk (SPL)
spl
index=wineventlog sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1
(
  (Image="*\\wmic.exe" AND (CommandLine="*SecurityCenter*" OR (CommandLine="*AntiVirusProduct*" AND CommandLine="*displayName*") OR CommandLine="*AntiSpywareProduct*" OR CommandLine="*FirewallProduct*"))
  OR ((Image="*\\powershell.exe" OR Image="*\\pwsh.exe") AND (CommandLine="*SecurityCenter*" OR CommandLine="*AntiVirusProduct*" OR CommandLine="*AntiSpywareProduct*" OR CommandLine="*FirewallProduct*"))
  OR (Image="*\\tasklist.exe" AND (CommandLine="*ekrn*" OR CommandLine="*egui*" OR CommandLine="*csagent*" OR CommandLine="*msmpeng*" OR CommandLine="*mbam*" OR CommandLine="*avgnt*" OR CommandLine="*avp.exe*" OR CommandLine="*bdservicehost*" OR CommandLine="*sophossps*" OR CommandLine="*sentinelagent*" OR CommandLine="*cbdaemon*" OR CommandLine="*cylancesvc*" OR CommandLine="*xagt*" OR CommandLine="*falconhost*"))
  OR (Image="*\\reg.exe" AND CommandLine="*query*" AND (CommandLine="*WinDefend*" OR CommandLine="*Windows Defender*" OR CommandLine="*ESET*" OR CommandLine="*Kaspersky*" OR CommandLine="*CrowdStrike*" OR CommandLine="*SentinelOne*" OR CommandLine="*Carbon Black*" OR CommandLine="*Symantec*" OR CommandLine="*McAfee*" OR CommandLine="*Sophos*" OR CommandLine="*Bitdefender*" OR CommandLine="*Malwarebytes*"))
)
| eval DetectionSource=case(
    match(Image, "(?i)wmic\.exe") AND match(CommandLine, "(?i)SecurityCenter"), "WMI_SecurityCenter2",
    match(Image, "(?i)wmic\.exe") AND match(CommandLine, "(?i)(AntiVirusProduct|AntiSpywareProduct|FirewallProduct)"), "WMI_SecurityCenter2",
    match(Image, "(?i)(powershell|pwsh)\.exe"), "PS_WMI_SecurityCenter2",
    match(Image, "(?i)tasklist\.exe"), "Process_Enum_AV",
    match(Image, "(?i)reg\.exe"), "Registry_AV_Query",
    true(), "Other"
  )
| eval RiskScore=case(
    DetectionSource="WMI_SecurityCenter2", 80,
    DetectionSource="PS_WMI_SecurityCenter2", 75,
    DetectionSource="Registry_AV_Query", 65,
    DetectionSource="Process_Enum_AV", 60,
    true(), 50
  )
| table _time, host, User, Image, CommandLine, ParentImage, ParentCommandLine, DetectionSource, RiskScore
| sort - RiskScore - _time
medium severity high confidence

Detects security software discovery using Sysmon Event ID 1 (Process Creation). Covers four method vectors: WMI SecurityCenter2 namespace enumeration via wmic.exe (matching documented threat actor tradecraft from PUBLOAD, Sidewinder, QakBot), PowerShell WMI/CIM queries targeting AV product classes, tasklist enumeration filtered to known AV/EDR binary names, and registry queries targeting security vendor paths. A computed DetectionSource field classifies the discovery method and RiskScore aids analyst triage prioritization.

Data Sources

Process: Process CreationCommand: Command ExecutionSysmon Event ID 1

Required Sourcetypes

XmlWinEventLog:Microsoft-Windows-Sysmon/Operational

False Positives & Tuning

  • IT asset management and inventory platforms (Lansweeper, ServiceNow Discovery, SCCM hardware inventory agent) that query WMI SecurityCenter2 during scheduled asset collection cycles
  • Vulnerability scanners (Tenable Nessus, Qualys Cloud Agent, Rapid7 InsightVM) enumerating endpoint security posture during credentialed network scans
  • Help desk and ITSM automation scripts that check AV product status or version before creating incident tickets or routing to the appropriate support team
  • Endpoint compliance tools (Ivanti, Tanium Comply, BigFix) performing scheduled security policy audits that verify required security software is installed and running
  • Internal security operations scripts run by SOC analysts or engineers during incident response or baseline auditing activities
Download portable Sigma rule (.yml)

Other platforms for T1518.001


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1WMI SecurityCenter2 AV Enumeration via WMIC

    Expected signal: Sysmon Event ID 1: Process Create with Image=wmic.exe, CommandLine containing 'SecurityCenter2' and 'AntiVirusProduct'. Security Event ID 4688 (if command line auditing enabled). Microsoft-Windows-WMI-Activity/Operational Event ID 5857 for SecurityCenter2 provider load.

  2. Test 2PowerShell Get-WmiObject AntiVirusProduct Enumeration

    Expected signal: Sysmon Event ID 1: Process Create with Image=powershell.exe, CommandLine containing 'SecurityCenter2' and 'AntiVirusProduct'. PowerShell ScriptBlock Log Event ID 4104 capturing the full Get-WmiObject command. No network connection expected.

  3. Test 3Tasklist Process Enumeration for AV Binary Names

    Expected signal: Multiple Sysmon Event ID 1 entries for tasklist.exe, each with CommandLine containing the respective AV binary name filter. Security Event ID 4688 entries if command line auditing is enabled. No file or network events expected.

  4. Test 4Registry Query for Installed Security Software

    Expected signal: Multiple Sysmon Event ID 1 entries for reg.exe with CommandLine containing 'query' and the respective vendor path. Security Event ID 4688 if command line auditing enabled. Registry queries will return data on installed products or 'ERROR: The system was unable to find the specified registry key or value' for absent products.

Unlock Pro Content

Get the full detection package for T1518.001 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections