CrackMapExec smb

crackmapexec smb <cidr> -u <user> -p '<pass>' -d <domain>

Validates SMB credentials against an IP range and enumerates hosts with successful authentication.

To verify if credentials work on multiple hosts in the network. CrackMapExec (CME) tells you on which hosts you are local admin or domain admin, and then you can use modules to execute commands or list shares.

If the target has lockout on failed attempts, CME can cause account lockouts. Also if SMB traffic is restricted between hosts.