Ports & Protocols Flashcards
What is a Port?
logical communication endpoint that exists on your computer or server.
What is an Inbound Port?
used when a computer or server is listening for a connection
What is an Outbound Port?
open by a computer whenever it wants to connect to a given server.
What are the Well-Known Ports?
any port that is numbered between zero and 1023
Called well known ports because they are assigned by the Internet Assigned Numbers Authority (IANA)
What protocol and port number is used for secure web browsing?
Well-Known Port
HTTPS
Port 443
What protocol does port 23 use?
Telnet
What are Registered Ports?
Ports 1024 to 49,151 are considered registered and are usually assigned to proprietary protocols
What port does the Microsoft SQL server use?
Port 1433
What port does the RDP (Remote Desktop Protocol) use?
port 3389
What are the Dynamic and Private Ports?
Port 49,152 to 65,535 can be used by any application without being registered with IANA
What is a Protocol?
Rules governing device communication and data exchange
What to know for ports for the Sec+ exam
- Memorize the port number.
- Memorize the protocol used by that port by default.
- I want you to know whether the protocol supports TCP or UDP connections.
- I want you to know a basic description of what that port or protocol is going to be used for.
Port 21 (TCP)
Used for: FTP (File Transfer Protocol)
FTP is going to be used to transfer files from a host to host, and it operates over port 21 using TCP.
Port 22 (TCP)
Used for: SSH, SCP, SFTP
SSH is used for remote control or remote access using a text-based environment to a remote server.
SCP is going to provide with you a secure copy functions over port 22
SFTP will provide secure file transfers over port 22 as well.
Port 23 (TCP)
Used for Telnet
Telnet is a protocol used for remotely accessing network devices and it operates over port 23 using TCP.
Port 25 (TCP)
Used for: SMTP (Simple Mail Transfer Protocol)
Responsible for sending emails over port 25 using TCP
Port 53 (TCP and UDP)
Used for: DNS (Domain Name System)
This is going to be used to translate domain names into IP addresses and it functions over port 53 using both TCP and UDP connections.
Port 69 (UDP)
Used for: TFTP (Trivial File Transfer Protocol)
simplified file transfer protocol that is often used with network-based operating systems. This is going to operate over port 69 using a UDP connection.
Port 80 (TCP)
Used for: HTTP (Hypertext Transfer Protocol)
Used for insecure web browsing
Port 88 (UDP)
Used for: Kerberos
Kerberos is a network authentication protocol that operates over port 88 using UDP
Port 110 (TCP)
Used for: POP3 (Post Office Protocol Version 3)
POP3 is going to be responsible for retrieving email from a server and it operates over port one 10 using TCP connections.
Port 119 (TCP)
Used for: NNTP (Network News Transfer Protocol)
used for accessing news groups and it operates over port 119 using TCP.
Port 135 (TCP & UDP)
Used for: RPC (Remote Procedure Call)
This is going to facilitate your communication between different system processes and it operates over port 135 using TCP and UDP
Ports 137, 138, & 139 (TCP & UDP)
Used for: NetBIOS
NetBIOS is a network protocol suite and it operates over ports 137, 138 and 139 using UDP and TCP.