Groups with manager count should be retrievable
AD-GRP-04InfoActive DirectoryGroups
Part of Active Directory · Active Directory · Groups · All checks
Invoke-Maester -TestId AD-GRP-04Overview
Section titled “Overview”The ManagedBy attribute in Active Directory specifies who is responsible for managing a group. Assigning managers to groups provides several benefits:
- Accountability: Clear ownership for group membership decisions
- Delegation: Allows non-administrators to manage specific groups
- Lifecycle management: Facilitates regular review and cleanup
- Audit trail: Helps trace who authorized group changes
- Self-service: Enables business owners to manage their own access groups
However, not all groups need managers. Built-in groups, system groups, and highly privileged groups (like Domain Admins) should typically be managed only by IT administrators.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Assign managers to business-purpose groups (department groups, project teams, etc.)
- Ensure managers understand their responsibilities for group membership review
- Implement a process for managers to regularly attest to group membership accuracy
- Do not assign managers to highly privileged groups that require IT-only management
- Consider using group expiration policies managed by group owners
How the Test Works
Section titled “How the Test Works”This test retrieves all group objects from Active Directory and:
- Checks the ManagedBy attribute for each group
- Counts groups where ManagedBy is populated (not null or empty)
- Calculates the percentage of managed vs. unmanaged groups
Related Tests
Section titled “Related Tests”Test-MtAdGroupStaleCount- Groups with managers should be reviewed regularly to prevent stalenessTest-MtAdGroupInContainerCount- Groups with managers should typically be organized in appropriate OUs
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-GRP-04 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Groups |
| Area | Identity lifecycle and hygiene |
| Resource type | Group |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGroupWithManagerCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:group:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/group/Test.AD-GRP-04.ps1 - Documentation:
tests/ad/group/Test.AD-GRP-04.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Groups
- Area
- Identity lifecycle and hygiene
- Suite
- Active Directory