PowerShell Script Execution Policy Enabled

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND (OBJECTNAME endswith "\Policies\Microsoft\Windows\PowerShell\EnableScripts" OR (OBJECTNAME endswith "\Policies\Microsoft\Windows\PowerShell" AND OBJECTVALUENAME = "EnableScripts")) AND (INFORMATION = "DWORD (0x00000001)" OR (CHANGES = 1 AND NEWTYPE = "REG_DWORD")) select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems), Thurein Oo