Section 16.146 Security Infrastructure: Ports and Protocols Flashcards

Objective 3.2 Given a scenario, you must be able to apply security principles to secure enterprise architecture. Objective 4.5 Given a scenario, you must be able to modify enterprise capabilities to enhance security

1
Q

Security Infrastructure

A

Encompasses hardware, software, networks, data, and policies working cohesively to protect information

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

Ports and Protocols

Port

A

Logical communication endpoints on a computer or server

Example: Running a secure web server thats used for running e-commerce on your system you will have port 443 open listening for any inbound requests from your potential visitors

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

Port Classification

Inbound

A

Logical communication opening on a server that is listening for a connection from a client

○ Listening for connections

Open port waiting for someone to connect to it

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

Port Classification

Outbound

A

Logical communication opening created on a clinet in order to call out to a server for a connection

○ Used to connect to a server

If my computert is looking to make a connection to your web server over port 443 then my computer is going to open up a random high port numberr like 52363 and make an outbound request to web server port 443

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

Port Classification

Well-Known Ports (0-1023)

A

0-1023

Assigned by Internet Assigned Numbers Authroity (IANA), commonly-used protocols

Web browsing: HTTPS 443
Telnet: Port 23

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

Port Classification

Registered Ports (1024-49151)

A

1024-49151

Vendor-specific, registered with IANA

Microsift SQL server Port 1433

Microsoft Remote Desktop Protocol (RDP) 3389

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

Dynamic and Private Ports (49152-65535)

A

49152-65535

Temporary outbound connections

Ports that can be used by any application without being registered with IANA

Commonly used in gaming and instant messaging connections

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

Protocols

A

Rules governing device communication and data exchange between devices and systems

● HTTPS (port 443) uses the HTTPS protocol for secure web communication

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

Memorisation Tips

A

Memorise for each port the…

● Port number
● Default protocol
● Support for TCP or UDP connection
● Basic description of the port or protocol

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

PORT 21

A

■ File Transfer Protocol (FTP)
■ TCP
■ Used to transfer files from host to host

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

Port 22

A

■ Secure Shell Protocol (SSH), SCP, SFT.
■ TCP
■ Provides secure remote terminal access and file trasnfer capabilities. Provides Secure Copy Functions.
Provides Secure File Tranfers (SFTP)

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

Port 23

A

■ TELNET
■ TCP
■ Provides insecure remote control of another machine using a text based environment

its unencrypted and insecure so you should NOT be using it these days - exam questions may ask you about remote connections over port 23 and how to better secure it. ANSWER would be to close telnet and open an SSH port

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

Port 25

A

■ Simple Mail Transfer Protocol (SMTP)
■ TCP
■ Provides the ability to send emails over the network

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

PORT 53

A

■ Domain Name System (DNS)
■ TCP and UDP
■ Translates domain names in to IP addresses

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

Port 69

A

■ Trivial File Trasnfer Protocol (TFTP)
■ UDP
■ Used as a lightweight file transfer method for sending configuration files or network booting of an operational system

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

Port 80

A

■ Hypertext Transfer Protocol (HTTP)
■ TCP
■ Used for insecure web browsing

17
Q

Port 88

A

■ Kerberos
■ UDP
■ Network authentication protocol

18
Q

Port 110

A

■ Post Office Version Three Protocol (POP3)
■ TCP
■ Responsible for retrieving emails from a server

19
Q

Port 119

A

■ Network News Transfer Protocol (NNTP)
■ TCP
■ Used for accessing newsgroups

20
Q

Port 137
Port 138
Port 139

A

■ NetBIOS
■ TCP and DCP
■ Networking protocol suite

Used within a local windows environment used for things like printing

20
Q

Port 135

A

■ Remote Procedure Call (RPC)
■ TCP and UDP
■ Facilitates communication between different system proceses

Often used with the windows file sharing system

21
Q

Port 143

A

■ Instant Messaging Access Protocol (IMAP)
■ TCP
■ Allows access to email messages on a server

22
Q

Port 161

A

■ Simple Network Management Protocol (SNMP)
■ UDP
■ Manages network devices

23
Q

Port 162

A

■ SNMPTrap
■ UDP
■ Responsible for sending SNMP trap messages

24
Q

Port 389

A

■ Lightweight Directory Access Protocol (LDAP)
■ TCP
■ Facilitates directory services

25
Q

Port 443

A

■ HTTP Secure (HTTPS)
■ TCP
■ Provides secure web communication

26
Q

Port 445

A

■ Server Message Block (SMB)
■ TCP
■ Used for file and pritner sharing over a network

27
Q

Port 465
Port 587

A

■ SMTP Secure (SMTPS)
■ TCP
■ Provides secure SMTP communication

28
Q

Port 514

A

■ SYSLOG
■ UDP
■ Used for sending log messages

29
Q

Port 636

A

■ LDAP Secure (LDAPS)
■ TCP
■ LDAP communication over SSL/TLS

30
Q

Port 993

A

■ IMAPS (IMAP over SSL/TLS)
■ TCP
■ Used for secure email retireval

31
Q

Pro 995

A

■ Post Office Protocol Versoin 3 over SSL/TLS (POP3S)
■ TCP
■ Used for secure email retreival

32
Q

Port 1433

A

■ Microsoft SQL
■ TCP
■ Used to facilitate communication with Microsoft SQL server

33
Q

PORT 1645
PORT 1646

A

■ Radius TCP
■ TCP
■ Used for remote authentication, authorisation and accounting

34
Q

Port 1812
Port 1813

A

■ Radius UDP
■ UDP
■ Used for authentication and accounting as defiend by the Interent Engineering Task Force (IETF)

35
Q

Port 3389

A

■ Remote Desktop Protocol (RDP)
■ TCP
■ Enables remote desktop access

36
Q

Port 6514

A

■ Syslog TLS
■ TCP
■ Used in 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