Detectionmediumtest

Potential PowerShell Downgrade Attack

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

Open in Detection LabConvert ruleBuild Package
Harish SegarCreated 2020-03-20Updated 2023-01-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.

MITRE ATT&CK
Rule Metadata
Rule ID
b3512211-c67e-4707-bedc-66efc7848863
Status
test
Level
medium
Type
Detection
Created
2020-03-20
Modified
2023-01-04
Path
rules/windows/process_creation/proc_creation_win_powershell_downgrade_attack.yml
Raw Tags
attack.executionattack.t1059.001
View on GitHub