This module uses John the Ripper or Hashcat to identify weak passwords that have been acquired from the mssql_hashdump, mysql_hashdump, postgres_hashdump, or oracle_hashdump modules. Passwords that have been successfully cracked are then saved as proper credentials. Due to the complexity of some of the hash types, they can be very slow. Setting the ITERATION_TIMEOUT is highly recommended. MSSQL is 131, 132, and 1731 in hashcat. MYSQL is 200, and 300 in hashcat. ORACLE is 112, and 12300 in hashcat. POSTGRES is 12 in hashcat.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/analyze/crack_databases
msf auxiliary(crack_databases) > show actions
...actions...
msf auxiliary(crack_databases) > set ACTION < action-name >
msf auxiliary(crack_databases) > show options
...show and set options...
msf auxiliary(crack_databases) > 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