Windows PowerShell EnableScripts Policy Enabled via Registry DWORD

Flags registry changes that enable PowerShell script execution via the EnableScripts policy (DWORD 0x00000001).

FreeReviewedSigma · Low · v1
Product
windows
Category
registry_set
Author
Nasreddine Bencherchali (Nextron Systems), Thurein Oo (SigmaHQ), DRL 1.1
Published
2023-10-18
Updated
2026-07-30

What it detects

This rule identifies when the Windows PowerShell script execution policy is enabled by setting a specific registry value under the EnableScripts policy path. Enabling this setting permits PowerShell scripts to run, which can reduce barriers to attacker execution and persistence. The detection relies on registry set telemetry capturing the TargetObject ending in the EnableScripts policy key and the Details value of DWORD 0x00000001.

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.