🛠️SMB
Theory
Practice
Null session
# List shares
smbclient --list //$IP
smbmap -H $IP
# List shares (implicit null creds)
smbclient --no-pass --list //$IP
# List shares (explicit null creds)
smbclient --user ''%'' --list //$IP
smbmap -u '' -p '' -H $IP
# Open an interactive session to operate on a specific share
smbclient //$IP/$SHARE_NAMEnetexec smb $TARGETS -u '' -p '' --sharesnet use \\$IP\$SHARE_NAME '' /user:''Bruteforce
Data exfiltration
🛠️ Authenticated RCE
🛠️ Unauthenticated RCE
Resources
Last updated
Was this helpful?


