Skip to content

SMB Protocol

SMB is a protocol that allows sharing files, printers, and other resources between computers. It is a client-server protocol that uses the TCP/IP protocol. It is used to provide shared access to files, printers, and serial ports and miscellaneous communications between nodes on a network.

Enumerating SMB

smbclient

List shares on a remote machine:

smbclient -L 10.10.125.64 -U spookysec.local/svc-admin%management2005

Connect to a share:

smbclient //10.10.125.64/backup -U spookysec.local/svc-admin%management2005