AD-COMP-02: Computer dormant count should be retrievable
| ID | AD-COMP-02 |
| Severity | Info |
| Suite | Active Directory (on-premises) |
| Product | Active Directory |
| Feature | Computers |
| Security area | Identity lifecycle and hygiene |
| Resource type | Computer |
| MITRE ATT&CK | T1078.002 |
| Reads from | On-premises Active Directory |
What this checks and how to fix it
Section titled “What this checks and how to fix it”Dormant (stale) computer accounts—enabled accounts that haven’t authenticated in 90+ days—pose significant security risks:
- Attack vector: Attackers can exploit dormant accounts that may have weak or unchanged passwords
- Shadow IT: These may represent forgotten test systems, VMs, or decommissioned hardware still in the directory
- Lateral movement: Compromised dormant accounts can be used to move laterally within the network
- Compliance issues: Many security frameworks require identification and remediation of stale accounts
Control Type
Section titled “Control Type”Detective
Security Recommendation
Section titled “Security Recommendation”Establish a process to:
- Identify dormant computers (this test)
- Investigate whether they represent legitimate systems
- Disable accounts for systems that are truly decommissioned
- Delete disabled accounts after a verification period
How the Test Works
Section titled “How the Test Works”This test examines all enabled computer accounts and identifies those where:
- The
lastLogonDateproperty is more than 90 days old - The account remains enabled
The 90-day threshold is a common security baseline, though your organization may adjust this based on your specific requirements (e.g., seasonal systems, remote workstations).
Related Tests
Section titled “Related Tests”Test-MtAdComputerDisabledCount- Counts already-disabled computer accountsTest-MtAdComputerInDefaultContainer- Identifies computers that may be unmanaged
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.
