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.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Rpcbind Enumeration?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-rpcbind-enumeration)
---
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.