S4-Ports and Protocols Flashcards

(63 cards)

1
Q

What is a Port?

A

A logical opening in a computer that represents a service or application.

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

What Are the 3 groups of ports and their numbered ranges?

A

-Well-known (0 to 1,023)
- registered (1,024 to 49,151)
- Ephemeral (49,152 to 65,535)

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

What is IANA

A

“Internet Assigned Numbers Authority”

Well known ports and Reserved ports are registered with IANA

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

Ephemeral Ports

A

Temporary ports that are opened for a small period of time within a predefined range of ports.

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

What are the sizes for TCP and UDP Packet headers?

A

UDP = 8b
TCP = 20-60b

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

TCP

A

“Transfer Control Protocol”
fundamental protocol that consists of a set of rules that govern data exchange

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

what is a DDoS attack?

A

“Distributed Denial of Service”
A network of compromised computers is used to generate a significant amount of traffic.

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

Ping of Death

A

An attacker exploits a vulnerability to send malformed or oversized packets using ICMP.

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

ICMP

A

“Internet Control Message Protocol”
network layer protocol used to diagnose network related issues and send information to a host about network problems.

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

What are times when ICMP can be used?

A
  • Indicating when a host or service is unreachable
  • Report when a packet’s time to live has expired
  • Router Buffer issues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Max size of an IP packet?

A

65,535 bytes

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

What protocol/service uses port 80?

A

“Hypertext Transfer Protocol”(HTTP)

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

What is HTTP

A

“Hypertext Transfer Protocol”(HTTP)
- web browsing protocol
- data is sent in plain text
- not secure

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

What protocol/service uses port 443?

A

“Hypertext Transfer Protocol Secure” (HTTPS)

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

What is HTTPS

A

secure web browsing protocol that encrypts data by sending it down an SSL or TLS tunnel.

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

What are the three Main email protocols?

A
  • SMTP
  • POP3
  • IMAP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

SMTP

A

“Simple mail transfer protocol”
- Standard email protocol
- operates over Port 25
- used to transmit outbound emails
- Send only
- insecure (plain text)

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

SMTPS

A

SMTP that uses SSL or TLS to encrypt sent data.

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

What protocol/service uses port 25?

A

SMTP

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

What protocol/service uses ports 465 or 587?

A

SMTPS

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

POP3

A

“Post Office Protocol”
- used to receive/download emails from server to client
- operates over Port 110
- insecure protocol

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

What protocol/service uses port 110?

A

POP3

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

What protocol/service uses port 995?

A

POP3S

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

IMAP

A

“Internet Message Access Protocol”
- Allows users to manage emails directly on the email server
- uses Port 143
- Receives emails
- Insecure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What protocol/service uses port 143?
IMAP
26
What protocol/service uses port 993?
IMAPS
27
What are the 4 File transfer protocols?
- FTP - SFTP - TFTP - SMB
28
FTP
"File Transfer Protocol" - used for file transfer between client and server - operates over ports 20 & 21 - 20 actual data transfer - 21 send control command - not secure - can be used over IP
29
SFTP
Secure version of FTP that uses SSH and operates over port 22 - can be used over IP
30
TFTP
"Trivial File Transfer Protocol" - Simpler FTP - uses Port 69 - used to send files with minimal security
31
SMB
"Server Message Block" - Allows computer apps to read and write files, and request services from the server programs - uses port 445 - exclusively used on a LAN
32
What protocol/service uses port 20/21?
FTP
33
What protocol/service uses port 22?
SFTP/SSH
34
What protocol/service uses port 69?
TFTP
35
What protocol/service uses port 445?
SMB
36
What are the 3 Remote Access Protocols?
- SSH - Telnet - RDP
37
SSH
"Secure Shell" - provides a secure encrypted channel over an unsecure network - uses port 22 - text based
38
Telnet
- uses port 23 - Allows a user on one computer to remotely login to another computer. - insecure - older protocol - text based
39
RDP
"Remote Desktop Protocol" - MS remote access protocol that has a GUI to windows based systems. - uses port 3389 (TCP)
40
What protocol/service uses port 3389?
RDP
41
What protocol/service uses port 23?
Telnet
42
What are some key network service protocols?
- DNS - DHCP - SQL - SNMP - Syslog
43
DNS
"Domain Name System" - Translates domain names to IP addresses and vice versa - uses port 53 - operates on both TCP and UDP - UDP for small messages, TCP for large messages
44
DHCP
"Dynamic Host Configuration Protocol" - used to automate the assignment of IP addresses, subnets, mass gateways and other network params to a client device - listens on port 67, responds on port 68 using UDP
45
SQL Services
Protocols used by database servers to manage queries and control operations from client applications requesting them.
46
What are the 2 most common SQL services and their ports?
- Microsoft SQL (Port 1433) - MySQL (Port 3306)
47
SNMP
"Simple Network Management Protocol" - used to configure and collect data from network devices like servers, printers, hubs, switches, and routers - uses ports 161 and 162 - 161 for SNMP managers - 162 for Agents
48
Syslog
"System Logging" - message logging standard that allows for devices on a network to send event messages to an event message collector (Syslog Server) - operates over port 514 - uses UDP or TCP
49
What protocol/service uses port 53?
DNS
50
What protocol/service uses ports 67/68?
DHCP 67- listening 68- Responding
51
What protocol/service uses port 1433?
Microsoft SQL
52
What protocol/service uses port 3306?
MySQL
53
What protocol/service uses port 161/162?
SNMP 161- Managers 162- Agents
54
What protocol/service uses port 514?
Syslog
55
NTP
"Network Time Protocol" - Used to sync the clocks of a computer over a given network - operates over port 123 using UDP
56
SIP
"Session Initiation Protocol" - used to start, maintain and stop real-time sessions - most commonly used with VoIP - operates over ports 5060 and 5061 - 5060 for un-encrypted signals (TCP, UDP) - 5061 for encrypted signals (TCP)
57
LDAP
"Lightweight Directory Access Protocol" - Used for accessing and maintaining directory information services over an IP network. - uses port 389 (TCP, UDP) - insecure
58
LDAPS
Secure version of LDAP that uses SSL. Newer versions use TLS - uses port 636 (TCP)
59
What protocol/service uses port 123?
NTP
60
What protocol/service uses ports 5060/5061?
SIP 5060 - unencrypted 5061 - encrypted
61
What protocol/service uses port 389?
LDAP
62
What protocol/service uses port 636?
LDAPS
63