WMI filter details should be investigated
AD-GPOS-03InfoActive DirectoryGroup Policy
Part of Active Directory · Active Directory · Group Policy · All checks
Invoke-Maester -TestId AD-GPOS-03Overview
Section titled “Overview”Test-MtAdGpoWmiFilterDetails
Section titled “Test-MtAdGpoWmiFilterDetails”Returns details of GPOs with a WMI filter configuration.
Why This Test Matters
Section titled “Why This Test Matters”- Detective control: detects GPOs with a non-empty WMI filter, which can influence policy scope per machine.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Review WMI-filtered GPOs to ensure filters are intentional and correctly scoped.
How the Test Works
Section titled “How the Test Works”- Retrieves GPO state, filters for Gpos with a non-empty WmiFilter, and renders a Markdown table with details.
Related Tests
Section titled “Related Tests”Test-MtAdGpoWmiFilterCount.
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-03 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Infrastructure hardening |
| Resource type | GroupPolicy |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoWmiFilterDetails |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read |
Source
Section titled “Source”- Test:
tests/ad/gpo-state/Test.AD-GPOS-03.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOS-03.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Group Policy
- Area
- Infrastructure hardening
- Suite
- Active Directory