Understand Network Protocols - FTP, SNMP, Telnet, SMB, RDP, SSH

Practice Labs Module
Time
1 hour 10 minutes
Difficulty
Intermediate

The Understand Network Protocols - FTP, SNMP, Telnet, SMB, RDP, SSH module provides you with the instruction and computer hardware to develop your hands on skills in the defined topics. This module includes the following exercises: Configuring Port 21 for FTP, Configuring Port 161 for SNMP, Configuring Port 23 for Telnet, Configuring...

Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Overview

Introduction

The Understand Network Protocols - FTP, SNMP, Telnet, SMB, RDP, SSH module provides you with the instruction and computer hardware to develop your hands on skills in the defined topics. This module includes the following exercises:

  • Configuring Port 21 for FTP
  • Configuring Port 161 for SNMP
  • Configuring Port 23 for Telnet
  • Configuring Port 445 for SMB
  • Configuring Port 3389 for RDP
  • Using VNC and SSH

Exam Objectives

The following exam objectives are covered in this lab:

  • 5.10 Given a scenario, configure and apply the appropriate ports and protocols (FTP, SNMP, SSH, Telnet, SMB, RDP)

Exercise 1 - Configuring Port 21 for FTP

File Transfer Protocol (FTP) is a standard network protocol used to transfer files from host (computer) to another host over a TCP-based network like a private intranet or the Internet.

FTP is built on client-server computing model. It uses a separate data and control connections between a client (workstation) and FTP server. FTP users may authenticate themselves in the form of a user name and password which are transmitted as plain-text. For this reason, most FTP sites allow anonymous as the user name and e-mail address as the password.

FTP uses two port numbers. Port 20 for Data and port 21 for Control. A server running FTP service listens on port 21 for FTP sessions, by default.

Exercise 2 - Configuring Port 161 for SNMP

Simple Network Management Protocol (SNMP) is a network protocol for managing devices on a TCP/IP network. Devices that support SNMP include servers, workstations, routers, switches, printers and much more. SNMP is often used in network management systems to monitor network-attached devices for conditions that call for administrative attention-for example the administrator can be alerted if the router fails or be alerted when disk space on a server is running out.

SNMP-managed devices also called as “agents” listen on UDP port 161 for SNMP requests which are forwarded to an SNMP management station that runs proprietary software for interpreting the data received from agents.

Exercise 3 - Configuring Port 23 for Telnet

Telnet is an application protocol that enables bidirectional text-based communication between devices on a network. Telnet offers a user-interface that makes it easy to perform remote configuration and maintain various devices on the network. Telnet supports devices on WANs (such as Internet) as well as LANs (say, a home network). By default, the telnet servers listen for incoming connection requests on port 23.

Exercise 4 - Configuring Port 445 for SMB

Server Message Block (SMB) is a file and print sharing protocol that allows applications on a computer to read and write to files and to request services from servers in a computer network. When using the SMB protocol, an application (or the user of an application) can access folders, files, printers and other resources at a remote server. SMB uses TCP port 445 by default.

Exercise 5 - Configuring Port 3389 for RDP

Remote Desktop Protocol (RDP) is a client-server based protocol that provides a user with a graphical user interface (GUI) to connect to another computer over a network connection. RDP is designed for secure communications between Windows Terminal Services Client and Windows Terminal Services Server. This protocol supports devices connected on the whole range of network sizes - from a WAN (such as Internet) on one end to a LAN (say, a home network) on the other. RDP uses port 3389 by default.

Exercise 6 - Using VNC and SSH

Virtual Network Computer or VNC is a graphical desktop sharing program that allows you to remotely control another computer. This tool transmits the keyboard and mouse movements on your computer to a remote system, and responds with graphical screen updates. All this communication takes place over a network. 5900 is the default port for VNC.

Many VNC variants are available for free public download. You can explore these to select the one most suited to your requirement(s).

Similarly, Secure Shell or SSH is an encrypted network protocol for initiating text-based shell sessions on remote systems. SSH allows a user to run commands on a machine’s terminal window without being physically present at the machine. SSH is similar to telnet. The difference being that SSH provides a secure channel over an insecure network.

In this exercise, you will use TigerVNC (a VNC app) and Putty (an SSH app) to remotely administer PLABKSRV01 - a Kali Linux device.

Learning Partner
Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.