Windows: gpresult.exe used to display Group Policy Resultant Set (RSoP)
Flags process executions of gpresult.exe that request RSoP details using /z and /v on Windows.
FreeUnreviewedSigmamediumv1
windows-gpresult-exe-used-to-display-group-policy-resultant-set-rsop-e56d3073
title: "Windows: gpresult.exe used to display Group Policy Resultant Set (RSoP)"
id: fb98ae0f-6413-4758-84ed-8d5af9ceeb87
status: test
description: This rule identifies when a process invokes the built-in Windows utility gpresult.exe to display Group Policy Resultant Set of Policy (RSoP) information. Attackers may use this to enumerate applied policies and understand security configurations that can impact post-exploitation options. It relies on Windows process creation telemetry, matching gpresult.exe execution with command-line arguments that request detailed RSoP output (/z and /v).
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1615/T1615.md
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/gpresult
- https://unit42.paloaltonetworks.com/emissary-trojan-changelog-did-operation-lotus-blossom-cause-it-to-evolve/
- https://www.welivesecurity.com/wp-content/uploads/2020/05/ESET_Turla_ComRAT.pdf
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_gpresult_execution.yml
author: frack113, Huntrule Team
date: 2022-05-01
tags:
- attack.discovery
- attack.t1615
logsource:
product: windows
category: process_creation
detection:
selection:
Image|endswith: \gpresult.exe
CommandLine|contains:
- /z
- /v
condition: selection
falsepositives:
- Unknown
level: medium
simulation:
- type: atomic-red-team
name: Display group policy information via gpresult
technique: T1615
atomic_guid: 0976990f-53b1-4d3f-a185-6df5be429d3b
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_gpresult_execution/info.yml
license: DRL-1.1
related:
- id: e56d3073-83ff-4021-90fe-c658e0709e72
type: derived
What it detects
This rule identifies when a process invokes the built-in Windows utility gpresult.exe to display Group Policy Resultant Set of Policy (RSoP) information. Attackers may use this to enumerate applied policies and understand security configurations that can impact post-exploitation options. It relies on Windows process creation telemetry, matching gpresult.exe execution with command-line arguments that request detailed RSoP output (/z and /v).
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.