pentesting, updated
RPC enumeration
Query exposed MSRPC/Windows RPC interfaces for users, policy and endpoint information.
Goal
Use a null or authenticated session against RPC endpoints to enumerate users, domain/password policy and available named pipes.
How to test
rpcclient -U "" -N 10.10.10.5 # open a null session: see [rpcclient](/docs/pentest-cheatsheets/tools/network/rpcclient)
rpcclient $> enumdomusers # list domain users
rpcclient $> querydominfo # password/lockout policy
rpcclient $> lsaquery # SID and domain name
What to look for
A null session that accepts enumdomusers or querydominfo — this directly feeds a password-spray wordlist and tells you the lockout threshold before you run Hydra.