Metasploit SQL Server NTLM Stealer & SQLi Guide
Learn to use Metasploit to capture or relay NTLM credentials and exploit SQL Server with this comprehensive tutorial. π

scott sutherland
4.1K views β’ Oct 28, 2012

About this video
This module can be used to help capture or relay the LM/NTLM credentials of the account running the remote SQL Server service. The module will use the SQL injection from GET_PATH to connect to the target SQL Server instance and execute the native "xp_dirtree" or stored procedure. The stored procedures will then force the service account to authenticate to the system defined in the SMBProxy option. In order for the attack to be successful, the SMB capture or relay module must be running on the system defined as the SMBProxy. The database account used to connect to the database should only require the "PUBLIC" role to execute. Successful execution of this attack usually results in local administrative access to the Windows system. Specifically, this works great for relaying credentials between two SQL Servers using a shared service account to get shells. However, if the relay fails, then the LM hash can be reversed using the Halflm rainbow tables and john the ripper.
http://www.metasploit.com/modules/auxiliary/admin/mssql/mssql_ntlm_stealer_sqli
http://www.metasploit.com/modules/auxiliary/admin/mssql/mssql_ntlm_stealer_sqli
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
4.1K
Likes
9
Duration
2:11
Published
Oct 28, 2012
User Reviews
3.9
(4)