{
  "port": 49157,
  "protocol": "tcp",
  "service": "Dynamic/ephemeral port (Windows RPC)",
  "oneLiner": "The last of the low dynamic ports scanners bother to probe by default.",
  "whatItIs": "49157 sits in the never-assigned dynamic range and, like its neighbours, is normally a Windows RPC endpoint handed out at service start. It is the tail of the block Nmap keeps in its default scan set, open on about 0.36% of hosts — less often than 49152 because fewer machines allocate that many endpoints. Anything above it in the range is scanned only when you ask for it explicitly.",
  "exposure": {
    "verdict": "never",
    "note": "Same rule as the rest of the range: internal only, and pin services to static ports if you genuinely need a narrow firewall rule."
  },
  "checkCommand": "nmap -sV -Pn -p 49157 TARGET",
  "links": [
    {
      "title": "RFC 6335 — Dynamic Ports 49152-65535 (never assigned)",
      "url": "https://www.rfc-editor.org/rfc/rfc6335.html",
      "kind": "spec"
    },
    {
      "title": "Microsoft — Service overview and network port requirements (RPC high port range)",
      "url": "https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/service-overview-and-network-port-requirements",
      "kind": "official-docs"
    },
    {
      "title": "nmap/nmap — nmap-services (port frequency database)",
      "url": "https://github.com/nmap/nmap/blob/master/nmap-services",
      "kind": "github"
    }
  ]
}
