WMI filter count should be investigated
AD-GPOS-02InfoActive DirectoryGroup Policy
Part of Active Directory · Active Directory · Group Policy · All checks
Invoke-Maester -TestId AD-GPOS-02Overview
Section titled “Overview”Test-MtAdGpoWmiFilterCount
Section titled “Test-MtAdGpoWmiFilterCount”Counts the number of GPOs that have a non-empty WMI filter.
Why This Test Matters
Section titled “Why This Test Matters”- Operational control: counts GPOs that have a non-empty WMI filter to gauge policy scoping across the environment.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Review configure WMI filters to ensure correct targeting and minimize unnecessary exposure.
How the Test Works
Section titled “How the Test Works”- Gets GPO state, computes the number of GPOs with a non-empty WmiFilter, and reports totals and ratios.
Related Tests
Section titled “Related Tests”Test-MtAdGpoWmiFilterDetails.
Related links
Section titled “Related links”- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-GPOS-02 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Infrastructure hardening |
| Resource type | GroupPolicy |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoWmiFilterCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read |
Source
Section titled “Source”- Test:
tests/ad/gpo-state/Test.AD-GPOS-02.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOS-02.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Group Policy
- Area
- Infrastructure hardening
- Suite
- Active Directory