Password Spraying
Users Enumeration
# using enum4linux
enum4linux -U $DC_IP | grep "user:" | cut -f2 -d"[" | cut -f1 -d"]"
# using rpcclient
rpcclient -U "" -N $DC_IP
rpcclient $> enumdomusers
# using crackmapexec
crackmapexec smb $DC_IP --users# using ldapsearch, we need to provide proper filter for getting usernames
ldapsearch -H ldap://$DC_IP -x -b "DC=$DOMAIN,DC=LOCAL" -s sub "(&(objectclass=user))" | grep sAMAccountName: | cut -f2 -d" "
# using windapsearch, it is easier as we dont need filter
windapsearch.py --dc-ip $DC_IP -u "" -U
windapsearch.py --dc-ip $DC_IP -d $DOMAIN --custom "objectClass=*"Getting Domain Password Policy
ASREPRoasting
Password Spraying
Other Targets
Last updated