Never use Telnet
Skills:
Network Security80%
Key Takeaways
Explains why Telnet is insecure and should not be used, as it sends data in clear text, including usernames and passwords
Full Transcript
this video is part of my wireshark packet analysis and ethical hacking course have a look at this playlist if you want to see other videos in this series in this video i'm going to show you how to capture telnet traffic we're going to capture the telnet session and see all the passwords and all the data sent as part of the telnet session be careful using telnet in your network today you should be using ssh okay let's get started [Music] in this topology i'm using gns3 to virtualize a network now if you're not used to using gns3 don't worry too much basically i'm running a cisco router cisco switch and linux devices in this topology another very important skill if you're interested in being a good network engineer or being a good ethical hacker is to learn linux you need to know linux kelly linux is a great version of linux that can be used for hacking but even if you're not interested in becoming a hacker but want to implement network security or be a good network engineer you need to learn linux so in this example i've got web term it's a linux client but it's a gui based client so here we go this is a gui based client that will allow me to for instance to run firefox which gives me the ability to use http but it also has a console so as an example if i type ifconfig i can see the ip address of this device so this is a linux based graphical client i've got an ubuntu client here this ubuntu client is cli based there's no graphical user interface on this client but you can see the ip address is 10113 i've also got a toolbox client this toolbox client is basically a server that allows me to run a whole bunch of protocols once again it's also linux based ip address is 10 1 1. so let's see if we can capture some traffic i'll start a wireshark capture between the switch and the router in this topology geno3 makes this very easy because you can capture traffic in this virtual environment by simply right-clicking on a link in the real world you need to span a port or mirror a port or add a hub to the topology or a network tap network tap is basically where you inject something in the network so that you can see the traffic going across a link but we don't need to do that here gn3 allows us to monitor traffic very easily so as an example you can see hdp or spanning tree traffic you can see dynamic trunk protocol traffic we can see cdp traffic we can already see which devices are in the network so as an example we can see that there's a device called switch which is a cisco switch it's using this version of cisco ios very easy to see information on the network using wireshark but let's do this on the ubuntu client client over here i'm going to telnet to the router and log in so first thing is what is the ip address of the router show ip interface brief ip address of the router is 10 1 1 2 5 4. so let's assume that a administrator or a user is telnetting two router one and you're capturing traffic on the network so telnet 10 11254 password prompt is displayed i'll put in the password type enable put in the password type show run so this is the running configuration of the cisco router the problem with that is it's in clear text so if i filter for telnet in wireshark you can already see details of the telnet session here we can see as an example the source ip address destination ip address source port destination port telnet uses port 23. so that's the initial connection from the pc to the router rather replying back a bunch of information is displayed here but notice as an example we can see the prompt for the password so user access verification carriage return password and now a bunch of stuff negotiated but notice here c i s c o that is the telnet password a bunch of other stuff is now displayed notice there's the prompt of the router user typed e n enable in other words router's prompting for the password notice the source ip address is 10 1 254 that is the router asking the user for their password so in other words the enable password user type c-i-s-c-o precious carriage return and then type show run r-u-n there's run pressed carriage return router is building the configuration and then displaying the configuration now that's okay but it's not very easy to read that so what i'm simply going to do is go to the first entry and right click and type follow tcp stream and notice that there you go you get all of that information in one screen so password telnet password is cisco typed enable password typed as cisco notice we've got blue and red here so blue is the router prompting the user red is what the user is typing so what you'll notice is every character is sent individually so when you type s h as in show and then r u n as in run notice s h sent individually and then it's echoed back so when you telnetting to the router so in this example let's go back to the ubuntu client notice i'm on the ubuntu client if i type s h it's a character that's sent to the rod and then it's echoed back so i can see what i'm typing that's why when the link is really bad when you type a character it takes a long time for it to display on the screen so you have to type s it goes all the way to the router and then it echoes back s back to you so you can see what you've typed when the link is bad takes a long time for characters to display but notice enable password is cisco type show run there's the full running configuration captured in wireshark it was as simple as that to capture telnet traffic in the network that's why you don't want to use telnet if i type exit here connection is closed once again i'll follow that tcp stream scroll all the way down to the end notice i was typing sh and then i stopped that and typed exit to clear or end the telnet session as simple as that to grab the full running configuration of a cisco router using telnet do not use telnet today unless you know the network is secure or it's offline or you don't worry too much about the contents being read simple as that to get telnet traffic off the network be careful what i'll do is stop this capture and i'll save this as telnet so to make the course more interactive i've saved the wireshark captures that i'm using so why don't you download them and import them into wireshark and see if you can filter for traffic yourself and see if you can capture usernames and passwords as well rather than just watching me do it next
Original Description
Telnet is one of those really insecure protocols. Everything is sent in clear text - including all usernames and passwords. Don't use telnet.
Get the full Wireshark course for $9: https://bit.ly/wireshark9
Need help? Join my Discord: https://discord.com/invite/usKSyzb
Download pcapng file here: https://bit.ly/2GSsNGg
Don't use Telnet! It sends everything in clear text. That means that someone can capture everything you send on the network - including usernames and passwords.
In this course I'm going to show you how to capture packets from a network, how to capture passwords, replay voice conversations, view routing protocol updates and many more options.
Do you know network protocols? Want to learn wireshark and have some fun? This is the course for you:
Learn Wireshark practically. Wireshark pcapng files provided so you can practice while you learn! There is so much to learn in this course:
- Capture Telnet, FTP, TFTP, HTTP passwords.
- Replay VoIP conversations.
- Capture routing protocol (OSPF) authentication passwords.
- Troubleshoot network issues.
- Free software.
- Free downloadable pcapng files.
- Answer quiz questions.
The course is very practical. You can practice while you learn! Learn how to analyze and interpret network protocols and leverage Wireshark for what it was originally intended: Deep Packet Inspection and network analysis.
Protocols we capture and discuss in this course include:
- Telnet
- FTP
- TFTP
- HTTP
- VoIP
- OSPF
- EIGRP
- DNS
- ICMP
Menu:
Overview: 0:00
Network: 0:30
Start Capture :2:06
Filter for Telnet: 4:02
Follow TCP stream: 5:35
======================
Special Offers:
======================
Cisco Press: Up to 50% discount
Save every day on Cisco Press learning products! Use discount code BOMBAL during checkout to save 35% on print books (plus free shipping in the U.S.), 45% on eBooks, and 50% on video courses and simulator software. Offer expires December 31, 2020. Shop now.
Link: bit.ly/ciscopress50
ITPro.TV:
https:/
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from David Bombal · David Bombal · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
RYU SDN Controller Part 4: Graphical User Interface (GUI): Practical GNS3 SDN and OpenFlow
David Bombal
HPE Network Protector SDN Application Part 1 - Introduction
David Bombal
HPE Network Protector SDN Application Part 2 : DNS Interception using OpenFlow
David Bombal
HPE Network Protector SDN Application Part 3 - Lab Setup using Physical Switches
David Bombal
HPE Network Protector SDN Application Part 4 - Demo of malicious websites blocked
David Bombal
HPE Network Protector SDN Application Part 5 - Demo OpenFlow table interception flows
David Bombal
HPE Network Protector SDN Application Part 6 - Demo of Physical Switch configuration
David Bombal
HPE Network Protector SDN Application Part 7 - Demo Service Insertion Tunnel / GRE Tunnel
David Bombal
HPE Network Protector SDN Application Part 8 - Demo SDN OpenFlow Reporting
David Bombal
HPE Network Protector SDN Application Part 9 - Demo switches interception of DNS traffic
David Bombal
GNS3 Talks: GNS3 version 1.5.X Appliance Tips
David Bombal
CCNA 200-125 Exam: AAA demo: TACACS+ with GNS3
David Bombal
GNS3 2.0.0 beta 2 install
David Bombal
CCNA #012: Learn SNMP with GNS3, Wireshark and Solarwinds NPM - CCNA 200-125 exam
David Bombal
CCNA #013: Spanning Tree CCNA Exam Questions: Know the answer? CCNA 200-125 exam
David Bombal
GNS3 2.0.0 beta : GNS3 VM integration with GNS3 GUI
David Bombal
CCNA #018: Routing exam questions: Who wins? OSPF, EIGRP or RIP? Sure? CCNA 200-125 exam
David Bombal
CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
David Bombal
GNS3 Download, installation and configuration - GNS3 1.5.3 and Windows 10
David Bombal
CCNA #023 EIGRP Neighbor Troubleshooting (DUAL Issues) for the CCNA 200-125 Exam
David Bombal
GNS3 2.0 Architecture and schema Part 1: What is the GNS3 Controller?
David Bombal
GNS3 2.0 Architecture and schema Part 2: Emulators and virtualization
David Bombal
CCNA #028 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #029 VTP & DTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #030 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
GNS3 : How to download Cisco IOS images and VIRL images. Which is the best? How do you get them?
David Bombal
GNS3 ASA setup: Import and configure Cisco ASAv with GNS3
David Bombal
GNS3 switching setup and options: Cisco and other switching options in GNS3
David Bombal
GNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1
David Bombal
GNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2
David Bombal
GNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 1: GNS3 switching options Part 12
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 2: GNS3 switching options Part 13
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 1: GNS3 NFV
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 2: GNS3 NFV
David Bombal
GNS3 Talks: Use the NAT node to connect GNS3 to the Internet easily!
David Bombal
GNS3 Talks: GNS3 2.0 RC1 is now available
David Bombal
GNS3 Talks: GNS3 2.0 Portable Projects - easily export and import GNS3 projects
David Bombal
GNS3 Talks: Multiple clients sharing projects in real time, plus console session shadowing!
David Bombal
CCNA #035 NAT Troubleshooting Scenario 1 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #036 NAT Troubleshooting Scenario 2 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 1: leverage servers and the cloud
David Bombal
CCNA #037 OSPF Troubleshooting - can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 2: leverage servers and the cloud
David Bombal
CCNA #038 NAT Troubleshooting Scenario 3 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #039 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
CCNA #040 NAT Troubleshooting Scenario 4 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 1
David Bombal
CCNA #041 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 2
David Bombal
GNS3 Talks: ipterm: Linux, Docker, Python, SDN and more! Part 1
David Bombal
More on: Network Security
View skill →Related Reads
📰
📰
📰
📰
Clipdrop vs Runway vs Kling: Which is Best for Drama in 2026?
Dev.to AI
The Ultimate Guide to Crafting a Stellar Resume with AI Technology
Dev.to AI
Observability Design for the AI Era — Application / Infrastructure / CI / LLM, Each in Its Own Shape (Part 1)
Dev.to · Ryosuke Tsuji
The AI Resource I Could Never Find — So I Decided to Build It
Medium · AI
🎓
Tutor Explanation
DeepCamp AI