Active Directory
Enumeration
Kerberos & Smb
#no user, no creds
kerbrute userenum --dc DC.machine-A.local -d machine-A.local userlist.txt
#with creds
smbclient -L \\\\<ip> -U user -p pass #list
smbclient \\\\10.10.188.12\\Share -U user -p pass #specific share
smbmap -u user -p pass -R <share> -H <IP> -P <port> #works better for enum sometimes
smbclient \\\\<ip>\\JuicyShare -U [email protected] #interactive#if guest account is available, no pass, rid bruteforcing
crackmapexec smb DC.machine-A.local -u 'guest' -p '' --rid-brute
Last updated