Section 16.146 Security Infrastructure: Ports and Protocols Flashcards
Objective 3.2 Given a scenario, you must be able to apply security principles to secure enterprise architecture. Objective 4.5 Given a scenario, you must be able to modify enterprise capabilities to enhance security
Security Infrastructure
Encompasses hardware, software, networks, data, and policies working cohesively to protect information
Ports and Protocols
Port
Logical communication endpoints on a computer or server
Example: Running a secure web server thats used for running e-commerce on your system you will have port 443 open listening for any inbound requests from your potential visitors
Port Classification
Inbound
Logical communication opening on a server that is listening for a connection from a client
○ Listening for connections
Open port waiting for someone to connect to it
Port Classification
Outbound
Logical communication opening created on a clinet in order to call out to a server for a connection
○ Used to connect to a server
If my computert is looking to make a connection to your web server over port 443 then my computer is going to open up a random high port numberr like 52363 and make an outbound request to web server port 443
Port Classification
Well-Known Ports (0-1023)
0-1023
Assigned by Internet Assigned Numbers Authroity (IANA), commonly-used protocols
Web browsing: HTTPS 443
Telnet: Port 23
Port Classification
Registered Ports (1024-49151)
1024-49151
Vendor-specific, registered with IANA
Microsift SQL server Port 1433
Microsoft Remote Desktop Protocol (RDP) 3389
Dynamic and Private Ports (49152-65535)
49152-65535
Temporary outbound connections
Ports that can be used by any application without being registered with IANA
Commonly used in gaming and instant messaging connections
Protocols
Rules governing device communication and data exchange between devices and systems
● HTTPS (port 443) uses the HTTPS protocol for secure web communication
Memorisation Tips
Memorise for each port the…
● Port number
● Default protocol
● Support for TCP or UDP connection
● Basic description of the port or protocol
PORT 21
■ File Transfer Protocol (FTP)
■ TCP
■ Used to transfer files from host to host
Port 22
■ Secure Shell Protocol (SSH), SCP, SFT.
■ TCP
■ Provides secure remote terminal access and file trasnfer capabilities. Provides Secure Copy Functions.
Provides Secure File Tranfers (SFTP)
Port 23
■ TELNET
■ TCP
■ Provides insecure remote control of another machine using a text based environment
its unencrypted and insecure so you should NOT be using it these days - exam questions may ask you about remote connections over port 23 and how to better secure it. ANSWER would be to close telnet and open an SSH port
Port 25
■ Simple Mail Transfer Protocol (SMTP)
■ TCP
■ Provides the ability to send emails over the network
PORT 53
■ Domain Name System (DNS)
■ TCP and UDP
■ Translates domain names in to IP addresses
Port 69
■ Trivial File Trasnfer Protocol (TFTP)
■ UDP
■ Used as a lightweight file transfer method for sending configuration files or network booting of an operational system