AD-GPOL-05 - GPO blocked inheritance count should be compliant
Overviewโ
GPO inheritance blocking controls whether settings from parent Organizational Units (OUs) flow down to child OUs. When inheritance is blocked on an OU, policies from higher-level scopes wonโt apply as expected.
For security assessments, this matters because inheritance blocking can create security gaps:
- Parent OU policies wonโt apply to the affected OUs.
- Security baselines can become inconsistent across the directory.
- โStickyโ configurations at lower levels can persist unnoticed.
Control Typeโ
Operational
Security Recommendationโ
- Review blocked inheritance regularly: confirm each OU blocking inheritance has a documented business/technical justification.
- Ensure compensating controls exist: if parent policies wonโt apply, equivalent security settings must be configured directly where needed.
- Monitor and alert on changes: inheritance blocking is often changed unintentionally during OU restructuring or delegation work.
How the Test Worksโ
This test retrieves Organizational Units (OUs) from Active Directory using:
Get-ADOrganizationalUnit -Filter * -Properties gpOptions- Counts OUs where
gpOptions -eq 1(wheregpOptionsindicates GPO inheritance blocking). - Reports the total OU count, the number of blocked OUs, and the blocked ratio in Markdown.
Related Testsโ
Test-MtAdGpoEnforcedCount- Counts enforced (inheritance-blocking) link entriesTest-MtAdGpoLinkedCount- Counts GPOs actively linked to apply settingsTest-MtAdGpoUnlinkedCount- Identifies unlinked/orphaned GPOs
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOL-05 |
| Severity | Medium |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Infrastructure hardening |
| Resource type | OrganizationalUnit |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoBlockedInheritanceCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read |
Sourceโ
- Test:
tests/ad/gpo/Test.AD-GPOL-05.ps1 - Documentation:
tests/ad/gpo/Test.AD-GPOL-05.md
