LAPS Not Deployed
Local administrator passwords on domain computers are not managed by LAPS, so they are typically shared across many machines and rarely changed.
| Severity | Medium |
| CVSS 3.1 | 6.6 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H Open in the calculator |
| CVSS 4.0 | 7.5 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Open in the calculator |
| CWE | CWE-262: Not Using Password Aging |
| MITRE ATT&CK | T1078.003 Local Accounts, T1550.002 Pass the Hash, T1021.002 SMB/Windows Admin Shares |
| Category | Security Misconfiguration |
Description
The Local Administrator Password Solution (LAPS) gives the local administrator account on each domain-joined computer a unique, random password, changes it on a schedule, and stores it in Active Directory (or Microsoft Entra ID), where only authorised accounts can read it. Windows LAPS is built into Windows 10, Windows 11 and Windows Server 2019 and later when they are up to date; the older Microsoft LAPS was a separately installed component.
Where neither is deployed, or where deployment covers only part of the estate, local administrator passwords are set by a build image, a script or by hand. In practice they are the same on large groups of computers and rarely change, because there is no practical way to manage many unique passwords without such a tool, and passwords that never change remain known to former staff and to anyone who has seen a build image or script.
An attacker who gains administrative access to one computer, for example through a vulnerability or a user with local administrative rights, can then extract the local administrator's password hash and use it to authenticate to every computer that shares the password, without cracking it. A single compromised workstation becomes administrative access across the estate, including servers where privileged users have signed in and left credentials that can be harvested. Exploitation needs that initial administrative foothold, which limits the rating.
The absence of LAPS can be confirmed with any domain account: the LAPS schema attributes are missing, or the password expiry attribute (ms-Mcs-AdmPwdExpirationTime for Microsoft LAPS, msLAPS-PasswordExpirationTime for Windows LAPS) is empty on most computer objects. PingCastle, BloodHound and NetExec report the coverage. Common gaps are servers excluded on purpose, computers in organisational units the policy is not linked to, and computers that cannot update their own password attributes because the permissions were not delegated.
Remediation
- Deploy Windows LAPS to every domain-joined workstation and member server: extend the schema with
Update-LapsADSchema, allow computers to update their own password attributes withSet-LapsADComputerSelfPermissionon the relevant organisational units, and configure the policy under Computer Configuration > Policies > Administrative Templates > System > LAPS, with the password backup directory set to Active Directory (or Microsoft Entra ID for devices joined only to Entra ID). - Enable password encryption, and restrict who can read or decrypt the passwords to the administrators who need them (
Set-LapsADReadPasswordPermission). Review existing rights withFind-LapsADExtendedRights, since anyone who can read a password can sign in as that computer's administrator. - Configure a post-authentication action so the password is changed soon after it has been used.
- Where legacy Microsoft LAPS is in use, plan its migration to Windows LAPS, and do not let both manage the same account.
- Include servers and other exceptions explicitly rather than leaving them out.
Until coverage is complete, disable the shared local administrator account where it is not needed, and add the well-known group Local account and member of Administrators group to Deny access to this computer from the network on workstations. Confirm the fix by checking that the expiry attribute is populated and in the future on every computer object, and that Get-LapsADPassword returns a current password for a sample of computers.
References
Add This Finding to Your Library
In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.
Free trialYour trial starts when your portal goes live, not when you sign up, so the time you spend setting up does not count. · No card required
Only need the reporting? Our reporting tool is free and open source, with the same library.