pentesting, updated

Enumerate Group Policy Objects

Identify GPOs in use and who has permission to edit them, since GPO edit rights often mean code execution on every linked computer.

Goal

Find GPOs an attacker-controlled account can modify, and the OUs/computers they apply to.

How to test

Get-GPO -All                                   # RSAT module
Get-DomainGPO | Select-Object displayname,gpcfilesyspath  # PowerView-style enumeration
# in BloodHound: "Find Computer Objects where a non-Admin controls the applied GPO"

What to look for

A GPO that a non-admin, attacker-controlled user or group has WriteProperty/WriteDACL rights over — this is a direct path to code execution on every computer the GPO applies to.

Notes

GPO abuse is covered directly in GPO abuse.

§ home
~/knubertus/home/
1,1 Top