Skip to content
HighOS hardeningBLWK-WIN-009

Automatic sign-in keeps a password in the registry ​

What this means ​

Windows signs in by itself using a password stored in plain text in the registry (Winlogon's DefaultPassword). Anyone with administrator access, any malware running as administrator, and anyone with the disk can read that account's password.

How to fix it ​

Turn off automatic sign-in (run netplwiz and tick Users must enter a user name and password, or set AutoAdminLogon to 0), then delete the DefaultPassword value under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon and change that account's password.

Check it yourself ​

Run a scan and look for BLWK-WIN-009 in the results:

sh
bulwark scan

Installed the standalone CLI package instead of the app? The command is bulwarkctl.

How Bulwark decides

Bulwark reads windows_security and reports this check when:

text
autologon_password_stored_known == true and autologon_password_stored == true

If a value can't be read, Bulwark reports the check as undetermined rather than passing it. View the rule source.

References ​

Released under the Apache License 2.0.