Detection rules › Sigma

Service Reconnaissance Via Wmic.EXE

Severity
medium
Author
frack113, Nasreddine Bencherchali (Nextron Systems)
Source
upstream

An adversary might use WMI to check if a certain remote service is running on a remote device. When the test completes, a service information will be displayed on the screen if it exists. A common feedback message is that "No instance(s) Available" if the service queried is not running. A common error message is "Node - (provided IP or default) ERROR Description =The RPC server is unavailable" if the provided remote host is unreachable

MITRE ATT&CK coverage

TacticTechniques
ExecutionT1047 Windows Management Instrumentation

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\WMIC.exe'
OriginalFileName: wmic.exe

Stage 2: all of selection_cli

CommandLine|contains: service

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • service corpus 3 (sigma 3)
Imageends_with
  • \WMIC.exe corpus 12 (sigma 12)
OriginalFileNameeq
  • wmic.exe corpus 33 (sigma 33)