ProtoStackv0.1

Interactive Protocol Visualizer

Back to all protocols
LDAPMQTT
Application LayerProfessional trackBeginnerOSI: Application LayerDefault Port: 23Standard: RFC 854

Telnet

— Teletype Network

Telnet was one of the earliest Internet protocols providing a bidirectional interactive byte-oriented communication facility. Because all keystrokes and passwords are sent completely unencrypted in plaintext, it has been largely superseded by SSH for administration.

Read first: TCPContent reviewed 2026-11-18

Interactive Session: How Telnet Works

Step through the packet exchange sequence between nodes.

Interactive Execution Sandbox

Interact with a live or clearly-labelled simulated instance of Telnet.

Threat Model & Attack Simulation

How this protocol is attacked in practice, what defenders can see, and which control stops it.

Threat model & attack simulation

Simulated

Defensive education. Every step runs in this page; no traffic is generated or sent.

Attack library

Telnet session hijack

Interception

Telnet carries credentials and commands in plaintext, so an on-path attacker can read or take over a session.

Attackersimulated
Telnettarget
Attack step 1 of 3
Capture the session

The attacker records the TCP stream of an administrative login.

What a defender can see

Telnet traffic on port 23.

Impact if unmitigated

Full administrative compromise of the device.

Defences that matter
  • Replace Telnet with SSH
  • Disable Telnet on all devices
  • Management VLAN and ACLs

This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.

Protocol Specification & Architecture

Key characteristics, real-world deployment patterns, and trade-offs.

Core Technical Features

  • 8-bit bidirectional byte stream with character-at-a-time or line mode
  • In-band negotiation of options using IAC (Interpret As Command, 0xFF)
  • TCP Port 23 operation
  • Completely unencrypted (vulnerable to packet sniffing)

Real-World Use Cases

  • Diagnosing raw network port connectivity (telnet host port)
  • Legacy mainframe/switch terminal access in isolated air-gapped labs

Advantages & Strengths

  • Ultra-minimal overhead, built into almost every vintage OS

Limitations & Vulnerabilities

  • Zero encryption; transmits credentials and confidential data in cleartext