Sigma rule: PowerShell Script Execution Policy Enabled

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5d502381b66a, updated 2023-10-18T00:00:00.000Z.

Rule

Title
PowerShell Script Execution Policy Enabled
Status
test
Level
low
Author
Nasreddine Bencherchali (Nextron Systems), Thurein Oo
Date
2023-10-18
File
rules/windows/registry/registry_set/registry_set_powershell_enablescripts_enabled.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the enabling of the PowerShell script execution policy. Once enabled, this policy allows scripts to be executed.

Log source

product
windows
category
registry_set

Detection

selection:
    TargetObject|endswith: '\Policies\Microsoft\Windows\PowerShell\EnableScripts'
    Details: 'DWORD (0x00000001)'
condition: selection

False positives (as the rule lists them)

  • Likely

Tags

  • attack.execution

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/registry/registry_set/registry_set_powershell_enablescripts_enabled.yml

Sources and licences

  • SigmaHQ

    "PowerShell Script Execution Policy Enabled" by Nasreddine Bencherchali (Nextron Systems), Thurein Oo (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_powershell_enablescripts_enabled.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: PowerShell Script Execution Policy Enabled",
entity page, dataset version ref-5d502381b66a, updated 2023-10-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8218c875-90b9-42e2-b60d-0b0069816d10 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8218c875-90b9-42e2-b60d-0b0069816d10, 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.