ToolsFebruary 9, 20261 min readby 0xt0pus

rpcclient

Samba RPC client for enumerating users, groups, and shares on Windows systems


Rpcclient

Description

Rpcclient is used for RPC (Remote Procedure Call) enumeration on Windows/Samba systems. It can enumerate users, groups, shares, and change passwords via RPC calls.

Usage 1: Anonymous/Null Session

Connect to RPC without credentials.

Command:

rpcclient -U "" -N 192.168.23.2

Command:

rpcclient -U '' -N htb.local

Usage 2: Authenticated RPC Session

Command:

rpcclient -U "Olivia" 10.10.10.10

Usage 3: Change User Password via RPC

When you have appropriate permissions, you can set a user's password.

Command:

rpcclient -N 192.168.208.40 -U 'hazel.green%haze1988'