SMB Enumeration
SMB stand for Server Message Block, and it allows you to share your resources to other computers over the network. There are 3 versions of SMB :
SMBv1 version vulnerable to known exploits (Eternal Blue, Wanna Cry), now disabled by default in latest Windows version.
SMBv2 reduced βchattinessβ of SMB1. Guest access is disabled by default.
SMBv3 guest access disabled, uses encryption. Most secure.
TCP port 139 is SMB over NetBIOS, TCP port 445 is SMB over IP (latest version of SMB).
List of SMB versions and corresponding Windows versions :
SMB1 β Windows 2000, XP, and Windows 2003.
SMB2 β Windows Vista SP1 and Windows 2008
SMB2.1 β Windows 7 and Windows 2008 R2
SMB3 β Windows 8 and Windows 2012.
Connect to share
Enumeration
smbmap
SMBMap allows users to enumerate samba share drives across an entire domain. List share drives, drive permissions, share contents, upload/download functionality, file name auto-download pattern matching, and even execute remote commands.
rpcclient
| port 445
rpcclient
| port 445Authenticate 'Userless' SMB Session with rpcclient
Sub commands
rpcdump
| MSRPC - port 135
rpcdump
| MSRPC - port 135Microsoft RPC
NFS Shares
Last updated