Catalog WADComs

WAD · Tool

SMBClient

5 techniques Linux · ActiveDirectory · WindowsWADComs GPL-3.0

SMBClient-Enum-Share-Anonymous

Enumeration LinuxActiveDirectoryWindows

Smbclient is a tool used to communicate with SMB servers. The following command will connect to an SMB share `public` using anonymous login. Command Reference: Target IP: 10.10.10.1 Domain: test.local SMB Share: public

smbclient \\\\test.local\\public -I 10.10.10.1 -N
Native
Enumeration
Requires
No_Creds
Services
SMB

SMBClient-Enum-Share

Enumeration LinuxActiveDirectoryWindows

Smbclient is a tool used to communicate with SMB servers. The following command will connect to an SMB share `C$` using valid credentials. Command Reference: Target IP: 10.10.10.1 Domain: test.local SMB Share: C$ Username: john Password: password123

smbclient \\\\test.local\\C$ -I 10.10.10.1 -U john password123
Native
Enumeration
Requires
Username, Password
Services
SMB

SMBClient-List-Share-PTH

Enumeration LinuxActiveDirectoryWindows

Smbclient is a tool used to communicate with SMB servers. The following command will list out all available shares on the target ip using user John hash on test domain. Command Reference: Target IP: 10.10.10.1 Domain: test.local Username: john Hash: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

smbclient -L \\10.10.10.1 -U test.local/john --pw-nt-hash XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Native
Enumeration
Requires
Username, Hash
Services
SMB

SMBClient-List-Shares-Anonymous

Enumeration LinuxActiveDirectoryWindows

Smbclient is a tool used to communicate with SMB servers. The following command will list out all available shares on the target server using anonymous login. Command Reference: Target IP: 10.10.10.1 Domain: test.local

smbclient -L \\test.local -I 10.10.10.1 -N
Native
Enumeration
Requires
No_Creds
Services
SMB

SMBClient-List-Shares

Enumeration LinuxActiveDirectoryWindows

Smbclient is a tool used to communicate with SMB servers. The following command will list out all available shares on the target server using valid credentials. Command Reference: Target IP: 10.10.10.1 Domain: test.local Username: john Password: password123

smbclient -L \\test.local -I 10.10.10.1 -U john password123
Native
Enumeration
Requires
Username, Password
Services
SMB