Password Policies
FROM LINUX
CrackMapExec:
With valid domain credentials, the password policy can be obtained remotely using tools like CrackMapExec or rpcclient.
crackmapexec smb 13.13.13.13 -u rio -p rio@123 --pass-polSMB NULL Sessions
An SMB NULL session may allow an attacker to retrieve domain information without authentication.
Using rpcclient:
rpcclient -U "" -N 13.13.13.13
rpcclient $> querydominfo
rpcclient $> getdompwinfoUsing enum4linux:
enum4linux -P 13.13.13.13Using enum4linux-ng:
enum4linux-ng -P 13.13.13.13 -oA riotech
cat riotech.jsonLDAP Anonymous Bind
Using ldapsearch:
FROM WINDOWS
net.exe
PowerView
Last updated