Sigma rule: Potential Unquoted Service Path Reconnaissance Via Wmic.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-982a63c53878, updated 2023-09-11T00:00:00.000Z.

Rule

Title
Potential Unquoted Service Path Reconnaissance Via Wmic.EXE
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-06-20
Modified
2023-09-11
File
rules/windows/process_creation/proc_creation_win_wmic_recon_unquoted_service_search.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects known WMI recon method to look for unquoted service paths using wmic. Often used by pentester and attacker enumeration scripts

Log source

product
windows
category
process_creation

Detection

selection_img:
    - OriginalFileName: 'wmic.exe'
    - Image|endswith: '\WMIC.exe'
selection_cli:
    CommandLine|contains|all:
        - ' service get '
        - 'name,displayname,pathname,startmode'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1047

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_wmic_recon_unquoted_service_search.yml

Sources and licences

  • SigmaHQ

    "Potential Unquoted Service Path Reconnaissance Via Wmic.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_wmic_recon_unquoted_service_search.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Unquoted Service Path Reconnaissance Via Wmic.EXE",
entity page, dataset version ref-982a63c53878, updated 2023-09-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/68bcd73b-37ef-49cb-95fc-edc809730be6 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 68bcd73b-37ef-49cb-95fc-edc809730be6, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.