Group Policy Discovery

T1615

Technique.View on attack.mitre.org

About this technique

Adversaries may gather information on Group Policy settings to identify paths for privilege escalation, security measures applied within a domain, and to discover patterns in domain objects that can be manipulated or used to blend in the environment. Group Policy allows for centralized management of user and computer settings in Active Directory (AD). Group policy objects (GPOs) are containers for group policy settings made up of files stored within a predictable network path `\<DOMAIN>\SYSVOL\<DOMAIN>\Policies\`.

Adversaries may use commands such as gpresult or various publicly available PowerShell functions, such as Get-DomainGPO and Get-DomainGPOLocalGroup, to gather information on Group Policy settings. Adversaries may use this information to shape follow-on behaviors, including determining potential attack paths within the target network as well as opportunities to manipulate Group Policy settings (i.e. Domain or Tenant Policy Modification) for their benefit.

Detection rules6

Rules on DetectionCode tagged with T1615.

Sigma5

RuleLevelLog source
HackTool - SharpUp PrivEsc Tool Executioncriticalwindows / process_creation
Suspicious Reconnaissance Activity Via GatherNetworkInfo.VBShighwindows / process_creation
Gpresult Display Group Policy Informationmediumwindows / process_creation
Potential Reconnaissance Activity Via GatherNetworkInfo.VBSmediumwindows / process_creation
Suspicious GPO Discovery With Get-GPOlowwindows / ps_script

Splunk1

RuleTypeRiskData source
Windows WinPEAS PowerShell Script ExecutionTTPNULLPowershell Script Block Logging 4104

Groups1

Software5

Campaigns1

Procedure examples7

Groups1

Used byProcedure example
GroupTurla

Turla surveys a system upon check-in to discover Group Policy details using the gpresult command.

Software5

Used byProcedure example
ToolBloodHound

BloodHound has the ability to collect local admin information via GPO.

MalwareDUSTTRAP

DUSTTRAP can identify victim environment Group Policy information.

MalwareEmissary

Emissary has the capability to execute gpresult.

ToolEmpire

Empire includes various modules for enumerating Group Policy.

MalwareLunarWeb

LunarWeb can capture information on group policy settings

Campaigns1

Used byProcedure example
CampaignLeviathan Australian Intrusions

Leviathan performed extensive Active Directory enumeration of victim environments during Leviathan Australian Intrusions.

References4

  1. ADSecurity GPO Persistence 2016 Open source
    Metcalf, S. (2016, March 14). Sneaky Active Directory Persistence #17: Group Policy. Retrieved March 5, 2019.
  2. Github PowerShell Empire Open source
    Schroeder, W., Warner, J., Nelson, M. (n.d.). Github PowerShellEmpire. Retrieved April 28, 2016.
  3. Microsoft gpresult Open source
    Microsoft. (2017, October 16). gpresult. Retrieved August 6, 2021.
  4. TechNet Group Policy Basics Open source
    srachui. (2012, February 13). Group Policy Basics – Part 1: Understanding the Structure of a Group Policy Object. Retrieved March 5, 2019.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.