Distinct first three octets (/24 networks) count should be retrievable
AD-SUB-10InfoActive DirectorySites and subnets
Part of Active Directory · Active Directory · Sites and subnets · All checks
Invoke-Maester -TestId AD-SUB-10Overview
Section titled “Overview”Analyzing /24 network distribution provides:
- Subnet granularity: Understanding the typical subnet size in use
- Location mapping: Each /24 often represents a specific location or VLAN
- Capacity insight: How many discrete network segments exist
- Documentation: Detailed network topology information
/24 networks (254 hosts) are the most common subnet size for client networks.
Control Type
Section titled “Control Type”Operational
Security Recommendation
Section titled “Security Recommendation”- Document the purpose of each /24 network
- Align /24 boundaries with physical locations or security zones
- Plan /24 allocation to support VLAN and location requirements
- Review /24 utilization for optimization opportunities
How the Test Works
Section titled “How the Test Works”This test extracts the first three octets from all IPv4 subnets and counts the distinct /24 networks.
Related Tests
Section titled “Related Tests”Test-MtAdSubnetFirstOctetCount- Analyzes first octetsTest-MtAdSubnetFirstTwoOctetsCount- Analyzes /16 networksTest-MtAdSubnetTotalCount- Counts total subnets
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-SUB-10 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Sites and subnets |
| Area | Infrastructure hardening |
| Resource type | AdSite |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdSubnetFirstThreeOctetsCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:subnet:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/site/Test.AD-SUB-10.ps1 - Documentation:
tests/ad/site/Test.AD-SUB-10.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Sites and subnets
- Area
- Infrastructure hardening
- Suite
- Active Directory