1.1 Common Ports Flashcards

1
Q

SSH uses port _________________.

A

TCP/22

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

DNS uses port _________________.

A

UDP/53

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

SMTP uses port _________________.

A

TCP/25

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

SFTP uses port _________________.

A

TCP/22

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

FTP uses port _________________.

A

TCP/20 active mode

TCP/21 control

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

Telnet uses port _________________.

A

TCP/23

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

DHCP uses port _________________.

A

UDP/67

UDP/68 - Requires a DHCP server

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

TFTP uses port _________________.

A

UDP/69

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

HTTP uses port _________________..

A

TCP/80

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

HTTPS uses port _________________.

A

TCP/443

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

SNMP uses port _________________.

A

UDP/161

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

RDP uses port _________________.

A

TCP/3389

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

NTP uses port _________________.

A

UDP/123

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

SIP uses port _________________.

A

TCP/5060-5061

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

SMB uses port _________________.

A

TCP/445

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

POP3 uses port _________________.

A

TCP/110

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

IMAP4 uses port _________________.

A

TCP/143

18
Q

LDAP uses port _________________.

A

TCP/389

19
Q

LDAPS uses port _________________.

A

TCP/636

20
Q

H.323 uses port _________________.

A

TCP/1720

21
Q

Describe SSH

A

Secure Shell

TCP 22

Looks and acts the same as Telnet, but encrypted

Allows you to log in and control devices via commands

22
Q

Describe DNS

A

Domain Name System

UDP 53

Converts names to IP addresses

23
Q

Describe SMTP

A

Simple Mail Transfer Protocol

TCP 25

Internet standard for sending mail

Also used to send mail from a device to a mail server

24
Q

Describe SFTP

A

Secure Shell File Transfer Protocol

TCP 22

Uses the SSH File Transfer Protocol tunnel

Provides file system functionality

Resuming interrupted transfers, directory listings, remote file removal.

25
Q

Describe FTP

A

Transfers files between systems

TCP 20, 21

Authenticates with a username and password

We don’t use it because it is not encrypted.

26
Q

Describe Telnet

A

Telecommunication Network

TCP 23

Not encrypted, insecure

Remote access command prompt

Console access

In-the-clear communication, no encryption

Not the best choice for production systems

27
Q

Describe DHCP

A

Dynamic Host Configuration Protocol

UDP 67, 68

Automated configuration of IP address, subnet mask, and other options.

Addresses are assigned by MAC address

28
Q

Describe SNMP

A

Simple Network Management Protocol

UDP 161

Provides collection and organization of information about managed devices on IP networks. Can manage settings of devices.

Gather statistics from network devices

v1 - The original structured tables, in the clear

v2 - A good step ahead, Data type enhancements, bulk transfers, still in the clear.

v3 - The new standard, Message encryption, authentication, encryption

29
Q

Describe TFTP

A

Trivial File Transfer Protocol

UDP 69

Very simple file transfer application, read files/write files, transmits files in both directions using applications.

No authentication - Not used on production systems

30
Q

Describe RDP

A

Remote Desktop Protocol

Share a desktop from a remote location over network using a GUI.

TCP 3389

Remote Desktop Services on many Windows versions

Can connect to an entire desktop or just an application

Clients for Windows, macOS, Linux, iPhone, and others

31
Q

Describe NTP

A

Network Time Protocol

UDP 123

Switches, routers, firewalls, servers, workstations all have their own clock.

Synchronizing the clocks becomes critical for log files, authentification information, outage details.

Automatic updates (No flashing 12:00 lights)

Flexible - you control how clocks are updated.

Very accurate - better than 1 millisecond

32
Q

Describe SIP

A

Session Initiation Protocol

TCP 5060-5061

Voice over IP (VoIP) signaling, Video calls, Instant Messaging

Setup and manage VoIP sessions (call, ring, hang-up)

Extend voice communication (video conferencing, instant messaging, file transfer)

33
Q

Describe SMB

A

Server Message Block

TCP 445

Protocol used by Microsoft Windows for file sharing, printer sharing.

Also called CIFS (Common Internet File System)

34
Q

Describe POP3

A

Post Office Protocol version 3

TCP 110

Basic mail transfer functionality

Receives emails from an email server, authenticate and transfer

35
Q

Describe IMAP4

A

Internet Message Access Protocol version 4

TCP 143

Allows email clients to receive mail from a remote system, and you can change the status in the remote server. Keeps everything synced.

Manage email inbox from multiple clients

36
Q

Describe LDAP

A

Lightweight Directory Access Protocol

TCP 389

Store and retrieve information in a network directory

37
Q

Describe LDAPS

A

Lightweight Directory Access Protocol Secure

TCP 636

A non-standard implementation of LDAP over SSL

38
Q

Describe H.323

A

Voice over IP (VoIP) signaling

TCP 1720

ITU Telecommunication H32x protocol seriies

Setup and manage VoIP sessions

One of the earliest VoIP standards, still used today.

39
Q

Describe NetBIOS

A

NetBIOS

TCP 139
UDP 137

Network Basic Input/Output System.

Provides services allowing applications on separate computers to communicate over a LAN for file and printer sharing.

40
Q

The _________________ command allows you to see every open port on a specific IP address.

A

nmap or zenmap