Network Enumeration with Nmap

Enumeration
> Start Learning

πŸ“– Overview

Master Nmap for host discovery, port scanning, service detection, and NSE scripts.

🎯
4
Exercises
πŸƒ
6
Flashcards
πŸ—ΊοΈ
1
Mind Maps

πŸ“‹ Cheatsheet

Host Discovery

nmap -sn 10.10.10.0/24 # Ping scan subnet for live hosts
nmap -Pn -sS 10.10.10.5 # SYN scan host, treat as online (skip ping)

Port Scanning

nmap -p- --min-rate 10000 10.10.10.5 # Fast full port scan (all 65535 ports)
nmap -sS -sV -sC -p 22,80,445 10.10.10.5 # Detailed scan (SYN, Version, Scripts) on found ports

Service/Version

nmap -sV --version-intensity 5 10.10.10.5 # Aggressive version detection

Scripts

nmap --script=vuln 10.10.10.5 # Run vulnerability scanning scripts
nmap --script=smb-enum-shares 10.10.10.5 # Enumerate SMB shares via script

Output

nmap -oA scan_results 10.10.10.5 # Save results in all formats (normal, grepable, xml)

πŸ’» Command Examples

⚠️ Common Pitfalls

  • Using -T5 on production networks
  • Forgetting UDP scans
  • Not saving output

πŸ’‘ Exam Survival Tips

  • Always do full port scan first
  • Use -oA to save all formats
  • Check UDP 53,161,500

πŸ—ΊοΈ Mind Maps