Detectionhightest

Suspicious Encoded Scripts in a WMI Consumer

Detects suspicious encoded payloads in WMI Event Consumers

Convert In Phoenix Studio

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

Launch
Florian Roth (Nextron Systems)Created Wed Sep 01Updated Sun Oct 0983844185-1c5b-45bc-bcf3-b5bf3084ca5bwindows
Log Source
WindowsWMI Event
ProductWindows← raw: windows
CategoryWMI Event← raw: wmi_event
Detection Logic
Detection Logic1 selector
detection:
    selection_destination:
        Destination|base64offset|contains:
            - 'WriteProcessMemory'
            - 'This program cannot be run in DOS mode'
            - 'This program must be run under Win32'
    condition: selection_destination
False Positives
Unknown

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

Rule Metadata
Rule ID
83844185-1c5b-45bc-bcf3-b5bf3084ca5b
Status
test
Level
high
Type
Detection
Created
Wed Sep 01
Modified
Sun Oct 09
Path
rules/windows/wmi_event/sysmon_wmi_susp_encoded_scripts.yml
Raw Tags
attack.privilege-escalationattack.executionattack.t1047attack.persistenceattack.t1546.003
View on GitHub