Enumeration

Check accessible shares (with user)

netexec smb 192.168.1.0/24 -u John -p 'pass123' --shares

Check accessible shares (NULL session)

netexec smb 192.168.1.0/24 -u 'a' -p '' --shares

Check accessible shares (PowerView)

Find-DomainShare -CheckShareAccess

Connect to share

SMB shares can be easily accessed by using Finder (Mac).

Finder -> Go -> Connect to server

Or use smbclient

impacket-smbclient tquinn:[email protected]

Check share

Use an editor like vscode to easily go through data on the share.

Last updated