Skip to content

AD-SUB-08: Distinct first octets count should be retrievable

ID AD-SUB-08
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Sites and subnets
Security area Infrastructure hardening
Resource type AdSite
Reads from On-premises Active Directory

Analyzing subnet distribution by first octet provides:

  • Addressing scheme visibility: Understanding IP allocation patterns
  • Network segmentation insight: How the network is logically divided
  • Capacity planning: Identifying available address space
  • Documentation: Supporting network topology documentation

Common patterns include using 10.x for corporate, 172.x for datacenters, etc.

Operational

  • Document the IP addressing scheme and first octet allocation
  • Plan address space to avoid conflicts during acquisitions
  • Reserve address space for future growth
  • Review addressing scheme during network architecture changes

This test extracts the first octet from all IPv4 subnets and counts the distinct values.

  • Test-MtAdSubnetFirstTwoOctetsCount - Analyzes /16 networks
  • Test-MtAdSubnetFirstThreeOctetsCount - Analyzes /24 networks
  • Test-MtAdSubnetTotalCount - Counts total subnets

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.