Weak Password Policy via SMB
Password policy exposure is already covered in your null-session enumeration page, but weak password policy itself deserves its own vulnerability discovery page because it tells you whether the environment tolerates poor passwords and whether lockout pressure is low enough that password attacks become more realistic. rpcclient supports domain password policy queries, and HackIndex already notes that null sessions can sometimes leak password policy data.
Start with the direct RPC check.
Then confirm with broader tooling if you have credentials.
What matters is the policy, not the fact that you could enumerate it. A low minimum password length, weak history, or no meaningful lockout threshold changes how you assess authentication risk on the host or domain. A high or missing lockout threshold can make password spraying more viable in a controlled engagement — see AD Password Spraying and AD Password Policy and Spray Surface. A strict lockout policy pushes you away from broad guessing and toward other paths.
If anonymous access returns policy data, keep that too, because it shows the environment leaks useful authentication context before login.
References
-
rpcclient man pagewww.samba.org/samba/docs/4.8/man-html/rpcclient.1.html (opens in new tab)
Domain password policy queries
-
enum4linux-nggithub.com/cddmp/enum4linux-ng (opens in new tab)
Password policy and SMB RPC enumeration
-
Password policy enumeration over SMB
-
SMB Null Session Enumerationhackindex.io/services/smb/enumeration/smb-null-session-enumeration (opens in new tab)
Existing related enumeration page
Was this helpful?
Your feedback helps improve this page.