# Computer operating system details should be investigated

Security Risks: - Missing Service Packs: Systems without critical updates - End-of-Life Versions: Operating systems no longer receiving security patches -…

Source: https://maester.dev/docs/tests/AD-DCOMP-05

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/soulemike" title="Michael Soule · Original author"><img src="https://github.com/soulemike.png" alt="Michael Soule" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/soulemike">Michael Soule</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/ad">Active Directory</a> · Active Directory · Computers · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId AD-DCOMP-05
```

## Overview

- Detailed knowledge of operating system versions and service pack levels is essential for effective vulnerability management and security compliance. This information helps identify:

**Security Risks:**
- **Missing Service Packs**: Systems without critical updates
- **End-of-Life Versions**: Operating systems no longer receiving security patches
- **Version Fragmentation**: Inconsistent patch levels across the environment
- **Unsupported Configurations**: OS versions that violate security policies

**Compliance Requirements:**
- Many frameworks require specific OS versions
- Service pack levels may be mandated
- Documentation of OS landscape is often required

#### Control Type

**Operational**

#### Security Recommendation

1. **Maintain Current Service Packs**:
   - Apply latest service packs and cumulative updates
   - Test before deployment to production
   - Maintain rollback procedures

2. **Upgrade End-of-Life Systems**:
   - Prioritize systems running unsupported OS versions
   - Develop migration plans for legacy applications
   - Consider virtualization for legacy requirements

3. **Standardize Configurations**:
   - Use standard OS images for new deployments
   - Implement configuration management
   - Regular compliance scanning

#### How the Test Works

This test provides detailed analysis including:
- Operating system names and versions
- Service pack levels
- Distribution counts and percentages
- Identification of systems without OS information

#### Related Tests

- `Test-MtAdComputerOperatingSystemCount` - Summary OS count
- `Test-MtAdComputerStaleEnabledCount` - Stale computer identification
- `Test-MtAdDcOperatingSystemDetails` - Domain Controller OS details

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | AD-DCOMP-05 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Computers |
| Area | Devices and endpoints |
| Resource type | Computer |
| MITRE ATT&CK | None |
| Supports controls | nist-800-53-r5:CM-8 |
| PowerShell test | [Test-MtAdComputerOperatingSystemDetails](https://github.com/maester365/maester/blob/main/tests/ad/security/Test.AD-DCOMP-05.ps1) |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:computer:ReadProperty |

</details>

## Source

- Test: [`tests/ad/security/Test.AD-DCOMP-05.ps1`](https://github.com/maester365/maester/blob/main/tests/ad/security/Test.AD-DCOMP-05.ps1)
- Documentation: [`tests/ad/security/Test.AD-DCOMP-05.md`](https://github.com/maester365/maester/blob/main/tests/ad/security/Test.AD-DCOMP-05.md)
