Back to skills
SKILL.md
Telnet Rlogin Enumeration
ASecurityTelnet (23) and r-services (rlogin 513/rsh 514/rexec 512) enumeration — banner grab, NTLM info leak, cleartext credential capture, default creds on appliances, and trust-based rhosts login. Tier 1. Use when legacy remote-admin ports are open.
- 16 stars
- 0 votes
- 0 copies
- 4 views
- Added November 17, 2026
Security analysis
100/100npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill telnet-rlogin-enumeration --agent claude-codeAre you the author of Telnet Rlogin Enumeration?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-telnet-rlogin-enumeration)---
name: telnet-rlogin-enumeration
description: Telnet (23) and r-services (rlogin 513/rsh 514/rexec 512) enumeration — banner grab, NTLM info leak, cleartext credential capture, default creds on appliances, and trust-based rhosts login. Tier 1. Use when legacy remote-admin ports are open.
---
# Telnet / rlogin Enumeration
Telnet and the Berkeley r-services are cleartext legacy remote-access protocols. They leak banners/NTLM info, carry credentials in the clear, and r-services trust `.rhosts`/hosts.equiv for passwordless login.
## Trigger phrases
`telnet, 23, rlogin, rsh, rexec, 512, 513, 514, cleartext creds, rhosts, default creds, legacy`
## Method
1. **Telnet banner + scripts:** `nc -vn <IP> 23`; `nmap -p23 --script telnet-ntlm-info,telnet-encryption <IP>` (hostname/domain leak via NTLM; encryption support).
2. **Default/weak creds:** try vendor defaults on appliances/switches/IoT (admin/admin, root/root, device-specific); `hydra -L users -P pass telnet://<IP>` (respect lockout).
3. **Cleartext capture:** on-path with L2 access, Telnet creds/sessions are plaintext — sniff (pairs with poisoning/MITM skills).
4. **r-services:** `nmap -p512,513,514 --script rlogin-brute <IP>`; `rlogin -l root <IP>`; `rsh <IP> <cmd>`; `rwho`/`rusers` for user disclosure.
## Modern / rare techniques
- **[rhosts trust abuse]** If you control a trusted host (or can spoof its IP where RoE allows), `.rhosts`/`hosts.equiv` grants passwordless `rlogin`/`rsh` → direct shell. Check for `+ +` wildcards.
- **Telnet on network gear** → often the fastest path to device admin with default creds → network-device-attacks.
- **IoT/embedded Telnet** with hardcoded creds (Mirai-class) → device takeover.
## Escalation / chaining
Captured/default creds → shell → linux/windows privesc; device admin → network-device-attacks; trust abuse → lateral-movement; foothold → pivoting.
## Backend & tooling
Kali/WSL or HexStrike. nc/nmap/hydra/rlogin work from most vantage points; cleartext sniffing needs operator L2 access.
## Verification (background, before reporting)
Confirm a credential actually yields a shell (not just a banner); re-test default creds twice to rule out a honeypot/rate-limit artifact; verify rhosts trust by logging in.
## Evidence
Banner/NTLM-info, successful login transcript or captured creds, rhosts proof, impact. Remediation: disable Telnet and all r-services, replace with SSH, remove `.rhosts`/`hosts.equiv`, change default creds, segment management.
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.