cstrien/skills_dior/1026-pentesting-rusersd
Claude Code and agent skill by cstrien/skills_dior
- community
Checking that the SKILL.md file is still in the repository.
Enumerate usernames from hosts running the rusersd protocol (ports 512-514). Use this skill whenever you need to discover user accounts on a target system, perform network reconnaissance, or when rusersd, rusers, or RPC port mapper services are mentioned. This is a critical enumeration technique for penetration testing and security assessments.
Install
npx vskill@latest install cstrien/skills_dior/1026-pentesting-rusersdSKILL.md
The same SKILL.md was published earlier as cstrien/skills_dior/1026-pentesting-rusersd.
Pentesting Rusersd Service
Overview
The rusersd protocol (Remote Users Daemon) is a legacy Unix service that can leak usernames from a target host. This is a valuable reconnaissance technique during penetration testing and security assessments.
When to Use This Skill
- You need to enumerate usernames on a target system
- Port scanning reveals ports 512, 513, or 514 (rsh, rexec, rusers)
- RPC port mapper shows rusersd service
- You're performing network reconnaissance on Unix/Linux systems
- You need to gather user account information for further exploitation
What is Rusersd?
Rusersd is a legacy Unix daemon that provides information about logged-in users on a system. It's part of the r-commands suite (rsh, rlogin, rexec) and is notoriously insecure:
- No authentication required to query
- No encryption - data sent in plaintext
- Often misconfigured or left running on legacy systems
- Port 513/UDP is the standard port
Enumeration Commands
Basic User Enumeration
Understanding the Output
The output format is:
- Username: The logged-in user account
- Hostname:Terminal: Which system and terminal (console, ttyp0, pts/0, etc.)
- Date/Time: When the session started
- Idle Time: How long since last activity
Detection Methods
Via Port Scanner
Via RPC Port Mapper
Practical Workflow
- Identify the service - Scan for UDP port 513 or check RPC port mapper
- Run enumeration - Use
rusers -l <target>to get usernames - Document findings - Record all discovered usernames
- Use for further testing - Try these usernames in other attacks (SSH brute force, password spraying, etc.)
Security Implications
Why This Matters
- Username discovery is often the first step in an attack
- Legacy systems may still have this running
- No authentication means anyone can query
- Information disclosure can lead to targeted attacks
Remediation (for defenders)
- Disable rusersd service
- Block UDP port 513 at firewall
- Remove rusers package if not needed
- Use modern alternatives (SSH, LDAP, etc.)
Example Scenarios
Scenario 1: Initial Reconnaissance
Input: "I found UDP port 513 open on 192.168.1.100"
Action:
Expected Output: List of usernames logged into the system
Scenario 2: RPC Service Discovery
Input: "rpcinfo shows rusersd on the target"
Action:
Limitations
- Legacy protocol - Modern systems rarely run this
- UDP-based - May be blocked by firewalls
- Requires rusers client - May need to install the tool
- Network access - Must be able to reach the target on UDP 513
Related Techniques
- RPC enumeration - Check for other legacy RPC services
- NFS enumeration - Often runs alongside rusersd
- Banner grabbing - Get service version information
- Username harvesting - Combine with other enumeration methods
Quick Reference
| Command | Purpose | |
|---|---|---|
rusers -l <ip> | List users on target | |
nmap -sU -p 513 <ip> | Scan for rusersd | |
rpcinfo -p <ip> | Check RPC services | |
apt-get install rusers | Install client tool |
Notes
- This is a passive information gathering technique
- No authentication or credentials required
- Results may be cached or stale
- Always document findings for reporting
- Use responsibly in authorized security assessments only
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnetwork-services-pentesting/1026-pentesting-rusersd/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cstrien/skills_dior/1026-pentesting-rusersd)