Networks/Network Security (Ch. 3,4) Flashcards
(130 cards)
OSI Model
_ open systems interconnection model layers (mnemonic: “all people seem to need data processing” – know layer numbers too)
_ (1) physical - hardware
_ (2) data link - switches that format data into data frames and route between systems on a local network using MAC addresses
_ (3) network - introduces IP addresses, routing between systems not on the same local network
_ (4) transport - end-to-end communication (e.g. TCP, UDP)
_ (5) session - establishes and manages sessions between apps
_ (6) presentation - translates data into standard format, provides encryption, compression, other data transformation
_ (7) application - provides network services to apps
TCP
_ transmission control protocol
_ 3-way handshake (client sends SYN, server sends SYN/ACK, client sends ACK)
UDP
_ user datagram protocol
_ connectionless (no 3-way handshake)
_ DoS attacks often use UDP
IP
_ internet protocol
_ IPv4 - 32 bits, dot-delimited numbers
_ IPv6 - 128 bits, colon-delimited hex
ICMP
_ internet control message protocol
_ tests basic connectivity
_ includes tools like ping and traceroute
_ DoS often uses ICMP
_ firewalls and routers often block to prevent DoS
TFTP
_ trivial file transfer protocol
_ transfers small amounts by FTP
_ used for comms with some devices
_ usually disabled to prevent attacks
TLS
_ transport layer security
_ replaced SSL
IPsec
_ internet protocol security
_ encrypts IP payload traffic
_ includes authentication header
SSH and SFTP port
22
HTTPS/TLS port
443
IMAP ports
_ internet message access protocol
_ 143 plaintext
_ 993 TCP
SMTP ports
_ simple main transfer protocol
_ 25 plaintext
_ 587 TLS (SMTPS)
POP3 ports
_ post office protocol
_ 110 plaintext
_ 995 TCP
Email gateway
_ network device or software app that filters external mail for an internal mail system
AD DS
_ Microsoft Active Directory Domain Services
_ uses TLS-encrypted LDAP
_ uses Kerberos for authentication
RTP/SRTP
_ real-time transport protocol
_ for audio and video over IP
_ includes VoIP
_ SRTP secures transmission
SIP
_ session initiation protocol
_ inits and manages voice/video sessions
_ establishes RTP/SRTP connection in cleartext
RDP
_ remote desktop protocol
OpenSSH
_ suite of tools that simplify use of SSH
_ supports SCP and SFTP
Create SSH key pair
_ ssh-keygen -t rsa
_ creates “id_rsa.pub”, the public key
_ creates “id_rsa”, the private key
_ use “ssh-copy-id” to copy public key to remove server
Private IPv4 addresses
_ any of form 10.x.y.z
_ 172.16.y.z - 172.31.y.z
_ 192.168.y.z
_ routers block all traffic from or to private IP addresses
Unique local IPv6 addresses
_ start with prefix FC00
DNS port
_ 53, for both TCP and UDP
DNS zone record types
_ A - host record for IPv4
_ AAAA - host record for IPv6
_ PTR - pointer record, used to provide reverse lookup from IP to domain name
_ MX - mail exchange record identifying a mail server
_ CNAME - canonical name record (aka alias record), assigns additional domains to an IP
_ SOA - start of authority record, providing domain or zon info such as TTL