AD-SUB-07 - Non-RFC1918 (public IP) subnets details should be retrievable
Overviewβ
Detailed information about public IP subnet usage helps:
- Identify misconfigurations: Find subnets that should use private ranges
- Assess security posture: Evaluate exposure of internal resources
- Plan remediation: Prioritize subnet renumbering efforts
- Document exceptions: Record legitimate uses of public IPs
Each public IP subnet should be reviewed for proper isolation and business justification.
Security Recommendationβ
For each public IP subnet:
- Verify if the use is intentional and justified
- Ensure proper network isolation is in place
- Document the business requirement
- Plan migration to private ranges if appropriate
- Review firewall and NAT configurations
How the Test Worksβ
This test retrieves all subnets, identifies those using public IP ranges, and lists them with their site associations and descriptions.
Related Testsβ
Test-MtAdSubnetNonInternalCount- Counts public IP subnetsTest-MtAdSubnetTotalCount- Counts total subnetsTest-MtAdSubnetSiteAssociationCount- Counts sites with subnets
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-SUB-07 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Site |
| PowerShell test | Test-MtAdSubnetNonInternalDetails |
| Tags | AD, AD-SUB-07, AD.Site |
Sourceβ
- Pester test:
tests/ad/site/Test-MtAdSubnetNonInternalDetails.Tests.ps1 - PowerShell source:
powershell/public/ad/site/Test-MtAdSubnetNonInternalDetails.ps1

