Telnet Default and Weak Credential Exploitation
Telnet survives almost exclusively on network devices — routers, switches, firewalls, printers, IP cameras, and IoT hardware. Most of these ship with default credentials and many are never changed. Unlike SSH, Telnet offers no encryption and no public-key authentication, so the only barrier is the username and password.
Successful authentication over Telnet on a network device typically lands you in a privileged management shell. On Cisco IOS that is a fully interactive CLI. On embedded Linux devices it is often a root shell. The impact is immediate and usually high.
Brute Forcing with Hydra
Hydra handles Telnet reliably and is the standard choice:
[23][telnet] host: 10.10.10.5 login: admin password: admin
For a credential list instead of a password list:
[23][telnet] host: 10.10.10.5 login: admin password: admin
Hydra's Telnet module is slower than its HTTP or SSH modules because it waits for the banner and prompt. If the target is slow to respond, increase the timeout:
[23][telnet] host: 10.10.10.5 login: admin password: admin
-t 4 limits threads to avoid overwhelming the device. Many embedded Telnet daemons crash or lock out under high concurrency. Start conservative.
Brute Forcing with Medusa
Medusa handles Telnet well and is worth using when Hydra gives inconsistent results against certain devices:
With a combined credential list:
Default Credential Lists Worth Trying First
Before running a full wordlist attack, try known defaults. Most CTF and OSCP lab Telnet targets use one of these. SecLists has a dedicated Telnet list:
/usr/share/seclists/Passwords/Default-Credentials/telnet-betterdefaultpasslist.txt
Common defaults by device type:
Cisco IOS:
cisco/cisco,admin/admin, blank username withciscopasswordLinksys/Netgear routers:
admin/admin,admin/password,admin/blankHuawei devices:
admin/admin,root/admin,user/userAllied Telesis switches:
manager/friendD-Link:
admin/blankEmbedded Linux / IoT:
root/blank,root/root,admin/1234
Try these manually before running Hydra. A single successful default login is faster than any wordlist.
Manual Login and Prompt Handling
Connect with the standard Telnet client:
Or with nc if Telnet is not installed:
Some devices present a Username: and Password: prompt. Others drop straight to a password prompt with no username field — common on older Cisco devices using a simple enable password on the VTY line. If there is no username prompt, try the password directly.
On Cisco IOS after login, check your privilege level:
If you are at level 1, attempt to enter privileged exec mode:
Enter the enable password when prompted. Common enable passwords: enable, cisco, secret, blank. If you land directly at the # prompt you are already at privilege 15.
Nmap Scripting for Default Credential Checks
Nmap's telnet-brute and telnet-ntlm-info NSE scripts cover basic checks:
This is slower than Hydra but useful if you want to keep everything within a single Nmap scan workflow.
References
-
Telnet Default Credential List Combined username:password list for Telnet default credential checks.
-
THC Hydra Maintainer repository with Telnet module documentation and usage examples.
Was this helpful?
Your feedback helps improve this page.