Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Passively detect attempts to guess passwords

By Daniel Brink,

This scripts looks for possible malicious attempts to hack your SQL Server instance. This is done by reading the current error log and searching for multiple failed login attempts from the same IP address. Please note that this requires that “Login auditing for failed logins” is enabled in the properties of your SQL Server instance.

To run this script, simply copy and paste the script into a connected query tab in Microsoft SQL Management Studio and then execute it. It will output a summary list of all failed attempts to guess passwords within the last 24 hours on your SQL Server instance.

Total article views: 2406 | Views in the last 30 days: 2
 
Related Articles
SCRIPT

Generate Login Script(2008R2 And Older)

Generate Script from Logins of Sql Server to recreate in another instance

FORUM

Log to find all the 'FAILED LOGIN ATTEMPTS' in SQL Server 2005

Log to find all the 'FAILED LOGIN ATTEMPTS' in SQL Server 2005

SCRIPT

Script Login Differences

Compare the logins and users on two instances and generate a TSQL script to make them the same.

FORUM

Create Login Script

Error with Create Login Script

FORUM

Script out Logins and Users for Every Database in a SQL instance

Script out Logins and Users for Every Database in a SQL instance

Tags
security    
 
Contribute