Skip to main content

Group Policy

Status: Scaffold — content in progress

Group Policy Objects (GPOs) are AD objects that define configuration settings applied to users and computers in OUs, sites, or domains. They are a critical security configuration mechanism — and an attacker target.

GPO Structure

GPO
├── Computer Configuration
│ ├── Windows Settings (Security Settings, Scripts)
│ └── Administrative Templates
└── User Configuration
├── Windows Settings
└── Administrative Templates

GPOs are stored in SYSVOL and applied via the Group Policy Client Service.

Application Order (LSDOU)

Local → Site → Domain → OU (child OUs override parent). "Last applied wins" for most settings.

Security-Relevant GPO Settings

CategorySettingITDR Relevance
Audit PolicyAudit Logon Events, Account LogonEnables Event IDs 4624, 4768 etc
Password PolicyMinimum length, complexity, lockoutAttack surface sizing
NTLM RestrictionsLAN Manager auth levelDisable NTLMv1/LM
LSA ProtectionRunAsPPLProtects LSASS from credential dumping
Credential GuardEnableVirtualizationBasedSecurityIsolates NTLM hashes
AppLocker / WDACAllowed executablesBlocks attacker tooling
Restricted GroupsLocal admin membershipPrevent lateral movement

GPO-Based Attacks

AttackRequirementImpact
GPO modificationWriteDACL/GenericWrite on GPO or OUDeploy malicious policy to all linked objects
Immediate scheduled task via GPOCreateChild on OUExecute code on all machines in scope
Startup script via GPOWrite access to SYSVOL/GPOPersistent code execution

Telemetry

Event IDDescription
5136AD object modified (GPO change)
5137AD object created
4670Permissions changed on object
4662GPO object access (requires auditing)
TopicLink
AD Overviewad-overview
ACL Abuseacl-abuse