Modify Group Policy Settings - ScriptBlockLogging

Detect malicious GPO modifications can be used to implement many other malicious behaviors.

Sigma rule (View on GitHub)

 1title: Modify Group Policy Settings - ScriptBlockLogging
 2id: b7216a7d-687e-4c8d-82b1-3080b2ad961f
 3related:
 4    - id: ada4b0c4-758b-46ac-9033-9004613a150d
 5      type: similar
 6status: test
 7description: Detect malicious GPO modifications can be used to implement many other malicious behaviors.
 8references:
 9    - https://github.com/redcanaryco/atomic-red-team/blob/40b77d63808dd4f4eafb83949805636735a1fd15/atomics/T1484.001/T1484.001.md
10author: frack113
11date: 2022-08-19
12tags:
13    - attack.defense-evasion
14    - attack.privilege-escalation
15    - attack.t1484.001
16logsource:
17    product: windows
18    category: ps_script
19    definition: 'Requirements: Script Block Logging must be enabled'
20detection:
21    selection_path:
22        ScriptBlockText|contains: \SOFTWARE\Policies\Microsoft\Windows\System
23    selection_key:
24        ScriptBlockText|contains:
25            - GroupPolicyRefreshTimeDC
26            - GroupPolicyRefreshTimeOffsetDC
27            - GroupPolicyRefreshTime
28            - GroupPolicyRefreshTimeOffset
29            - EnableSmartScreen
30            - ShellSmartScreenLevel
31    condition: all of selection_*
32falsepositives:
33    - Legitimate use
34level: medium

References

Related rules

to-top