githubEdit

Protocol Scan

🔐 Authentication & Identity

LDAP (389, 636)

nmap -p 389,636 --script=ldap* <target>
nmap --script "(ldap*) and not brute" -p 389 <target>
nmap -p 636 --script=ldap-search,ldap-rootdse <target>

Kerberos (88)

nmap -p 88 --script=krb5-enum-users --script-args="krb5-enum-users.realm='DOMAIN.LOCAL'" <target>
nmap -p 88 --script=krb5-info <target>

SMB (139, 445)

nmap -p 139,445 --script=smb-enum-shares,smb-enum-users,smb-os-discovery,smb-security-mode,smb2-capabilities,smb2-security-mode <target>
nmap --script smb-vuln* -p 445 <target>
nmap -p 445 --script=smb-null-session <target>

RDP (3389)

nmap -p 3389 --script=rdp-enum-encryption <target>
nmap -p 3389 --script=rdp-vuln-ms12-020 <target>
nmap -p 3389 --script=rdp-ntlm-info <target>

WinRM (5985, 5986)

📱 Network Services

FTP (21)

SSH (22)

Telnet (23)

SMTP (25, 465, 587)

DNS (53)

TFTP (69)

POP3 (110, 995)

IMAP (143, 993)

SNMP (161, 162)

R-Services (512, 513, 514)

IPMI (623)

RSync (873)

MSSQL (1433, 1434, 2433)

Oracle TNS (1521)

NFS (2049)

MySQL (3306)

PostgreSQL (5432)

PostgreSQL Secure (5433)

NetBIOS (137, 138)

VNC (5900)

Redis (6379)

Elasticsearch (9200)

Memcached (11211)

RPCBind (111)

SIP (5060)

MQTT (1883)

RMI (1099)

NTP (123)

Docker (2375)

RabbitMQ (5672)

Jenkins (8080)

AJP (Apache JServ Protocol - 8009)

Kubernetes API Server (6443)

CouchDB (5984)

VMware (902, 903, 443)

TeamViewer (5938)

Bacula (9101)

X11 (6000)

Web Services (80, 443, 8080, 8443)

WebDAV (80, 443, 8080)

Apache Hadoop (50070)

Tomcat (8080, 8443)

Zookeeper (2181)

Kafka (9092)

Varnish (6081)

🧰 Other Useful Nmap Scripts

Common Nmap Automation & Misc Scripts

Brute Force

Vulnerability Detection

Web Technologies & Frameworks

Last updated