Suspicious Modify Group Policy Settings - ScriptBlockLogging (via ps_script)
This rule detects hostile GPO modifications can be leveraged to implement many other hostile behaviors.
SigmamediumWindowsv1
sigma
suspicious-modify-group-policy-settings-scriptblocklogging-via-ps-script
title: Suspicious Modify Group Policy Settings - ScriptBlockLogging (via ps_script)
id: f569b266-036d-5333-9041-7f9bc3a7676f
status: stable
description: This rule detects hostile GPO modifications can be leveraged to implement many other hostile behaviors.
references:
- https://attack.mitre.org/techniques/T1484/001/
- https://github.com/redcanaryco/atomic-red-team/blob/40b77d63808dd4f4eafb83949805636735a1fd15/atomics/T1484.001/T1484.001.md
author: Huntrule Team
date: 2026-03-30
tags:
- attack.privilege-escalation
- attack.defense-impairment
- attack.t1484.001
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection_path:
ScriptBlockText|contains: \SOFTWARE\Policies\Microsoft\Windows\System
selection_key:
ScriptBlockText|contains:
- GroupPolicyRefreshTimeDC
- GroupPolicyRefreshTimeOffsetDC
- GroupPolicyRefreshTime
- GroupPolicyRefreshTimeOffset
- EnableSmartScreen
- ShellSmartScreenLevel
condition: all of selection_*
falsepositives:
- Unknown
level: medium
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.