Empty Password
It is possible that accounts have an empty password if the useraccountcontrol attribute contains the value PASSWD_NOT_REQ.
Configuring
Prerequisite
pageUsername EnumerationConfiguring
Open the "Active Directory Users and Computers" administration tool on
DC02
.
2. Click on "View" and enable "Avanced Features"
3. Open "Employees", right click the user steve
and click on "Properties"
4. Open "Attribute Editor", search for "Useraccountcontrol" and click "Edit".
5. Set the value to 544
and cick "OK".
6. Click "Apply" and "OK".
7. Right click on Steve
and select "Reset Password". Uncheck "User must change password at next logon" and make sure the Password fields are empty. Click on "OK"
Attacking
How it works
It is possible that accounts have an empty password if the useraccountcontrol attribute contains the value PASSWD_NOT_REQ
.
Tools
Executing the attack
Check if any on the users have a empty password by spraying an empty password for all the enumerated users against
DC02
.
Spraying an empty password counts as a invalid login. So it is advised to not do this while also passwordspraying as it might cause account lockouts.
2. The user Steve
has an empty password and could be used for further enumeration.
Defending
Recommendations
Periodically check for users with the
PASSWD_NOT_REQ
attribute and remove it.
Check for users with the attribute:
Remove the attribute:
Check for users with the attribute and remove the attribute:
Detection
References
Last updated