Detectionmediumtest

WMIC Remote Command Execution

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François Hubaut, Nasreddine Bencherchali (Nextron Systems)Created Tue Feb 14Updated Wed Oct 227773b877-5abb-4a3e-b9c9-fd0369b59b00windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_img:
        - Image|endswith: '\WMIC.exe'
        - OriginalFileName: 'wmic.exe'
    selection_cli:
        CommandLine|contains|windash: '/node:'
    filter_main_localhost:
        CommandLine|contains:
            - 'localhost'
            - '127.0.0.1'
    condition: all of selection_* and not 1 of filter_main_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Related Rules
Similar

e42af9df-d90b-4306-b7fb-05c863847ebd

Rule not found
Similar

09af397b-c5eb-4811-b2bb-08b3de464ebf

Rule not found
Rule Metadata
Rule ID
7773b877-5abb-4a3e-b9c9-fd0369b59b00
Status
test
Level
medium
Type
Detection
Created
Tue Feb 14
Modified
Wed Oct 22
Path
rules/windows/process_creation/proc_creation_win_wmic_remote_execution.yml
Raw Tags
attack.executionattack.t1047
View on GitHub