S4-Ports and Protocols Flashcards

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
Q

What protocol/service uses port 143?

A

IMAP

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

What protocol/service uses port 993?

27
Q

What are the 4 File transfer protocols?

A
  • FTP
  • SFTP
  • TFTP
  • SMB
28
Q

FTP

A

“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
Q

SFTP

A

Secure version of FTP that uses SSH and operates over port 22
- can be used over IP

30
Q

TFTP

A

“Trivial File Transfer Protocol”
- Simpler FTP
- uses Port 69
- used to send files with minimal security

31
Q

SMB

A

“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
Q

What protocol/service uses port 20/21?

33
Q

What protocol/service uses port 22?

34
Q

What protocol/service uses port 69?

35
Q

What protocol/service uses port 445?

36
Q

What are the 3 Remote Access Protocols?

A
  • SSH
  • Telnet
  • RDP
37
Q

SSH

A

“Secure Shell”
- provides a secure encrypted channel over an unsecure network
- uses port 22
- text based

38
Q

Telnet

A
  • uses port 23
  • Allows a user on one computer to remotely login to another computer.
  • insecure
  • older protocol
  • text based
39
Q

RDP

A

“Remote Desktop Protocol”
- MS remote access protocol that has a GUI to windows based systems.
- uses port 3389 (TCP)

40
Q

What protocol/service uses port 3389?

41
Q

What protocol/service uses port 23?

42
Q

What are some key network service protocols?

A
  • DNS
  • DHCP
  • SQL
  • SNMP
  • Syslog
43
Q

DNS

A

“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
Q

DHCP

A

“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
Q

SQL Services

A

Protocols used by database servers to manage queries and control operations from client applications requesting them.

46
Q

What are the 2 most common SQL services and their ports?

A
  • Microsoft SQL (Port 1433)
  • MySQL (Port 3306)
47
Q

SNMP

A

“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
Q

Syslog

A

“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
Q

What protocol/service uses port 53?

50
Q

What protocol/service uses ports 67/68?

A

DHCP
67- listening
68- Responding

51
Q

What protocol/service uses port 1433?

A

Microsoft SQL

52
Q

What protocol/service uses port 3306?

53
Q

What protocol/service uses port 161/162?

A

SNMP
161- Managers
162- Agents

54
Q

What protocol/service uses port 514?

55
Q

NTP

A

“Network Time Protocol”
- Used to sync the clocks of a computer over a given network
- operates over port 123 using UDP

56
Q

SIP

A

“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
Q

LDAP

A

“Lightweight Directory Access Protocol”
- Used for accessing and maintaining directory information services over an IP network.
- uses port 389 (TCP, UDP)
- insecure

58
Q

LDAPS

A

Secure version of LDAP that uses SSL. Newer versions use TLS
- uses port 636 (TCP)

59
Q

What protocol/service uses port 123?

60
Q

What protocol/service uses ports 5060/5061?

A

SIP
5060 - unencrypted
5061 - encrypted

61
Q

What protocol/service uses port
389?

62
Q

What protocol/service uses port 636?