# Ping Sweep (identify hosts on the network) nmap -sP <host_ip_range> sl -n <host_ip_range> # Enumerate a Windows Domain net view /domain net view /domain:<domain_name> # Enumerate a Domain Controller nltest /dsgetdc:<domain_name> /pdc nltest /bdc_query:<domain_name> # Zone Transfer (retrieve information about a DNS domain from a DNS server) nslookup > server <ip_address> > set type=any > ls -d <target.com> # Enumerate NetBIOS name table nbtstat -a <host_name> nbtstat -A <host_ip_address> # Create a NULL Session net use \\<target>\IPC$ "" /u:"" # Connecting to a Share net use * \\<target>\<share_name> <password> /u:<domain>\<username> # Disconnect all Shares and Null Sessions net use * /d /y # Enumerate local Administrators local administrators \\<target> # Enumerate group members global "domain admins" \\<target> # Enumerate NIC information getmac \\<target> # Enumerate internal IP information epdump <target> # Enumerate Trust Relationships nltest /server:<target> /trusted_domains # Enumerate User and Group details run DumpSec (select Report->Select Computer and then Report->Dump Users, select option) # Enumerate Account Lock Out information and other details enum -Pc <target>