Skip to main content
MSSQL (Microsoft SQL Server) is a closed-source SQL database. Its queries are similar to MySQL, but the syntax differs in places. MS SQL Server supports two types of authentication:
  1. Windows Authentication: SQL Server uses your Windows username and password.
  2. SQL Server Authentication: SQL Server has its own usernames and passwords.

Check open ports

Nmap default scripts

Connect to MSSQL

Dangerous settings

  • MSSQL clients not using encryption to connect to the MSSQL server.
  • The use of self-signed certificates when encryption is being used. It is possible to spoof self-signed certificates.
  • The use of named pipes.
  • Weak and default sa credentials. Admins may forget to disable this account.