Re: Is there a better way
From: Dan Guzman (guzmanda_at_nospam-online.sbcglobal.net)
Date: 12/10/04
- Next message: Adam Machanic: "Re: Is there a better way"
- Previous message: Russell Stevens: "Is there a better way"
- In reply to: Russell Stevens: "Is there a better way"
- Next in thread: Russell Stevens: "Re: Is there a better way"
- Reply: Russell Stevens: "Re: Is there a better way"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 9 Dec 2004 22:43:29 -0600
If you must use SQL Authentication, assign a strong password for 'sa' and
perform your administration tasks using Windows authentication. If you
don't really need to login as 'sa', try the script below.
I'm not sure if blocking an IP address is much help. There are a lot of
script kiddies out there and hacking is often done from a compromised
system.
DECLARE @StrongPassword sysname
SELECT @StrongPassword =
CAST(NEWID() AS VARCHAR(36)) +
CAST(NEWID() AS VARCHAR(36)) +
CAST(NEWID() AS VARCHAR(36))
SELECT @StrongPassword
EXEC sp_password NULL, @StrongPassword, 'sa'
-- Hope this helps. Dan Guzman SQL Server MVP "Russell Stevens" <rastevens@aol.com> wrote in message news:erRzL%23j3EHA.3380@TK2MSFTNGP09.phx.gbl... > I am getting tired of the "I am going to break into your sql server" > game. Seems there are lots of folks out there that have nothing better to > do than to find SQL servers on the Internet that are listening on port > 1433 and keep trying to log on to them via the SA account. > > I must allow access using SQL authentication. I typically can detect > these attempts by looking at my server bandwidth and can verify them with > the profiler. I can then ban the bad guys IP number. They then just change > IPs and continue until they are satisfied they can't crack the sa password > or until they get bored. These guys are particularly lonely on weekends > (most attempts occur then). > > Anyway, there must be lots of other users having the same problem - is > there an automated tool/program that can detect a bunch of unsuccessful sa > logins then ban the source IP? Any other approaches? > > Not quite sure why MS won't allow me to disable or rename the sa account > (or perhaps they do and I haven't been able to figure it out). At least > that way, the bad guy has to guess both a name and a password instead of > just going after sa. > > Thanks > >
- Next message: Adam Machanic: "Re: Is there a better way"
- Previous message: Russell Stevens: "Is there a better way"
- In reply to: Russell Stevens: "Is there a better way"
- Next in thread: Russell Stevens: "Re: Is there a better way"
- Reply: Russell Stevens: "Re: Is there a better way"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|