AD-CFG-11 - Registered DHCP servers count should be retrievable
Overviewβ
DHCP servers registered in Active Directory are authorized to provide IP addresses to clients. If unauthorized DHCP servers are registered (or legitimate servers are removed), clients may receive incorrect network settings, experience instability, or be exposed to man-in-the-middle attacks via rogue DHCP.
Security Recommendationβ
- Maintain a strict allowlist of approved DHCP servers and ensure only those servers are registered in AD.
- Remove stale/unneeded DHCP server registrations as part of routine hygiene.
- Restrict permissions for DHCP registration operations to only the DHCP administrators and automation workflows you trust.
- Alert on any change in the number of registered DHCP servers.
How the Test Worksβ
- Searches Active Directory for directory objects representing authorized/registered DHCP servers.
- Counts the number of such registered server objects.
- Compares the count to an environment baseline and flags unexpected additions/removals.
Related Testsβ
- Test-MtAdWellKnownSecurityPrincipalsCount: Helps confirm AD identity integrity.
- Test-MtAdEnterpriseCaCount: Complements service authorization checks for certificate infrastructure.
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-CFG-11 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Config |
| PowerShell test | Test-MtAdRegisteredDhcpServersCount |
| Tags | AD, AD-CFG-11, AD.Config |
Sourceβ
- Pester test:
tests/ad/config/Test-MtAdRegisteredDhcpServersCount.Tests.ps1 - PowerShell source:
powershell/public/ad/config/Test-MtAdRegisteredDhcpServersCount.ps1

