Samba (smb)
smbclient
Remember to escape the double \
before the target IP/Domain. Usually looks like \\\\10.10.10.10
The rest of the path also need escaping: \\\\10.10.10.10\\users
Flag | Description |
---|---|
| retrieve a list of available shares |
| suppresses the password prompt (null session) |
| Specify user (can be put after address) |
Order matters, for example: -L -N
will ask for the password still while -N -L
will work fine
rpcclient
The Remote Procedure Call (RPC
) is a concept and, therefore, also a central tool to realize operational and work-sharing structures in networks and client-server architectures.
| Server information. |
| Enumerate all domains that are deployed in the network. |
| Provides domain, server, and user information of deployed domains. |
| Enumerates all available shares. |
| Provides information about a specific share. |
| Enumerates all domain users. |
| Provides information about a specific user. |
Example of Bash command to enumerate every user based on rid
Other tools that automate this: Samrdump, SMBMap or CrackMapExec
Worth mentioning but more verbose: enum4linux-ng
Last updated