Network Security Flashcards
TCP/IP Protocols
TCP
UDP
IP
ICMP
Addresses
IDs networks and devices on a network
Port Numbers
IDs services running on a device
Messages
Typically addressed to both the device and the port number of the service
Socket
IP address:port number (147.63.12.2:8080)
Socket Pairs
Client IP address:port number and the Servers IP address:port number
Eg. 177.41.72.6:3022 communicating to 41.199.222.3:80
ICMP
Internet Control Message Protocol
Used for network troubleshooting Reports errors and reply to requests Ping and traceroute use ICMP Several types: * 0 - Echo Reply * 3 - Destination Unreachable * 8 - Echo * 30 - Traceroute
Well-Known Ports
0-1023
Registered Ports
1024-49151
Dynamic Ports
49152-65535
AKA Ephemeral Ports
PAT
Used when an app does not bind to a specific port
Port 20/21
FTP-Data/Control
Port 22
SSH/SFTP/SCP
Port 23
Telnet
Port 25
SMTP
Port 53
DNS
Port 67/68
DHCP
Port 69
TFTP
Port 80
HTTP
Port 88
Kerberos
Port 110
POP3
Port 889/890
FTPS (Implicit)
Port 443
FTPS (Explicit), HTTPS, SSL, TLS
Port 119
NNTP
Port 137-139
NetBIOS
Port 445
NetBIOS/Directory Services
Port 143
IMAP4
Port 161/162
SNMP
Port 389
LDAP
Port 636
Secure LDAP
Port 1701
L2TP
Port 1812
RADIUS
Port 3389
RDP
Port 49
TACACS+
IPv4
32-bit addresses Classes: * A - 0-127 * B - 128-191 * C - 192-223 * D - 227-239 * E - 240-255 Subnetting/CIDR
Private IP Addresses:
A- 10.0.0.0 - 10.255.255.255
B- 172.16.0.0 - 172.31.255.255
C- 192.168.0.0 - 192.168.255.255
Blind FTP
User cannot see names of files in the directory
Anonymous FTP
Login = “anonymous” and password usually an email
Limited privileges
IPv6
79 octillion addresses
128 bits: 8 blocks (4 hexadecimal digits)
Zero Compression ::
Link-Local: fe80
SFTP
Secure FTP
Uses SSH (TCP port 22)