Telnet Under the Microscope: Why It's Unsafe for Modern Use

Telnet, an early protocol for remote server and device access, was once groundbreaking. However, in today’s era of cybersecurity threats, Telnet’s lack of encryption has made it obsolete and dangerous to use. This blog will demonstrate the security risks of Telnet by capturing and analysing its unencrypted communication over a network.


We Will:



  1. Create two Ubuntu instances using Multipass.

  2. Install and configure a Telnet server on one instance.

  3. Create a user and password on the server.

  4. Capture network packets while authenticating to the server.

  5. Analyse the captured packets to show how credentials are sent in plain text.


Part 1: Introduction and Setting Up Ubuntu Instances


In Part 1, we start by setting up Ubuntu instances using Multipass. We walk through the process of creating a Telnet server and Telnet client, preparing the environment for the next steps.
Watch the video here:



In Part 2, we install and configure the telnetd package on the Telnet server. This is the crucial step in setting up the server so it can accept incoming Telnet connections.
Watch the video here:


In Part 3, we create a new user on the Telnet server, called demo, and set up a password for this user. This step will prepare us for the login process in the next video, where we will test the Telnet connection and observe the insecure traffic.
Watch the video here:




In Part 4, we start the tcpdump packet capture on the Telnet server and initiate a Telnet login from the client. We will capture the traffic as the user logs in and executes a few commands, all while the Telnet protocol transmits sensitive data in plaintext.
Watch the video here:






In Part 5, we analyze the pcap file captured with tcpdump in Wireshark. We highlight how Telnet transmits sensitive information, like usernames and passwords, without encryption. This final part concludes the demo and shows why Telnet should be replaced with secure alternatives like SSH.
Watch the video here:



Through this series, we’ve demonstrated the dangers of using Telnet in modern networks. Telnet’s reliance on plaintext transmission makes it highly vulnerable to man-in-the-middle attacks and eavesdropping. By using tools like Wireshark and tcpdump, we can visualize just how easily Telnet can be exploited to intercept sensitive data.

Thank you for following along with this tutorial series! We hope you found the videos and this guide helpful in understanding the vulnerabilities of Telnet. If you have any questions or need further clarification, feel free to leave a comment below or reach out.

Popular posts from this blog

Certification for Kubernetes? I got it covered.

Netcat: ( TCP/IP Swiss Army Knife ) | DevOps | Linux | Use-Cases

What happens when you turn on the wifi on your phone.....