Forest domain count should be retrievable
AD-FOR-02InfoActive DirectoryDomain and forest
Part of Active Directory · Active Directory · Domain and forest · All checks
Invoke-Maester -TestId AD-FOR-02Overview
Section titled “Overview”Understanding the number and names of domains in your forest is critical for:
- Security Boundaries: Each domain represents a security boundary with its own policies
- Trust Management: Understanding trust relationships between domains
- Administrative Scope: Knowing where administrative permissions apply
- Compliance Scope: Determining the scope of compliance assessments
- Disaster Recovery: Planning recovery procedures across all domains
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Minimize Domains: Fewer domains reduce complexity and attack surface
- Document Structure: Maintain documentation of all domains and their purposes
- Review Regularly: Periodically review if all domains are still needed
- Consistent Policies: Apply consistent security policies across all domains
How the Test Works
Section titled “How the Test Works”This test retrieves all domains from the Active Directory forest and counts them. It also lists all domain names for reference.
Related Tests
Section titled “Related Tests”Test-MtAdForestFunctionalLevel- Retrieves the forest functional levelTest-MtAdDomainControllerCount- Counts domain controllers in the current domain
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-FOR-02 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Domain and forest |
| Area | Infrastructure hardening |
| Resource type | Tenant |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdForestDomainCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:crossRef:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/domain/Test.AD-FOR-02.ps1 - Documentation:
tests/ad/domain/Test.AD-FOR-02.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Domain and forest
- Area
- Infrastructure hardening
- Suite
- Active Directory