Possible PowerShell Script Execution Policy Enabled (via registry_set)
This rule detects the enabling of the PowerShell script execution policy. Once enabled, this policy enables scripts to be executed.
SigmalowWindowsv1
sigma
possible-powershell-script-execution-policy-enabled-via-registry-set
title: Possible PowerShell Script Execution Policy Enabled (via registry_set)
id: 3b88161c-b9e7-542a-8e1b-081ef3ded5a2
status: stable
description: This rule detects the enabling of the PowerShell script execution policy. Once enabled, this policy enables scripts to be executed.
references:
- https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.PowerShell::EnableScripts
author: Huntrule Team
date: 2026-03-23
tags:
- attack.execution
- attack.t1059.001
logsource:
category: registry_set
product: windows
detection:
selection:
TargetObject|endswith: '\Policies\Microsoft\Windows\PowerShell\EnableScripts'
Details: 'DWORD (0x00000001)'
condition: selection
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.