Detectionmediumexperimental

Service Startup Type Change Via Wmic.EXE

Detects changes to service startup type to 'disabled' or 'manual' using the WMIC command-line utility.

Convert In Phoenix Studio

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

Launch
Swachchhanda Shrawan Poudel (Nextron Systems)Created Mon Apr 27c0514f28-fdae-42df-b886-06e2b2bc5b37windows
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 Logic2 selectors
detection:
    selection_img:
        - Image|endswith: '\WMIC.exe'
        - OriginalFileName: 'wmic.exe'
    selection_cli:
        CommandLine|contains|all:
            - ' service '
            - 'ChangeStartMode'
        CommandLine|contains:
            - 'Manual'
            - 'Disabled'
    condition: all of selection_*
False Positives

Legitimate administrative changes to service startup types using WMIC, investigate accordingly.

Testing & Validation

Regression Tests

by Swachchhanda Shrawan Poudel (Nextron Systems)
Positive Detection Test1 matchevtx

Microsoft-Windows-Sysmon

Rule Metadata
Rule ID
c0514f28-fdae-42df-b886-06e2b2bc5b37
Status
experimental
Level
medium
Type
Detection
Created
Mon Apr 27
Path
rules/windows/process_creation/proc_creation_win_wmic_service_startup_change.yml
Raw Tags
attack.executionattack.t1047attack.defense-evasionattack.t1562.001
View on GitHub