Sigma rule: Potential PowerShell Downgrade Attack

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-19db851dff1e, updated 2023-01-04T00:00:00.000Z.

Rule

Title
Potential PowerShell Downgrade Attack
Status
test
Level
medium
Author
Harish Segar (rule)
Date
2020-03-20
Modified
2023-01-04
File
rules/windows/process_creation/proc_creation_win_powershell_downgrade_attack.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
process_creation

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 (as the rule lists them)

  • Unknown

Tags

  • attack.execution
  • attack.t1059.001

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_downgrade_attack.yml

Sources and licences

  • SigmaHQ

    "Potential PowerShell Downgrade Attack" by Harish Segar (rule) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_downgrade_attack.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential PowerShell Downgrade Attack",
entity page, dataset version ref-19db851dff1e, updated 2023-01-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b3512211-c67e-4707-bedc-66efc7848863 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b3512211-c67e-4707-bedc-66efc7848863, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.