Telnet
— Teletype NetworkTelnet 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.
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
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
Telnet session hijack
InterceptionTelnet carries credentials and commands in plaintext, so an on-path attacker can read or take over a session.
Capture the session
The attacker records the TCP stream of an administrative login.
Telnet traffic on port 23.
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