OSCP Reference

9.2.0 Stage 02: Service Enumeration

← Main index | Strategy map | Study methods: Extract opportunities from services; Map useful web behavior

Quick use: Service opportunity cheatsheet · Web mapping cheatsheet

Paired study stage: Stage 01 discovery and scanning. Enter with its endpoint/application queue; return when enumeration discloses a new in-scope host, listener, route or source position.

Purpose: turn a confirmed service into names, files, permissions, credentials, configuration clues or a verified remote-access path.

Applications may listen on nonstandard ports. Sort by the observed application behavior, not by the port label alone.

Common portServiceOpen
21/tcpFTPFind accessible files and usable access through FTP
22/tcpSSHValidate SSH identity and available access
23/tcp, 5900/tcpTelnet/VNCWindows and remote-access services
25, 465, 587/tcpSMTPIdentify mail-service identities and supported interactions
53/tcp, 53/udpDNSExpand the host map through DNS records and zone transfers
69/udpTFTPUnix file services
80, 443/tcp and alternatesHTTP(S)HTTP and web application mapping
88/tcp/udp; 389, 636, 3268, 3269/tcpKerberos/LDAP/Global CatalogFind domain identities and validate directory access
110, 143, 993, 995/tcpPOP3/IMAPSMTP and mail access
111, 2049/tcp/udpRPC/NFSFind accessible exports and validate their permission mappings
135, 139, 445/tcpMS-RPC/SMBFind shares, identities and rights through SMB and RPC
161/udpSNMPFind configuration and process leads through readable SNMP objects
873/tcpRsync daemonUnix file services
1433, 3306, 5432/tcpDatabasesDetermine which database data and operations your identity can access
1521, 6379/tcpOracle TNS/RedisDatabases and data stores
3389, 5985, 5986/tcpRDP/WinRMValidate the remote services your Windows identity can access
5060/tcp/udp, 6667/tcpSIP/IRCSIP and IRC

Exit condition: for each observed service, you can state the tested access context, available namespace or objects, effective read/write/execute rights, useful information recovered, decisive failure state and next action. A new identity, credential, hostname, route or access level triggers re-enumeration.

Handoffs: new network graph information returns to Stage 01; new credentials trigger authenticated re-enumeration and the credential unit; web behavior enters Blocks 3-4; a credible public exploit enters Block 6; verified execution enters Block 7.

Never equate a writable location with code execution. Confirm the privileged consumer, path, execution identity and trigger in the later exploitation or privilege-escalation stage.


Top of document · Reference home