Skip to main content
Version: 2.2.1-preview

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.

Test Metadata​

FieldValue
Test IDAD-CFG-11
SeverityInfo
SuiteActive Directory
CategoryAD.Config
PowerShell testTest-MtAdRegisteredDhcpServersCount
TagsAD, AD-CFG-11, AD.Config

Source​

  • Pester test: tests/ad/config/Test-MtAdRegisteredDhcpServersCount.Tests.ps1
  • PowerShell source: powershell/public/ad/config/Test-MtAdRegisteredDhcpServersCount.ps1