SMB
Port: 445
SMB Discover and Mount
Nmap command to check port 445/tcp open
Steps to connect to SMB share on windows
Right click on Network
Map network drive
Enter the IP address of the target machine as: \\<ip address>
Click on Browse
Double click on the IP address
Enter Username and Password
Ok
Remove existing mounted drive using CMD
Mount the remote SMB drive using CMD
SMBMap
Check supported protocols and dialects of an SMB server
Access SMB Server
Access the remote shares using admin creds
Execute commands on the target machine
List available drives
List Contents of C: drive
Create a backdoor file and Upload to the target machine
Download a file
SMB Nmap Scripts
Get the information about SMB security level
Enumerate the users logged into a system
Enumerate the users logged into a system through SMB share using creds
Enumerate all available shares
Enumerate all available shares using valid creds
Enumerate the windows users
Get information about the server statistics
Enumerate available domains
Enumerate available groups
Enumerate Services
Enumerating all the shared folders and drives then running the ls command in each shares
Last updated