Skip to content
Back to skills

Rpcbind Enumeration

ASecurity

rpcbind/portmapper (111) enumeration — map RPC program-to-port bindings with rpcinfo, pivot to NFS/mountd/NIS/rquotad, and probe legacy r-services. Tier 1. Use when 111 is open to discover otherwise-hidden RPC services on high ports.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
securityrustbackend

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill rpcbind-enumeration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rpcbind Enumeration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rpcbind Enumeration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-rpcbind-enumeration/badge)](https://www.skillsdirectory.com/skills/anandjogawade-rpcbind-enumeration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rpcbind-enumeration
description: rpcbind/portmapper (111) enumeration — map RPC program-to-port bindings with rpcinfo, pivot to NFS/mountd/NIS/rquotad, and probe legacy r-services. Tier 1. Use when 111 is open to discover otherwise-hidden RPC services on high ports.
---

# rpcbind / Portmapper Enumeration

rpcbind (portmapper, 111) is the directory for Sun RPC services — it tells you which programs (NFS, mountd, ypserv/NIS, rquotad) run on which dynamic high ports, surfacing services that port scans miss.

## Trigger phrases
`rpcbind, portmapper, 111, rpcinfo, rpc enumeration, nis, ypserv, mountd, rquotad, rusers`

## Method
1. **Map RPC programs → ports:** `rpcinfo -p <IP>` (or `rpcinfo <IP>`); `nmap -sSUC -p111 <IP>` / `nmap --script rpcinfo <IP>` to enumerate the program table.
2. **Pivot by program found:**
   - `mountd`/`nfs` (100005/100003) → nfs-enumeration-exploitation (`showmount -e <IP>`).
   - `ypserv`/`ypbind` (NIS, 100004/100007) → dump maps: `ypwhich -d <domain> <IP>`, `ypcat -d <domain> -h <IP> passwd.byname` (NIS password hashes → crack).
   - `rquotad`, `status`, `nlockmgr` → note versions for CVE checks.
3. **Legacy r-services (if present):** `rusers -al <IP>`, `rwho`, `rpc.rstatd` → user/activity disclosure.
4. **Version/CVE:** record each program's version; some RPC services have known RCE/DoS CVEs (confirm, don't assume).

## Modern / rare techniques
- **[NIS domain brute]** NIS trusts anyone who knows the domain name — brute it (`ypwhich`/`ypcat` loop) to dump `passwd`/`shadow.byname` maps → offline crack.
- **UDP vs TCP** — some RPC programs register only on UDP; scan both (`-sSU`).
- **rpcbind amplification** — UDP 111 is a known reflection vector (report exposure).

## Escalation / chaining
mountd → nfs-enumeration-exploitation (no_root_squash root); NIS maps → password cracking → lateral-movement; discovered high-port services → their own enum skills.

## Backend & tooling
Kali/WSL or HexStrike (UDP + raw RPC). Standard rpcinfo/nmap work from most vantage points.

## Verification (background, before reporting)
Re-confirm the program→port map with rpcinfo and nmap rpcinfo (they can disagree on UDP); verify a pivoted service (e.g., showmount) actually responds before reporting the attack path.

## Evidence
rpcinfo/nmap program table, any NIS maps dumped (redact hashes), legacy r-service output, impact. Remediation: firewall rpcbind from untrusted nets, migrate to NFSv4 (no portmapper), retire NIS/r-services, block UDP 111 at the edge.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.