Situatie
When interacting over the Internet, TCP and UDP protocols make connections, recompile data packages after the transfer, and then deliver them to applications on the recipient’s device. For this handover to work, the operating system must install and open the gateway for the transfer. Each door has a unique code number. After transmission, the receiving system uses the port number to determine where the data should be sent. The port numbers of the sender and receiver are always included in the data packet.Ports are assigned sequential numbers from 0 to 65536. Some of these codes are standardized, meaning they are assigned to certain uses.
Any security researcher, bug bounty hunter, or anyone working with service configuration would benefit from this. Knowing how to do more thorough scans such as version detection or known vulnerabilities for ancient services that are still operating in the infrastructure, especially when using tools like Nmap, is handy when getting to know these protocols and services.
Solutie
7 Echo TCP, UDP Echo service
20 FTP-data TCP, SCTP File Transfer Protocol data transfer
21 FTP TCP, UDP, SCTP File Transfer Protocol command control
22 SSH/SCP/SFTP TCP, UDP, SCTP Secure Shell, secure logins, file transfers (scp, sftp), and port forwarding
23 Telnet TCP Telnet protocol, for unencrypted text communications
25 SMTP TCP Simple Mail Transfer Protocol, used for email routing between mail servers
53 DNS TCP, UDP Domain Name System name resolver
69 TFTP UDP Trivial File Transfer Protocol
80 HTTP TCP, UDP, SCTP Hypertext Transfer Protocol (HTTP) uses TCP in versions 1.x and 2. HTTP/3 uses QUIC, a transport protocol on top of UDP
88 Kerberos TCP, UDP Network authentication system
102 Microsoft Exchange ISO-TSAP TCP Microsoft Exchange ISO Transport Service Access Point (TSAP) Class 0 protocol
110 POP3 TCP Post Office Protocol, version 3 (POP3)
135 Microsoft RPC EPMAP TCP, UDP Microsoft Remote Procedure Call (RPC) Endpoint Mapper (EPMAP) service, for remote system access and management
137 NetBIOS-ns TCP, UDP NetBIOS Name Service, used for name registration and resolution
139 NetBIOS-ssn TCP, UDP NetBIOS Session Service
143 IMAP TCP, UDP Internet Message Access Protocol (IMAP), management of electronic mail messages on a server
381 HP Openview TCP, UDP HP performance data collector
383 HP Openview TCP, UDP HP data alarm manager
443 HTTPS (HTTP over SSL) TCP, UDP, SCTP Hypertext Transfer Protocol Secure (HTTPS) uses TCP in versions 1.x and 2. HTTP/3 uses QUIC, a transport protocol on top of UDP.
464 Kerberos TCP, UDP For password settings on Kerberos
465 SMTP over TLS/SSL, SSM TCP Authenticated SMTP over TLS/SSL (SMTPS), URL Rendezvous Directory for Cisco’s Source Specific Multicast protocol (SSM)
593 Microsoft DCOM TCP, UDP Distributed Component Object Model (DCOM).
Leave A Comment?