Common Ports Flashcards

1
Q

FTP

A

File Transfer Protocol
- tcp port 20 (active mode data)
- tcp port 21 (control)
Authenticates with a username and password

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

SSH

A

Secure Shell
- Port (TCP) 22
- text-based console communication

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

SFTP

A

Secure File Transfer Protocol
-Encrypted network communicaiton
- TCP port 22
- File management in secure mode compared to regular FTP

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

Telnet

A

TCP port 23
- not secure
- telecommunication network
- not really used anymore

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

SMTP

A

Simple Mail transfer protocol
- server to server email transfer
- tcp 25 SMTP using plaintext
- tcp 587 SMTP using TLS encryption

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

DNS

A

Port 53
- large transfers may use port 53

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

DHCP

A

Dynamic host Configuration protocol
- port 67/68
- Automated configuration of IP address/subnet/etc…
- needs a DHCP server to use

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

TFTP

A

Trivial File Transfer Protocol
- Port 69
- transfer a small amount of information very quickly
- very simple file transfers like a phone

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

HTTP

A

Port 80
Hypertext transfer protocol
web server communication

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

HTTPS

A

HTTP over TLS or SSL
port 443
secure web server communication

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

SSL

A

Secure socket Layer

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

TLS

A

Transport Layer Security (newer compared to SSL)

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

NTP

A

Network Time protocol
- UDP 123
- Synchronize clocks between devices

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

SNMP

A

Simple Network Management Protocol
- UDP 161
Gather statstics from network devices
Version 1- no encryption/in the clear
Version 2 - in the clear /bulk transfer
Version 3- authenticaiton/encryption/ message integrity

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

SNMP Trap

A

UDP 162
- Alerts/notifcations from the network device

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

LDAP

A

Lightweight directory access protocol
TCP 389
Stores and retrieve infomration in a network directory

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

LDAPS

A

Lightweight directory access protocol secure
A non-standard implemetnation of LDAP over SSL
TCP 636

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

SMB

A

Server message block
- Protocol used by microsft windows
- integrated into Windows itself
- File share publishing/file lock
- TCP 445

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

Syslog

A

Standard message logging
UDP 514
- transfer log data

19
Q

SIEM

A

Security information and event manager
- central log collector

20
Q

SQL

A

Structured Query Lanugage
- Standard language across data base servers

21
Q

Microsoft SQL

A

port 1433

22
Q

RDP

A

Remote desktop protocol
- share a desktop from a remote location over TCP 3389

23
Q

SIP

A

Session Initiation protocol
- Voice over IP signaling
TCP 5060 and 5061
// setups and manages Voice over IP (VoIP

24
Q

ICMP

A

Internet Control Message Protocol
- ICMP is its own protocol (not used for data transfer)
- used for text messaging
- ping command is used by ICMP

25
Q

GRE

A

Generic Routing encapsulation
- the tunnel between two endpoints
- Two endpoints appear to be directly connected to each other
- no built in encryption
- need additional VPn protocols to traverse a public network

26
Q

VPNs protocols

A

Encrypted Data tranvsering a public network

27
Q

IPSec

A

Internet Protocol Security
- Security for OSI layer 3
- Authentication and Encryption for every packet
- AH - authentication header
- ESP - encapsulation security payload

28
Q

IKE

A

Internet key Exchange (IKE)
- Both sides agree on encryption and decryption keys

29
Q

SA

A

Security Association
- Keys aggreement

30
Q

Diffie-Hellman

A

Used to create a shared secret key
- port 500

31
Q

ISAKMP

A

Internet Security Association and Key Management Protocol

32
Q

Phase 1 and phase 2 of internet key exchange

A

Phase 1 builds the key
Phase 2 include the ESP encrypted tunnel

33
Q

Transport mode

A

IP header -> IPsec Header -> data -> IPsec Trailers
- Data is enclosed and encrypted by header/trailer
- IP header is not encrypted

34
Q

Tunnel Mode

A

New IP Header -> IPsecHeader -> IP Header -> Data -> IPSec
- IP header and data encrypted

35
Q

AH

A

Authentication Header
- An AH header you can add the to modes to hash a packet
New IP Header -> AH header -> IP header -> Data

36
Q

ESP

A

Encapsulation Security Payload
- Ecnrypts the packet
New IP Header -> ESP Header-> IP Header -> Data -> ESP Trailer -> Integrity Check value

37
Q

Name different ways to transfer data?

A
  • WiFi
  • Ethernet
  • HDD
38
Q

TCP

A

OSI Layer 4 - Transmission Control Panel
- Connection oriented (formal connection setup and close)
- Reliable delivery (recovery from errors, manages out of order messages)
- TCP allows us to make sure the other people recieved our message/data

39
Q

UDP

A

Layer 4 - User Data Gram Protocol
- Connectionless system - no formal open close setup
- Unrealiable delivery - we don’t know if they got it

40
Q

IPv4 Sockets

A

Server IP Address, protocol, server application port number
Client IP address, protocol, client port number

41
Q

Non-Ephemeral Ports

A

Permanent Port Numbers (typically servers like HTTP/FTP)
0 to 1023

42
Q

Ephemeral Ports

A

Temporary Port numbers (Typically clients)
1024 - 65535

43
Q

Unicast

A

One-to-one connection
- send information between two systems/file transfers

44
Q

Multicast

A

One to many of many
- like a subscription or App or video game
- used in IPv4 and IPv6

45
Q

Anycast

A

One to one of many
- used IPv4 and IPv6
- The traffic to one of many is one of many similar systems

46
Q

Broadcast

A

one to all
- send information to everyone at once
- limited tothe broad cast domain