Windows Process Creation: gpresult.exe Group Policy (RSoP) Discovery (/z /v)

Flags process executions of gpresult.exe that request RSoP details using /z and /v on Windows.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-05-01
Updated
2026-07-31
title: "Windows Process Creation: gpresult.exe Group Policy (RSoP) Discovery (/z /v)"
id: fb98ae0f-6413-4758-84ed-8d5af9ceeb87
status: test
description: This rule flags process creation events where gpresult.exe is executed with parameters used to display the Resultant Set of Policy (RSoP) output. Attackers may use this information to understand effective Group Policy settings on a host and guide further discovery or targeting. The detection relies on Windows command-line telemetry to match gpresult.exe execution with the expected /z and /v arguments.
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