Ports Flashcards

1
Q

Telnet

A

tcp/23

It’s used to provide a command line interface for communication for a remote device. TCP is used to make sure that the packets of data are sent reliably

ZERO encryption

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

SSH

A

tcp/22 Secure Shell

similar to Telnet but uses encryption when connecting to routers.. or switches..

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

DNS

A

udp/53
tcp/53 for large transfers

converts names to IP addresses

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

SMTP

A

tcp/25 plaintext
tcp/587 using TLS encryption

Simple Mail Transfer Protocol is a server to server transfer protocol

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

POP3

A

Post office Protocol version 3
tcp/110 plaintext
tcp/995 over TLS
Basic mail transfer functionality and can be used offline

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

IMAP4

A

Internet Access Message Protocol v4 which includes management of email inbox from multiple clients

tcp/143 (plaintext)
tcp/993 over TLS

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

SFTP

A

tcp/22 SSH File Transfer Protocol

provides system functionality by resuming interrupted transfers, directory listings, and remote file removal

Encrypted

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

FTP

A

tcp/20 (active mode data)
tcp/21 (control)

FTP transfers files between systems

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

TFTP

A

udp/69
Trivial File Transfer Protocol doesn’t authenticate and is simple.

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

DHCP

A

udp/67
udp/69

Requires a DHCP server, at home it would be in a wired or wireless router

Dynamic/pooled
- IP addresses are assigned in real-time from a pool
- each system is given a lease and must renew at set intervals

DHCP reservation
- addresses are assigned by MAC address in the DHCP server
- quickly manage addresses from one location

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

HTTP / HTTPS

A

tcp/80 web server communication

tcp/443 over TLS or SSL web server communication with encryption

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

SNMP

A

udp/161

Simple Network Management Protocol

v3 - A secure standard with message integrity, authentication, and encryption

udp/162 SNMP traps are alerts and notifications from the network devices

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

Syslog

A

udp/514
Standard for message logging with diverse systems, consolidated log

Usually a central log collector integrated into the SEIM

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

RDP

A

tcp/3389

Remote Desktop Protocol shares a desktop from a remote location and connect to an entire desktop or just an application.

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

NTP

A

udp/123

Switches, routers, firewalls, servers, workstations where every device has its own clock.

Synchronizing the clocks becomes critical especially for log files, authentication information, and outage details.

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

SIP

A

tcp/5060
tcp/5061

Session Initiation Protocol helps with setup and managing VoIP signaling.
- Call, ring, or hang up

17
Q

SMB

A

tcp/445 (NetBIOS-less)

Server Message Block is a protocol used by Microsoft Windows that deals with file sharing and printer sharing
- also called CIFS (Common Internet File System)

18
Q

LDAP

A

tcp/389
Lightweight Directory Access Protocol is used to store and retrieve information in a network directory

tcp/636 LDAPS
- a non standard implementation of LDAP using SSL

19
Q

Databases

A

tcp/1433
MS-SQL Server (Microsoft Structured Query Language)

tcp/1521
Oracle SQL

tcp/3306
MySQL free and open-source database
- ultimately acquired by Oracle