Detection rules › Sigma

WMIC Remote Command Execution

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

Detects the execution of WMIC to query information on a remote system

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: '/node:'

Stage 3: not 1 of filter_main_localhost

or:
CommandLine|contains: 127.0.0.1
CommandLine|contains: localhost

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
  • /node:
  • 127.0.0.1 corpus 2 (sigma 2)
  • localhost
Imageends_with
  • \WMIC.exe corpus 12 (sigma 12)
OriginalFileNameeq
  • wmic.exe corpus 33 (sigma 33)