Sec+ misc items Flashcards

1
Q

What ports and protocols are used for DNS

A

UDP/TCP 53
Secure protocol is DNSSEC and uses TCP port 53 as UDP can not be larger than 512 bytes
DNS queries use UDP port 53
Uses digital signatures to validate signature match.
Resource Records Set (RRset) zone signing key

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

File Transfer Protocol (FTP) & FTPS

A
FTP 
port TCP 20 (data port)
port TCP 21 (command port)
FTPS
TCP 21 FTPES (File tranfer protocol explicate mode.
TCP 990 (implicit mode) control port
TCP 989 data port
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SFTP

A
port TCP 22
Secure Shell (SSH)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTTP & HTTPS

A

HTTP TCP port 80

HTTPS TCP port 443 (uses Secure Socket Layer (SSL) or Transport Layer Security (TLS))

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

Internet Message Access Protocol (IMAP)

IMAPS

A

Incoming mail protocol
IMAP TCP 143
IMAPS TCP 993 (TLS)

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

Lightweight Directory Access Protocol (LDAP)

and LDAPS

A

UDP/TCP 389
LDAPS UDP/TCP 636-uses SSL(TLS) encryption.
Uses a digital certificate on server that is hosting directory services to set up a secure tunnel for credential exchange

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

Post Office Protocol (POP3)-Incoming mail protocol)

POPS

A

POP3-TCP 110

POP3S-TCP 995 (uses TLS)

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

Real-time Transport Protocol (RTP) and RTPS

A

RTP-UDP 16384-32767
RTPS-UDP 5004
(uses TLS tunnel for
Real-time Transport Protocol (RTP) to pass through

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

Session Initiation Protocol (SIP) and SIPS

A

SIP-Port 5060 for queries

SIPS-Port 5061 (establishes a TLS tunnel to encrypt session packets)

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

simple Network Management Protocol (SNMP) and SNMPv3

A

SNMP-stores device info in a Management Information Base (MIB).
port UDP 161 (GET requests to receive info from devices)
port UDP 162 (TRAP data-a service report that indicates problems like a port failure)
SNMPv3-

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

Telnet-unsecure

SSH-secure

A

Telnet-TCP 23 (sends info in clear or plain text)

SSH-TCP 22 (uses certificate or key based authentication)

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

RADIUS (Remote authentication dial-in Service)

A

UDP 1812 or 1645 for authentication messages

UDP 1813 or 1646 for accounting messages

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

TACACS+

Terminal Access Controller Access Control System

A

TCP 49

It is a remote authentication protocol used by CISCO that works with AAA

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

Keberos

A

Port 88 (inbound port must be open (not blocked by firewall) to work

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

SMTP and SMTPS

Simple Mail Transport Protocol (outgoing email protocol)

A

SMTP- Port 25
SMTPS- 465 (implicit mode is deprecated)-uses a secure connection before data is called implicit)
STARTTLS 587 (upgrades SMTP connection to use TLS or explicit TLS mode)

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

SQL Sever

A

Port 1433

17
Q

Syslog

A

Port UDP 514

18
Q

Remote Desktop Protocol (RDP)

A

port 3389

19
Q

Network Time Protocol (NTP) and NTS (Network Time Secure)

A
Port 123 (use TLS)
Receives UTC from an atomic clock from Stratum 1 server
20
Q

Trivial File Transfer Protocol (TFTP)

A

TCP port 69

21
Q

rpcbind
msrpc
netbios-ssn
microsoft-ds

A

rpcbind-TCP 111
msrpc-tcp 135
netbios-tcp 139
microsoft-ds-tcp445

22
Q

VOIP H.323

A

VOIP H.323-port 1720

23
Q

X.509 digital certificates

A
  • Standard format for digital certs (DER, CER,
  • format can take different forms
  • can sue openssl or similar app to view the certs
24
Q

(DER) Distinguished Encoding Rules

A
  • Common format used across many platforms
  • designed to transfer syntax for data structures
  • Perfect for use in X.509 certs
  • Comes in binary format (not readable by humans)
  • common with Java certs
25
Q

PEM (Privacy-Enhanced mail)

A
  • Common format, primarily used for web servers as they can be translated through a text editor
  • Base64 encoded DER cert that is in ASCII format to send by email
  • generally format used by CAs
  • supported on many different platforms
26
Q

PCS#12 (Public Key Cryptography Standard #12)

A

Personal information exchange format

  • Container format for many certs
  • can store many X.509 certs in a single .p12 or .pfx file
  • often used to transfer a public and private key pair
  • container can be password protected for this reason
  • Extended from Microsoft .pfx format
    • Personal Info exchange (PFX)
    • 2 standards are similar and often used interchangeably
27
Q

CER (certificate)

A

An SSL cert file format used by web servers to help verify the indentity and security of a website

  • Primarily a Windows .X509 file extension
    • common format for Windows certs i/e .cer extension to import and export
  • can be encoded as binary DER format or as the ASCII PEM format
  • in this case the private key would be transferred in the .pfx format
28
Q

P7B-PKCS#7 (Public Key Cryptography Standard#7)

A
  • Cryptography Message Syntax Standard
    • associated with the .p7b file
  • Stored in ASCII format
  • common to use this format to send certs and chain certificate
  • private keys are not included in a .p7b file
  • wide platform support seen in Windows and Java Tomcat
29
Q

PFX (Personal Exchange Format)

A
  • A binary format for storing a server certificate, intermediate certificates, and the private key in one encryption file.
  • often interchangeable with PKCS#7