repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
common-ports-and-services.mdMarkdown446 lines22.1 KiBrendered raw download
---
title: "Common Ports & Services (2026)"
description: "Field reference for common TCP/UDP ports and services — core internet, Windows/AD, web, database and remote-access mappings with confirmation tips."
category: enumeration
tags: ["enumeration", "port-scanning", "network"]
tools: ["Nmap", "ffuf", "smbmap", "NetExec", "ldapsearch"]
difficulty: beginner
updated: "2026-08-28"
source: "vault:Enumeration/Common Ports and Services Cheatsheet 2026.md"
---
> [!important]+ The Rule That Prevents Bad Findings
> A port number is a **convention**, not proof of the application behind it. TCP and UDP are separate namespaces, services move to non-standard ports, and multiple products reuse popular ports such as 443, 8080, and 9000. Confirm with `nmap -sV`, a protocol handshake, TLS certificate/SNI, and application behaviour.
>
> Pairs with: Nmap Cheatsheet 2026, Nmap NSE Scripts Cheatsheet 2026, and NSE Guide.

---

## Port Number Ranges

| Range | IANA Class | Typical Use |
|---:|---|---|
| `0` | Reserved | Not a normal service port; some scanners only include it when explicitly requested |
| `1–1023` | System ports | Core protocols and privileged listeners on Unix-like systems |
| `1024–49151` | User/registered ports | Applications and registered vendor services |
| `49152–65535` | Dynamic/private ports | Client ephemeral ports, dynamic RPC, and private services |

> [!note]+ Same Number, Different Transport
> `53/tcp` and `53/udp` are different endpoints. DNS uses both; `514/udp` usually means syslog while `514/tcp` historically maps to the remote-shell service. Always record `port/protocol`, not the number alone.

---

## Core Internet and Infrastructure Services

| Port | Transport | Usual Service | What It Normally Does / Important Note |
|---:|:---:|---|---|
| 20 | TCP | FTP data | Active-mode FTP data channel |
| 21 | TCP | FTP control | File transfer commands and authentication |
| 22 | TCP | SSH | Secure shell; also SFTP and SCP |
| 23 | TCP | Telnet | Cleartext remote terminal; common on legacy/IoT equipment |
| 25 | TCP | SMTP | Server-to-server mail transfer; STARTTLS may upgrade encryption |
| 49 | TCP/UDP | TACACS+ / TACACS | Network-device AAA; TACACS+ normally uses TCP |
| 53 | TCP/UDP | DNS | UDP for most queries; TCP for large responses, zone transfers, and fallback |
| 67 | UDP | DHCP server | IPv4 address/configuration offers |
| 68 | UDP | DHCP client | IPv4 DHCP client endpoint |
| 69 | UDP | TFTP | Simple unauthenticated file transfer; PXE/network-device use |
| 80 | TCP | HTTP | Unencrypted web traffic or redirect to HTTPS |
| 88 | TCP/UDP | Kerberos | Authentication, especially Active Directory |
| 110 | TCP | POP3 | Mailbox retrieval without implicit TLS |
| 111 | TCP/UDP | rpcbind/portmapper | Maps ONC RPC programs; commonly exposes NFS-related services |
| 119 | TCP | NNTP | Usenet/news transfer |
| 123 | UDP | NTP | Network time synchronization |
| 135 | TCP | MS RPC endpoint mapper | Microsoft DCOM/RPC service discovery |
| 137 | UDP | NetBIOS name service | Legacy Windows name registration/resolution |
| 138 | UDP | NetBIOS datagram | Legacy Windows connectionless messaging/browsing |
| 139 | TCP | NetBIOS session/SMB | SMB over NetBIOS; legacy Windows file sharing |
| 143 | TCP | IMAP | Mailbox access without implicit TLS |
| 161 | UDP | SNMP | Device monitoring and management queries |
| 162 | UDP | SNMP trap | Unsolicited SNMP alerts to a manager |
| 179 | TCP | BGP | Inter-router Internet routing protocol |
| 389 | TCP/UDP | LDAP / CLDAP | Directory queries; UDP is commonly CLDAP discovery |
| 427 | TCP/UDP | SLP | Service Location Protocol discovery |
| 443 | TCP/UDP | HTTPS / HTTP/3 | HTTPS over TCP; QUIC/HTTP/3 commonly uses UDP 443 |
| 445 | TCP | SMB | Direct-hosted SMB for Windows file, printer, and AD services |
| 464 | TCP/UDP | Kerberos password change | `kpasswd` password set/change service |
| 500 | UDP | IKE/ISAKMP | IPsec VPN key exchange |
| 514 | UDP | Syslog | Traditional unencrypted log transport |
| 514 | TCP | rsh `shell` | Legacy remote shell assignment; modern syslog-over-TCP deployments also reuse it |
| 515 | TCP | LPD/LPR | Legacy network printing |
| 520 | UDP | RIP | IPv4 routing updates |
| 521 | UDP | RIPng | IPv6 routing updates |
| 546 | UDP | DHCPv6 client | IPv6 DHCP client endpoint |
| 547 | UDP | DHCPv6 server | IPv6 DHCP server/relay endpoint |
| 548 | TCP | AFP | Apple Filing Protocol |
| 554 | TCP/UDP | RTSP | Streaming-media session control |
| 587 | TCP | Mail submission | Authenticated client-to-mail-server submission with STARTTLS |
| 623 | UDP | IPMI RMCP | Out-of-band baseboard management traffic |
| 631 | TCP/UDP | IPP/CUPS | Modern network printing and print-service discovery |
| 636 | TCP | LDAPS | LDAP wrapped in TLS |
| 853 | TCP/UDP | Encrypted DNS | DNS over TLS on TCP; DNS over QUIC may use UDP |
| 873 | TCP | rsync | File synchronization; modules may be exposed anonymously |
| 989 | TCP | FTPS data | FTP data over implicit TLS |
| 990 | TCP | FTPS control | FTP control over implicit TLS |
| 993 | TCP | IMAPS | IMAP over implicit TLS |
| 995 | TCP | POP3S | POP3 over implicit TLS |

---

## Windows and Active Directory

| Port/Range | Transport | Service | AD / Windows Role |
|---:|:---:|---|---|
| 53 | TCP/UDP | DNS | AD-integrated DNS and domain-controller discovery |
| 88 | TCP/UDP | Kerberos | Ticket granting and service authentication |
| 123 | UDP | NTP | Domain time synchronization; Kerberos is time-sensitive |
| 135 | TCP | MSRPC endpoint mapper | Locates dynamic RPC services |
| 137–139 | TCP/UDP | NetBIOS | Legacy naming, datagrams, and SMB sessions |
| 389 | TCP/UDP | LDAP/CLDAP | Directory queries and DC discovery |
| 445 | TCP | SMB | Shares, named pipes, Group Policy, SYSVOL/NETLOGON |
| 464 | TCP/UDP | `kpasswd` | Kerberos password operations |
| 593 | TCP | RPC over HTTP | Microsoft RPC transport over HTTP |
| 636 | TCP | LDAPS | TLS-wrapped LDAP |
| 3268 | TCP | Global Catalog LDAP | Forest-wide partial directory search |
| 3269 | TCP | Global Catalog LDAPS | TLS-wrapped Global Catalog |
| 3389 | TCP/UDP | RDP | Remote Desktop; modern RDP also uses UDP |
| 5985 | TCP | WinRM HTTP | PowerShell remoting/WS-Management without TLS wrapper |
| 5986 | TCP | WinRM HTTPS | TLS-wrapped WinRM |
| 9389 | TCP | AD Web Services | PowerShell AD module and AD Administrative Center |
| 49152–65535 | TCP | Dynamic RPC | Default modern Windows high RPC endpoint range |

```bash
# Targeted AD/DC service confirmation
sudo nmap -sS -sU -Pn -sV \
  -p T:53,88,135,139,389,445,464,593,636,3268,3269,3389,5985,5986,9389,U:53,88,123,137,138,389,464 \
  <target>
```

> [!tip]+ Recognizing a Domain Controller
> The combination of DNS, Kerberos, LDAP, SMB, Global Catalog, and AD Web Services is much more meaningful than any one open port. Use `-sV`, LDAP RootDSE, SMB discovery, DNS SRV records, and TLS certificates to confirm the role.

---

## Remote Administration, AAA, Proxies, and VPNs

| Port | Transport | Usual Service | Note |
|---:|:---:|---|---|
| 22 | TCP | SSH | Unix/network-device administration and tunnelling |
| 23 | TCP | Telnet | Cleartext legacy administration |
| 49 | TCP | TACACS+ | Central network-device authentication/authorization/accounting |
| 443 | TCP | SSL VPN / web admin | Common shared port; fingerprint the product |
| 500 | UDP | IKE | IPsec phase-one negotiation |
| 1080 | TCP | SOCKS proxy | Generic TCP proxy/pivot endpoint |
| 1194 | UDP/TCP | OpenVPN | UDP is the common default |
| 1701 | UDP | L2TP | Often paired with IPsec rather than exposed alone |
| 1723 | TCP | PPTP control | Data uses GRE IP protocol 47, not another TCP/UDP port |
| 1812 | UDP | RADIUS authentication | Network access authentication |
| 1813 | UDP | RADIUS accounting | Session/accounting records |
| 3128 | TCP | Squid HTTP proxy | Forward proxy and web cache |
| 3389 | TCP/UDP | RDP | Windows graphical administration |
| 4500 | UDP | IPsec NAT-T | Encapsulates IPsec ESP through NAT |
| 4899 | TCP | Radmin | Third-party Windows remote administration |
| 5900–5999 | TCP | VNC | Display numbers commonly map from 5900 upward |
| 5985/5986 | TCP | WinRM | Windows remote management over HTTP/HTTPS |
| 7547 | TCP | TR-069/CWMP | ISP management of customer-premises equipment |
| 8291 | TCP | MikroTik Winbox | RouterOS administration |
| 10000 | TCP | Webmin | Unix web administration console |
| 16992–16995 | TCP | Intel AMT | Out-of-band management, HTTP(S), and redirection services |
| 51820 | UDP | WireGuard | Common/default WireGuard tunnel port; configurable |

---

## File Sharing, Storage, and Printing

| Port | Transport | Service | Typical Use |
|---:|:---:|---|---|
| 20/21 | TCP | FTP | Legacy file transfer |
| 22 | TCP | SFTP/SCP | SSH-based encrypted file transfer |
| 69 | UDP | TFTP | PXE boot, firmware, and network-device configs |
| 111 | TCP/UDP | rpcbind | Discovers dynamic NFS/ONC RPC programs |
| 139/445 | TCP | SMB | Windows/Samba file and printer sharing |
| 515 | TCP | LPD | Legacy printer queue protocol |
| 548 | TCP | AFP | Legacy Apple file sharing |
| 631 | TCP/UDP | IPP | CUPS and modern printing |
| 873 | TCP | rsync | File synchronization modules |
| 989/990 | TCP | FTPS | Implicit-TLS FTP data/control |
| 2049 | TCP/UDP | NFS | Unix network file systems; modern NFS favors TCP |
| 3260 | TCP | iSCSI | Block-storage transport |
| 9100 | TCP | JetDirect/raw printing | Direct printer data socket; also reused by node_exporter |

---

## Databases, Search, and Caches

| Port | Transport | Usual Product/Protocol | Note |
|---:|:---:|---|---|
| 1433 | TCP | Microsoft SQL Server | Database engine endpoint |
| 1434 | UDP | SQL Server Browser | Instance/port discovery |
| 1521 | TCP | Oracle TNS Listener | Oracle database connection broker |
| 3050 | TCP | Firebird | Firebird relational database |
| 3306 | TCP | MySQL/MariaDB | MySQL protocol |
| 5432 | TCP | PostgreSQL | PostgreSQL wire protocol |
| 5984 | TCP | CouchDB | HTTP API |
| 6379 | TCP | Redis | In-memory data store; TLS is often configured elsewhere |
| 7474 | TCP | Neo4j HTTP | Neo4j browser/HTTP API |
| 7687 | TCP | Neo4j Bolt | Native Bolt protocol |
| 8086 | TCP | InfluxDB | HTTP API |
| 8123 | TCP | ClickHouse HTTP | HTTP query interface |
| 8529 | TCP | ArangoDB | HTTP API |
| 9000 | TCP | ClickHouse native | Also heavily reused by unrelated products |
| 9042 | TCP | Cassandra CQL | Native Cassandra client protocol |
| 9200 | TCP | Elasticsearch HTTP | REST API |
| 9300 | TCP | Elasticsearch transport | Cluster/node transport |
| 11211 | TCP/UDP | Memcached | Distributed memory cache; UDP should rarely be exposed |
| 27017 | TCP | MongoDB | MongoDB client protocol |

> [!warning]+ Databases Should Rarely Be Internet-Facing
> An open database port is not automatically unauthenticated. Confirm binding scope, TLS, authentication, authorization, and network policy with approved credentials rather than inferring exposure from the port alone.

---

## Containers, Orchestration, and DevOps

| Port | Transport | Usual Product/Service | Security-Relevant Note |
|---:|:---:|---|---|
| 2375 | TCP | Docker API (plain HTTP) | Unauthenticated exposure can amount to host control |
| 2376 | TCP | Docker API (TLS) | Confirm mutual TLS and authorization |
| 2377 | TCP | Docker Swarm management | Manager control plane |
| 2379 | TCP | etcd client API | Kubernetes state/config data |
| 2380 | TCP | etcd peer traffic | Cluster replication |
| 3000 | TCP | Grafana / dev web server | Product convention, not reliable identification |
| 4646 | TCP | Nomad HTTP API | HashiCorp Nomad control/API |
| 4789 | UDP | VXLAN | Overlay-network encapsulation |
| 5000 | TCP | Container registry / dev web | Frequently reused; fingerprint it |
| 5601 | TCP | Kibana | Elastic web interface |
| 6443 | TCP | Kubernetes API | Kubernetes control-plane API |
| 8001 | TCP | Kubernetes API proxy | Common local `kubectl proxy` listener |
| 8200 | TCP | HashiCorp Vault API | Secrets-management API |
| 8500 | TCP | Consul HTTP API | Service catalog/control API |
| 8501 | TCP | Consul HTTPS API | TLS-wrapped Consul HTTP API |
| 8600 | TCP/UDP | Consul DNS | Service discovery through DNS |
| 9000 | TCP | Portainer legacy / SonarQube / apps | Highly ambiguous convention |
| 9090 | TCP | Prometheus | Metrics query and web UI |
| 9093 | TCP | Alertmanager | Prometheus alert management |
| 9100 | TCP | Prometheus node_exporter | Conflicts with raw printer convention |
| 9418 | TCP | Git protocol | Unencrypted native Git transport |
| 10250 | TCP | Kubelet API | Node-level Kubernetes API |
| 15672 | TCP | RabbitMQ management | HTTP management UI/API |
| 50000 | TCP | Jenkins inbound agent | Configurable; not every Jenkins uses it |

---

## Messaging, Queues, and Service Discovery

| Port | Transport | Service | Typical Role |
|---:|:---:|---|---|
| 1883 | TCP | MQTT | Unencrypted IoT/message broker traffic |
| 2181 | TCP | ZooKeeper | Distributed coordination |
| 3478 | TCP/UDP | STUN/TURN | NAT traversal for real-time communications |
| 3702 | UDP | WS-Discovery | Windows/printer/device discovery multicast |
| 4222 | TCP | NATS | Client messaging endpoint |
| 4369 | TCP | Erlang EPMD | Discovers Erlang distributed-node ports |
| 5349 | TCP/UDP | TURN over TLS/DTLS | Encrypted relay service |
| 5353 | UDP | mDNS | `.local` multicast service discovery |
| 5355 | TCP/UDP | LLMNR | Windows local-link name resolution |
| 5671 | TCP | AMQP over TLS | TLS-wrapped message queue protocol |
| 5672 | TCP | AMQP | RabbitMQ and other AMQP brokers |
| 5683 | UDP | CoAP | Constrained/IoT application protocol |
| 5684 | UDP | CoAP over DTLS | Encrypted CoAP |
| 8222 | TCP | NATS monitoring | HTTP monitoring endpoint |
| 8883 | TCP | MQTT over TLS | TLS-wrapped MQTT |
| 9092 | TCP | Apache Kafka | Broker/client protocol |
| 25672 | TCP | Erlang/RabbitMQ distribution | RabbitMQ inter-node traffic |
| 61613 | TCP | STOMP | Messaging protocol, often ActiveMQ |
| 61616 | TCP | ActiveMQ OpenWire | ActiveMQ broker transport |

---

## Email and Collaboration

| Port | Transport | Service | Typical Use |
|---:|:---:|---|---|
| 25 | TCP | SMTP | Mail relay/server-to-server transfer |
| 110 | TCP | POP3 | Mail retrieval with optional STARTTLS |
| 143 | TCP | IMAP | Mailbox access with optional STARTTLS |
| 465 | TCP | Submissions over TLS | Implicit-TLS mail submission |
| 587 | TCP | Message submission | Authenticated submission, normally STARTTLS |
| 993 | TCP | IMAPS | IMAP over implicit TLS |
| 995 | TCP | POP3S | POP3 over implicit TLS |
| 2525 | TCP | Alternate SMTP/submission | Common provider convention, not universal |
| 4190 | TCP | ManageSieve | Server-side mail-filter management |
| 5222 | TCP | XMPP client | Client-to-server chat/federation ecosystem |
| 5269 | TCP | XMPP server | Server-to-server federation |

---

## Voice, Video, and Real-Time Communications

| Port/Range | Transport | Service | Typical Use |
|---:|:---:|---|---|
| 1720 | TCP | H.323 | Call signalling |
| 2427 | UDP | MGCP gateway | Media gateway control |
| 3478 | TCP/UDP | STUN/TURN | NAT discovery and media relay |
| 4569 | UDP | IAX2 | Asterisk inter-server/client VoIP |
| 5060 | TCP/UDP | SIP | Unencrypted signalling |
| 5061 | TCP | SIP over TLS | TLS-wrapped SIP signalling |
| 5349 | TCP/UDP | TURN over TLS/DTLS | Encrypted media relay |
| 16384–32767 | UDP | RTP/RTCP convention | Dynamic voice/video media range; implementation-specific |

---

## Monitoring and Logging

| Port | Transport | Service | Typical Use |
|---:|:---:|---|---|
| 161/162 | UDP | SNMP / traps | Polling and asynchronous device alerts |
| 514 | UDP | Syslog | Traditional unencrypted logs |
| 2003 | TCP | Graphite Carbon | Plaintext metric ingestion |
| 5666 | TCP | NRPE | Nagios remote plugin execution |
| 6514 | TCP | Syslog over TLS | Encrypted log transport |
| 8125 | UDP | StatsD | Metric ingestion |
| 9090 | TCP | Prometheus | Metrics/query web service |
| 9093 | TCP | Alertmanager | Alert routing/management |
| 9100 | TCP | node_exporter | Host metrics; conflicts with JetDirect convention |
| 10050 | TCP | Zabbix agent | Agent checks |
| 10051 | TCP | Zabbix server/trapper | Server/proxy collection endpoint |

---

## ICS / OT and Building Automation

> [!danger]+ Fragile Environments
> Do not assume ordinary IT scan rates are safe for PLCs, safety systems, field devices, printers, or building controllers. Prefer passive asset data and vendor-approved, rate-limited probes under explicit OT rules of engagement.

| Port | Transport | Protocol/Product Family | Typical Environment |
|---:|:---:|---|---|
| 102 | TCP | ISO-TSAP / Siemens S7 | Siemens PLC programming/communications |
| 502 | TCP | Modbus/TCP | PLC, HMI, energy, and industrial control |
| 1911 | TCP | Niagara Fox | Building automation |
| 1962 | TCP/UDP | PCWorx | Phoenix Contact PLC engineering |
| 2404 | TCP | IEC 60870-5-104 | Electric utility telecontrol |
| 4840 | TCP | OPC UA | Industrial interoperability/data modelling |
| 5094 | TCP/UDP | HART-IP | Industrial field-device communications |
| 9600 | TCP/UDP | OMRON FINS | OMRON PLC communications |
| 20000 | TCP/UDP | DNP3 | Utility/SCADA telemetry and control |
| 34962–34964 | UDP | PROFINET | Discovery, RPC/context, and alarms |
| 44818 | TCP/UDP | EtherNet/IP | Common Industrial Protocol (CIP) |
| 47808 | UDP | BACnet/IP | Building automation and HVAC |

---

## Frequently Ambiguous Web and Application Ports

| Port | Common Possibilities | Do Not Assume |
|---:|---|---|
| 3000 | Grafana, Rails/Node/React dev server | That it is Grafana |
| 5000 | Flask/dev server, Docker Registry, UPnP control, vendor API | That HTTP implies one product |
| 8000 | Django/dev HTTP, appliance UI, streaming service | That it is “just alternate HTTP” |
| 8008 | Alternate HTTP, Chromecast-related traffic, appliance UI | Product identity |
| 8080 | Proxy, Tomcat, Jenkins, alternate HTTP/admin UI | That it is always a web proxy |
| 8081 | Artifact repository, alternate admin UI, dev server | Nexus/Artifactory without fingerprints |
| 8443 | Alternate HTTPS, Kubernetes/dashboard/appliance UI | That TLS identifies the application |
| 8888 | Jupyter, alternate HTTP, proxy/control UI | That an exposed notebook exists |
| 9000 | ClickHouse, SonarQube, Portainer legacy, PHP-FPM/vendor apps | Any single product |
| 9100 | JetDirect raw printing or Prometheus node_exporter | Printer versus metrics service |
| 9443 | Alternate HTTPS, container/admin UI | Product or authorization model |

```bash
# Identify an ambiguous service instead of trusting the port label
nmap -Pn -n -sV --version-all --reason -p3000,5000,8000,8080,8443,9000,9100 <target>

# Add web/TLS metadata where applicable
nmap -Pn -n -sV -p3000,5000,8000,8080,8443,9000,9100 \
  --script=http-title,http-headers,ssl-cert <target>
```

---

## High-Value UDP Triage List

```bash
sudo nmap -sU -Pn -n -sV --reason \
  -p53,67,68,69,88,111,123,137,138,161,162,389,500,514,520,521,623,1434,1701,1812,1813,1900,2049,3478,3702,4500,4789,5060,5353,5355,5683,11211,20000,34962-34964,44818,47808,51820 \
  <target>
```

| UDP Port | First Thought | Confirmation Idea |
|---:|---|---|
| 53 | DNS | `dig`, `dns-nsid`, recursion/authoritative checks |
| 69 | TFTP | Request a known in-scope filename; avoid blind writes |
| 123 | NTP | `ntpq`, `ntp-info` |
| 161 | SNMP | `snmpwalk` with an approved community/credential |
| 500/4500 | IPsec VPN | IKE fingerprinting; confirm NAT-T |
| 623 | IPMI | RMCP/IPMI version and cipher checks |
| 1434 | SQL Browser | Query instance names/ports |
| 1900 | SSDP/UPnP | Multicast discovery and device description XML |
| 5353 | mDNS | Browse `.local` service records |
| 11211 | Memcached | Confirm UDP enablement; amplification exposure is high risk |

---

## IP Protocol Numbers Are Not Ports

| IP Protocol Number | Protocol | Why You May See It |
|---:|---|---|
| 1 | ICMP | IPv4 errors and diagnostics |
| 2 | IGMP | IPv4 multicast membership |
| 4 | IP-in-IP | IP tunnelling |
| 6 | TCP | Transmission Control Protocol |
| 17 | UDP | User Datagram Protocol |
| 41 | IPv6 encapsulation | IPv6-in-IPv4 tunnels |
| 47 | GRE | PPTP data and generic routing encapsulation |
| 50 | ESP | IPsec encrypted payload |
| 51 | AH | IPsec authentication header |
| 58 | ICMPv6 | IPv6 discovery, errors, and diagnostics |
| 89 | OSPF | Interior routing protocol |
| 132 | SCTP | Telecom/signalling and specialized applications |

```bash
# Scan IP protocol numbers rather than TCP/UDP ports
sudo nmap -sO --reason <target>
```

---

## From an Open Port to the Right Next Tool

| Service | Confirm / Enumerate With |
|---|---|
| DNS | `dig`, `host`, `dnsrecon`, Nmap `dns-*` scripts |
| FTP | `ftp`, `curl`, `ftp-anon`, banner and TLS inspection |
| SSH | `ssh -vv`, `ssh-keyscan`, `ssh-audit`, SSH NSE scripts |
| HTTP(S) | `curl`, browser/devtools, `whatweb`, `ffuf`, HTTP/TLS NSE |
| SMB | `smbclient`, `enum4linux-ng`, `netexec`, `smbmap`, SMB NSE |
| LDAP | `ldapsearch`, RootDSE query, TLS certificate review |
| Kerberos | DNS SRV records, `kinit`, approved AD enumeration tooling |
| SNMP | `snmpwalk`, `snmpget`, SNMP NSE scripts |
| NFS | `rpcinfo`, `showmount`, NFS NSE scripts |
| SMTP | `openssl s_client`, SMTP dialogue, `smtp-*` NSE scripts |
| RDP | `xfreerdp`, RDP encryption/NTLM-info NSE |
| WinRM | PowerShell remoting or `evil-winrm` with approved credentials |
| Database | Native read-only client with an approved account; capture TLS/auth settings |

---

## Quick Reference Scan Sets

```bash
# Common TCP infrastructure and administration
sudo nmap -sS -Pn -n -sV \
  -p21,22,23,25,49,53,80,88,110,111,135,139,143,179,389,443,445,464,514,515,548,554,587,631,636,873,990,993,995,1080,1194,1433,1521,1723,2049,2375,2376,3000,3128,3260,3268,3269,3306,3389,5432,5672,5900,5985,5986,6379,6443,8080,8443,8883,9000,9090,9100,9200,10000,10250,11211,27017 \
  <target>

# Core UDP infrastructure
sudo nmap -sU -Pn -n -sV \
  -p53,67,68,69,88,111,123,137,138,161,162,389,500,514,520,521,623,1434,1701,1812,1813,1900,2049,3478,3702,4500,4789,5060,5353,5355,5683,51820 \
  <target>
```

---

## References

1. [IANA Service Name and Transport Protocol Port Number Registry](https://www.iana.org/assignments/service-names-port-numbers/)
2. [RFC 6335 — Service Name and Port Number Procedures](https://www.rfc-editor.org/rfc/rfc6335)
3. [Nmap `nmap-services` Database](https://nmap.org/book/nmap-services.html)
4. [Nmap Service and Version Detection](https://nmap.org/book/vscan.html)
5. [Nmap Port Specification](https://nmap.org/book/man-port-specification.html)