Path: blob/master/documentation/modules/post/windows/gather/credentials/windows_autologin.md
27915 views
Vulnerable Application
This module reads the registry keys associated with Microsoft Window's AutoLogin feature which keeps a plaintext version of the password in the registry.
To turn on Windows Autologin feature, follow the instructions from Microsoft.
Open registry editor (
regedit) and navigate to:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinlogonCreate the following
String ValuesAutoAdminLoginset to1DefaultUserNameset to the usernameDefaultPasswordset to the passwordOptional:
DefaultDomainset to the domain
Verification Steps
Configure autologin
Start msfconsole
get a shell on a vulnerable windows computer
Do:
use post/windows/gather/credentials/windows_autologinDo:
set session [#]Do:
runYou should receive credentials.