RPCCLIENT

This is a Linux tool (part of the Samba suite) that allows you to make Remote Procedure Calls (RPCs) to Windows systems over SMB. It's often used by penetration testers and sysadmins to enumerate information from Windows hosts, like users, shares, policies, etc. It offers us many different requests with which we can execute specific functions on the SMB server to get information. The Remote Procedure Call (RPC) is a concept and a central tool to realize operational and work-sharing structures in networks and client-server architectures. The communication process via RPC includes passing parameters and the return of a function value.

ANONYMOUS CONNECTION

CMDS

ENUMERATION

“Enumeration of an SMB server and its shares is possible if the server is misconfigured, such as when anonymous (null session) access is allowed.”

DISPLAY SERVER INFORMATION

DISPLAY DEPLOYED DOMAINS

QUERY DOMAIN INFORMATION

DISPLAY SHARES

LIST SPECIFIC SHARE INFO

USER ENUMERATION

GROUP ENUMERATION

BRUTE FORCING USER RIDS

The cmd queryuser <RID> is mostly allowed based on the RID and thus can be used along with the rpcclient utility to brute force the RIDs to get information

Last updated