CrackMapExec mssql

crackmapexec mssql <cidr> -u <user> -p '<pass>' --local-auth

Validates credentials against MSSQL servers and enumerates databases.

When you discover SQL servers on the network (port 1433) and want to test credentials. MSSQL often has local accounts with weak passwords that allow access to critical data.

If the host does not have MSSQL or if SQL authentication policies are disabled.