Network Scanning and Enumeration

Network Scans

1. Nmap Commands:

Perform a TCP SYN scan on a target:

nmap -sS <target>

Perform a UDP scan on common ports:

nmap -sU -p  53,67,68,123 <target>

Perform a version detection scan:

nmap -sV <target>

Perform an aggressive scan with OS detection and version detection:

`nmap -A <target>`

Save the scan results to a file:

nmap -oN scan_results.txt <target>

2. DNS Enumeration: Perform a basic DNS zone transfer:

nslookup 
> server <DNS_Server_IP>  
> ls -d <target_domain>

Enumerate subdomains using a tool like Sublist3r:

sublist3r -d <target_domain>

3. SNMP Enumeration: Enumerate SNMP information using snmpwalk:

4. SMB Enumeration: Enumerate shares using smbclient:

Enumerate user accounts using enum4linux:

5. SMTP Enumeration: Enumerate SMTP information using Telnet:

7. Web Application Enumeration:

Enumerate web directories using gobuster:

Identify hidden files and directories using wfuzz:

8. SSH Enum:

OpenSSH 7.2.p2 users enumeration python - https://github.com/sodomak/sshenum

Last updated