Summery
Server Message Block (SMB) is a client-server protocol that regulates access to files and entire directories and other network resources such as printers, routers, or interfaces released for the network. Information exchange between different system processes can also be handled based on the SMB protocol.
Samba is a free software project that allows SMB to be installed on linux distros therefor allowing for cross-platform communication via SMB.
Shares
Default Windows shares:
ADMIN$ - Remote access to the C:\Windows directory
C$ - Remote access to the C:\ directory
IPC$ - Named pipes and inter-process communication
Typical DC shares:
NETLOGON - Domain logon scripts and related files
SYSVOL - Domain Group Policy files and scripts
Typical AD CS shares:
CertEnroll - Manages certificate enrollment - requesting, installing, renewing and managing digital certificates
Exploits
References
Tools: smbclient, smbmap, netexec
Related topics: psexec.py, PsExec, smbexec.py, login.vbs