NMAPLinux · Service Enumeration
nmap -p445 --script smb-protocols,smb2-security-mode <target>Inspect SMB dialects and signing
Search by intent, tool, system, or phase. Context first, command second.
nmap -p445 --script smb-protocols,smb2-security-mode <target>Inspect SMB dialects and signing
smbclient -L //<target> -NAttempt anonymous share listing in a lab
nxc smb <target> -u '<user>' -p '<password>' --sharesValidate known credentials and enumerate shares
nxc smb <dc> -u '<user>' -p '<password>' --users --groupsCollect basic domain account context
ldapsearch -x -H ldap://<dc> -D '<user>@<domain>' -W -b 'DC=example,DC=local' '(objectClass=user)' sAMAccountNameQuery directory objects with explicit scope
.\SharpHound.exe -c AllCollect graph data from an authorized Windows lab
GetUserSPNs.py '<domain>/<user>:<password>' -dc-ip <dc> -requestRequest service tickets in an authorized lab
Get-DomainUser -SPN | Select samaccountname,serviceprincipalnameEnumerate accounts with SPNs
klistInspect the current Kerberos ticket cache
id; sudo -lRecord identity, groups, and sudo policy
find / -perm -4000 -type f 2>/dev/nullInventory SUID candidates for later validation
ss -tulpn; getcap -r / 2>/dev/nullInspect local services and file capabilities