Local Administrator Password Reuse

The same local administrator password is set on many computers, so its hash taken from one machine gives administrative access to the others.

SeverityHigh
CVSS 3.17.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Open in the calculator
CVSS 4.08.6 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Open in the calculator
CWECWE-1391: Use of Weak Credentials
OWASP Top 10A07:2025 Authentication Failures
MITRE ATT&CKT1550.002 Pass the Hash, T1078.003 Local Accounts, T1021.002 SMB/Windows Admin Shares
CategorySecurity Misconfiguration

Description

The same password, and therefore the same NT hash, is set for a local administrator account on many computers. This usually comes from a build image, a deployment script or a Group Policy setting that configured the account once for the whole estate, and it persists wherever local administrator passwords are not managed individually.

Windows accepts the NT hash in place of the password for NTLM network authentication, so a hash extracted from one computer's Security Account Manager (SAM) database can be used directly against the others without being cracked (pass-the-hash). By default, User Account Control's remote restrictions give local accounts a filtered, non-administrative token over the network, but the built-in Administrator account (RID 500) is exempt unless Admin Approval Mode is enabled for it, and the restrictions are lifted for all local accounts where LocalAccountTokenFilterPolicy is set to 1.

An attacker who obtains administrative access to any one computer can therefore take administrative control of every other computer that shares the password, often the whole workstation estate and many servers, within minutes. From those hosts they can harvest the credentials of domain users and administrators who have signed in, disable security tools and deploy ransomware widely. Exploitation needs that initial administrative foothold, which limits the rating, but such footholds are commonly gained through phishing, local privilege escalation or another weakness.

The issue is confirmed by recovering a local administrator hash from one computer, through access gained elsewhere in the test, and authenticating with it to other hosts with a tool such as NetExec using local authentication, which reports each host where the account has administrative rights. A variant is a local administrator password that is also used for a domain account, which links workstation compromise directly to the domain.

Remediation

  • Give the local administrator account on every computer a unique, random password that changes regularly, using Windows LAPS (or legacy Microsoft LAPS where Windows LAPS is not available). This is the only fix that scales.
  • Prevent network use of local administrative accounts: add the well-known group Local account and member of Administrators group to the user rights Deny access to this computer from the network and Deny log on through Remote Desktop Services on workstations and member servers. The group covers every local administrative account whatever its name; Microsoft's guidance on securing local administrator accounts adds the built-in Administrator account to the same rights.
  • Remove the LocalAccountTokenFilterPolicy value under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, or set it to 0, wherever it has been set to 1.
  • Disable the built-in Administrator account on workstations where support staff use another managed account, and stop setting local passwords through build images and scripts.
  • Change the password of any domain account that shares the local administrator password.

Treat every computer that shared the password as exposed until the password has been changed on all of them. Confirm the fix by repeating the pass-the-hash test with the old hash, which should fail on every host.

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 trial  ·  No card required

Only need the reporting? Our reporting tool is free and open source, with the same library.


More Active Directory Findings

Every Active Directory finding