RPCClient Enum Domain Users
Enumerate domain users via RPC using rpcclient
- Tool
- rpcclient
- Category
- Enumeration / SMB
- Platform
- linux
- Requires
- password
- Protocols
- SMB
Syntax
Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.
rpcclient -U '<domain>/<user>%<password>' <ip> -c 'enumdomusers'
Credential variants
The same attack using a different authentication material.
Null Session requires no credentials
rpcclient -U '' -N <ip> -c 'enumdomusers'
Examples
rpcclient -U 'corp.local/user%password' 192.168.1.100 -c 'enumdomusers'
rpcclient -U '' -N 192.168.1.100 -c 'enumdomusers'
Tags
Related commands
- Enum4linux-ng SMB Enumeration Next generation enum4linux for SMB enumeration
- Impacket lookupsid Brute-force the RID space against SAMR / LSARPC to enumerate domain users, groups, and…
- Impacket NetView Enumerate logged-on users and sessions on remote hosts
- Impacket SAMRDump Dump user accounts and group information via SAMR protocol
- Impacket SMBClient Interactive SMB client written in pure Python. Drops you into a shell with shares, ls,…
- NetExec enum_ca Module Discover Active Directory Certificate Services CA hosts on the network and grab basic CA…
- NetExec MS17-010 Check (EternalBlue) Detect MS17-010 (EternalBlue) vulnerable hosts via the SMBv1 transaction probe. Safe…
- NetExec Password Policy Enumerate Domain Password Policy