AD-GPOREP-07 - GPOs with deny ACE count should be retrievable
Overviewโ
Control Typeโ
Detective
Test-MtAdGpoDenyAceCountโ
Counts GPO reports that include a Deny ACE.
Why This Test Mattersโ
- Detective control: checks for Deny ACEs in GPO reports which can override permissions.
Security Recommendationโ
- Review or remove Deny ACEs to ensure proper permission handling.
How the Test Worksโ
- Aggregates GPO reports, counts those with HasDenyAce true, and reports totals and a sample of affected GPOs.
Related Testsโ
Test-MtAdGpoDenyAceDetails.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-07 |
| Severity | Medium |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Access control |
| Resource type | GroupPolicy |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoDenyAceCount |
| Services | ActiveDirectory |
Sourceโ
- Test:
tests/ad/gpo-state/Test.AD-GPOREP-07.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOREP-07.md
