SMB
The process of identifying and gathering information about SMB (Server Message Block) services running on a network is known as enumeration. This data can be used to identify security flaws, misconfig
Nmap
This command will scan the target IP for open SMB ports (139 and 445) and run the smb-enum-shares script to gather information about shared directories.
smbclient
This command will list the shared directories on the target IP.
rpcclient
This command will connect to the target IP using the null session and list users, shares, and other information about the SMB service.
enum4linux
This command will run a comprehensive enumeration of the SMB service on the target IP and gather information about shares, users, and groups.
smbmap
This command will scan the target IP for open SMB shares and provide information about the share names, permissions, and any writable shares.
Metasploit
Metasploit modules for SMB enumeration
smb_enumusers:
smb_enumshares:
smb_lookupsid
smb_version:
Last updated