Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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: 1399 | Views in the last 30 days: 7
 
Related Articles
SCRIPT

Script Login Differences

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

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

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

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones