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'