AD-DCOMP-04 - Computer operating system count should be investigated
Overviewโ
- Understanding the distribution of operating systems in your Active Directory environment is crucial for security management. High OS diversity can indicate:
Security Implications:
- Legacy Systems: Older operating systems may no longer receive security updates
- Inconsistent Patching: Different OS versions may have varying patch levels
- Unsupported Platforms: End-of-life operating systems pose significant security risks
- Compliance Issues: Regulatory requirements may mandate specific OS versions
Common Scenarios:
- Windows Server 2008/2012 reaching end-of-life
- Mixed Windows and Linux environments
- Workstations running outdated client OS versions
Control Typeโ
Operational
Security Recommendationโ
-
Standardize Operating Systems:
- Minimize OS diversity where possible
- Establish standard builds for servers and workstations
- Maintain supported OS versions only
-
Identify End-of-Life Systems:
- Create inventory of systems nearing end-of-life
- Plan upgrade paths for legacy systems
- Isolate unsupported systems if upgrades are delayed
-
Patch Management:
- Ensure all systems receive regular security updates
- Prioritize critical and high-severity patches
- Test patches on representative OS versions
How the Test Worksโ
This test analyzes computer objects in Active Directory and:
- Counts distinct operating systems
- Shows distribution percentages
- Identifies computers without OS data
Related Testsโ
Test-MtAdComputerOperatingSystemDetails- Detailed OS and service pack informationTest-MtAdComputerStaleEnabledCount- Identifies stale computer accountsTest-MtAdDcOperatingSystemDetails- Domain Controller OS distribution
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-DCOMP-04 |
| Severity | Info |
| Suite | Active Directory |
| Category | Active Directory - Security Accounts |
| PowerShell test | Test-MtAdComputerOperatingSystemCount |
| Services | ActiveDirectory |
| Tags | AD, AD-DCOMP-04, AD.Security |
Sourceโ
- Test:
tests/ad/security/Test.AD-DCOMP-04.ps1 - Documentation:
tests/ad/security/Test.AD-DCOMP-04.md
