Detectionmediumtest

Potential PowerShell Downgrade Attack

Detects PowerShell downgrade attack by comparing the host versions with the actually used engine version 2.0

Convert In Phoenix Studio

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

Launch
Harish SegarCreated Fri Mar 20Updated Wed Jan 04b3512211-c67e-4707-bedc-66efc7848863windows
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 Logic1 selector
detection:
    selection:
        Image|endswith: '\powershell.exe'
        CommandLine|contains:
            - ' -version 2 '
            - ' -versio 2 '
            - ' -versi 2 '
            - ' -vers 2 '
            - ' -ver 2 '
            - ' -ve 2 '
            - ' -v 2 '
    condition: selection
False Positives
Unknown

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

Rule Metadata
Rule ID
b3512211-c67e-4707-bedc-66efc7848863
Status
test
Level
medium
Type
Detection
Created
Fri Mar 20
Modified
Wed Jan 04
Path
rules/windows/process_creation/proc_creation_win_powershell_downgrade_attack.yml
Raw Tags
attack.defense-evasionattack.executionattack.t1059.001
View on GitHub