Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Non-RFC1918 (public IP) subnets count should be retrievable

AD-SUB-06InfoActive DirectorySites and subnets

Part of Active Directory · Active Directory · Sites and subnets · All checks

Run this check
Invoke-Maester -TestId AD-SUB-06

Using public IP addresses internally can cause:

  • Routing conflicts: If public IPs are also used on the internet
  • Security risks: Internal resources may be exposed
  • Compliance issues: Violation of IP address allocation standards
  • Connectivity problems: NAT and firewall complications

RFC1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) should be used for internal networks.

Detective

  • Use RFC1918 private IP ranges for internal networks
  • If public IPs are required internally, ensure proper isolation
  • Document any exceptions with business justification
  • Review subnet assignments for compliance

This test identifies subnets that use public IP address ranges outside of RFC1918 private ranges.

  • Test-MtAdSubnetNonInternalDetails - Lists public IP subnets
  • Test-MtAdSubnetTotalCount - Counts total subnets
  • Test-MtAdSubnetCatchAllCount - Identifies overly broad subnets
Every attribute of this check
FieldValue
Test IDAD-SUB-06
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureSites and subnets
AreaInfrastructure hardening
Resource typeAdSite
MITRE ATT&CKNone
PowerShell testTest-MtAdSubnetNonInternalCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:subnet:ReadProperty