SMB, RPC - 137,138,139,445,111

SMBclient

# Connecting to the Share by starting a null session or like anonymous access 
smbclient -N -L //ip

# login with no user/pass and get prompt for further enum 
smbclient //ip/notes

# login with valid user and pass
smbclient -U 'user%pass' //ip/new-site

# Downloading a file 
get filename

# Run system commands using !<cmd> 
!ls
!cat something

# Checking connections to samba
smbstatus

Nmap SMB scripts

RPCclient

  • Some comand to get information :

SMBmap

CrackMapExec

Enum4linux-ng

PsExec

Responder

Can’t Crack the Hash ?

Brute Forcing User RIDs

Last updated