Rapid7 Vulnerability & Exploit Database

MSSQL Password Hashdump

Back to Search

MSSQL Password Hashdump



This module extracts the usernames and encrypted password hashes from a MSSQL server and stores them for later cracking. This module also saves information about the server version and table names, which can be used to seed the wordlist.


  • theLightCosine <theLightCosine@metasploit.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/mssql/mssql_hashdump
msf auxiliary(mssql_hashdump) > show actions
msf auxiliary(mssql_hashdump) > set ACTION < action-name >
msf auxiliary(mssql_hashdump) > show options
    ...show and set options...
msf auxiliary(mssql_hashdump) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security