Trusted root CA count should be retrievable
AD-CFG-16InfoActive DirectoryCertificate Services
Part of Active Directory · Active Directory · Certificate Services · All checks
Invoke-Maester -TestId AD-CFG-16Overview
Section titled “Overview”Trusted root CAs act as the trust anchors for an entire PKI trust chain. If an attacker (or a misconfiguration) introduces an unauthorized trusted root CA, they may be able to construct certificates that validate through the trust chain, enabling broad compromise of authentication, TLS validation, and signed trust decisions.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Maintain an allowlist of trusted root CAs and require strong change control for trust additions/removals.
- Restrict permissions on PKI trust anchor configuration to only PKI administrators.
- After any change, verify certificate thumbprints/subjects, revocation publication, and distribution behavior.
- Alert on unexpected changes in the number of trusted root CAs.
How the Test Works
Section titled “How the Test Works”- Enumerates trusted root CA entries published in Active Directory (trust anchor objects).
- Counts the number of trusted root CAs.
- Compares the observed count to an environment baseline and flags unexpected increases/decreases.
Related Tests
Section titled “Related Tests”- Test-MtAdEnrollmentCaCertificateDetails: Validates CA certificate validity and identity details.
- Test-MtAdEnterpriseCaCount: Confirms which CAs are configured for enrollment across the environment.
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-CFG-16 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Certificate Services |
| Area | Infrastructure hardening |
| Resource type | CertificateAuthority |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdTrustedRootCaCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:Configuration/*:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/config/Test.AD-CFG-16.ps1 - Documentation:
tests/ad/config/Test.AD-CFG-16.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Certificate Services
- Area
- Infrastructure hardening
- Suite
- Active Directory