Ports & Protocols Flashcards

1
Q

What is a Port?

A

logical communication endpoint that exists on your computer or server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an Inbound Port?

A

used when a computer or server is listening for a connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an Outbound Port?

A

open by a computer whenever it wants to connect to a given server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the Well-Known Ports?

A

any port that is numbered between zero and 1023

Called well known ports because they are assigned by the Internet Assigned Numbers Authority (IANA)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What protocol and port number is used for secure web browsing?

A

Well-Known Port

HTTPS

Port 443

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What protocol does port 23 use?

A

Telnet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are Registered Ports?

A

Ports 1024 to 49,151 are considered registered and are usually assigned to proprietary protocols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What port does the Microsoft SQL server use?

A

Port 1433

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What port does the RDP (Remote Desktop Protocol) use?

A

port 3389

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the Dynamic and Private Ports?

A

Port 49,152 to 65,535 can be used by any application without being registered with IANA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Protocol?

A

Rules governing device communication and data exchange

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What to know for ports for the Sec+ exam

A
  1. Memorize the port number.
  2. Memorize the protocol used by that port by default.
  3. I want you to know whether the protocol supports TCP or UDP connections.
  4. I want you to know a basic description of what that port or protocol is going to be used for.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Port 21 (TCP)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Port 22 (TCP)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Port 23 (TCP)

A

Used for Telnet

Telnet is a protocol used for remotely accessing network devices and it operates over port 23 using TCP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Port 25 (TCP)

A

Used for: SMTP (Simple Mail Transfer Protocol)

Responsible for sending emails over port 25 using TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Port 53 (TCP and UDP)

A

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.

18
Q

Port 69 (UDP)

A

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.

19
Q

Port 80 (TCP)

A

Used for: HTTP (Hypertext Transfer Protocol)

Used for insecure web browsing

20
Q

Port 88 (UDP)

A

Used for: Kerberos

Kerberos is a network authentication protocol that operates over port 88 using UDP

21
Q

Port 110 (TCP)

A

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.

22
Q

Port 119 (TCP)

A

Used for: NNTP (Network News Transfer Protocol)

used for accessing news groups and it operates over port 119 using TCP.

23
Q

Port 135 (TCP & UDP)

A

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

24
Q

Ports 137, 138, & 139 (TCP & UDP)

A

Used for: NetBIOS

NetBIOS is a network protocol suite and it operates over ports 137, 138 and 139 using UDP and TCP.

25
Q

What is NetBIOS?

A

used inside of a Windows domain environment for you to be able to share things like internal network names as well as doing file and printer sharing in a local Windows environment.

26
Q

Port 143 (TCP)

A

Used for: IMAP (Internet Message Access Protocol)

allows for accessing email messages on a server and be able to operate over port 143 using a TCP connection.

27
Q

Port 161 (UDP)

A

Used for: SNMP (Simple Network Management Protocol)

Allows access to email messages on a server

28
Q

Port 162 (UDP)

A

Used for: SNMP Traps

Responsible for sending SNMP trap messages

29
Q

Port 389 (TCP)

A

User for: LDAP (Lightweight Directory Access Protocol)

This is going to be able to help you with directory services and it operates over port 389 using TCP.

30
Q

Port 443 (TCP)

A

Used for: HTTPS (Hypertext Transfer Protocol Secure)

provides us with a secure web communication process that operates over port 443 using TCP.

31
Q

Port 445 (TCP)

A

Used for: SMB (Server Message Block)

used for file and printer sharing over a network and operates using port 445 using TCP

32
Q

Ports 465 & 587 (TCP)

A

Used for: SMTPS

provides us with secure SMTP communications to send our emails over port 465 or 587 using either SSL or TLS and a TCP connection.

33
Q

Port 514 (UDP)

A

Used for: Syslog

protocol for sending log messages and it operates over port 514 using a UDP connection.

34
Q

Port 636 (TCP)

A

Used for: LDAPS (LDAP Secure)

allows us to have our LDAP directory communications happening over an SSL or TLS connection that is encrypted and operating over port 636 using a TCP connection.

35
Q

Port 993 (TCP)

A

Used for: IMAPS

or the Internet Message Access Protocol over SSL or TLS and essentially, this is the secure version of IMAP. This is going to be used to do the secure email retrieval over port 993 using a TCP connection.

36
Q

Port 995 (TCP)

A

Used for: POP3S (Post Office Protocol version 3 over SSL/TLS)

This allows us to have secure email retrieval using a POP3 protocol over port 995 using a TCP connection.

37
Q

Port 1433 (TCP)

A

Used for: Microsoft SQL

Used to facilitate communication with our Microsoft SQL server and it operates over port 1433 using a TCP connection

38
Q

Ports 1645 & 1646 (TCP)

A

Used for: RADIUS

RADIUS is a protocol for remote authentication, authorization and accounting that operates over ports 1645 and 1646 using a TCP connection.

39
Q

Ports 1812 & 1813 (UDP)

A

used for: RADIUS when it uses a UDP session

Used for authentication and accounting as defined by the Internet Engineering Task Force (IETF)

40
Q

Port 3389 (TCP)

A

Used for: RDP (Remote Desk Protocol)

enables remote desktop access and operates over port 3389 using a TCP connection.

41
Q

Port 6514 (TCP)

A

Used for: Syslog TLS

Used in a secure Syslog that uses SSL/TLS to encrypt the IP packets using a certificate before sending them across the IP network to the syslog collector