AD-GPOS-02 - WMI filter count should be investigated
Overviewβ
Test-MtAdGpoWmiFilterCountβ
Counts the number of GPOs that have a non-empty WMI filter.
Why This Test Mattersβ
- Operational control: counts GPOs that have a non-empty WMI filter to gauge policy scoping across the environment.
Control Typeβ
Operational
Security Recommendationβ
- Review configure WMI filters to ensure correct targeting and minimize unnecessary exposure.
How the Test Worksβ
- Gets GPO state, computes the number of GPOs with a non-empty WmiFilter, and reports totals and ratios.
Related Testsβ
Test-MtAdGpoWmiFilterDetails.
Related linksβ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-GPOS-02 |
| Severity | Info |
| Suite | Active Directory |
| Category | Active Directory - GPO State |
| PowerShell test | Test-MtAdGpoWmiFilterCount |
| Services | ActiveDirectory |
| Tags | AD, AD-GPOS-02, AD.GPOState |
Sourceβ
- Test:
tests/ad/gpostate/Test.AD-GPOS-02.ps1 - Documentation:
tests/ad/gpostate/Test.AD-GPOS-02.md
