Re: Is there any way to prevent hacker trying to guess sa password?

From: Rob R. Ainscough (robains_at_pacbell.net)
Date: 10/13/05


Date: Thu, 13 Oct 2005 08:35:24 -0700

Russ,

What is the migration path like to SQL Server 2005? I've got the betas but
have not installed or tested with it.

How is installation and setup?

Any connection issues with ADO.NET? Do I need to change my connection
string?

I don't use sa period (with the exception of automatic database builds from
scratch -- this is rare), I setup my own SQL Server accounts and use those.
I don't like to use NT authentication because I don't want a hacker gaining
access to both SQL server and the OS just in case they were able to guess
the password.

I do write to event log with failed logins with sa and that is how I know
there is some drone attemtping to get in, but thanks for the tip on
netstat -n, I will try that out.

Thanks for your suggestions,

Rob.

"Russell Stevens" <rustyprogrammer@online.nospam> wrote in message
news:OkVRRZ6zFHA.612@TK2MSFTNGP10.phx.gbl...
> Rob,
>
> I have been down this road - you can use SQL Profiler to record
> unsuccessful login attempts. You can include the login (such as sa, admin,
> root, are the common ones they try). When you see a break in attempt you
> can run netstat or netstat -n. Look for entries that are for ms-sql and
> that say "Time Wait". The hackers will be obvious. You can then block that
> IP (use a firewall or local security policy). You may need to do this
> several times per day as new drones are coming online all the time
> searching for SQL servers. They will never be able to guess a strong sa
> password but they can use up a lot of bandwidth trying. Microsoft refuses
> to fix this in SQL 2000 - you cannot rename the sa account or delete it or
> stop continuous login attempts.
>
> Microsoft has fixed the problem in SQL 2005 - due to be released next
> month. It allows you to use the OS features - ie - you can allow say 5
> unsuccessful logins then block them for 30 minutes (or whatever you
> specify). This totally fixes the bandwidth issue for nerds trying to login
> as sa, root, admin, etc. Of course if someone is trying to login with a
> login that you actually use, you can end up locking yourself out - but you
> shouldn't be using the sa login for anything anyway.
>
> Russ Stevens
>
>



Relevant Pages

  • RE: Error Code: 1073807364 sql server 2005
    ... contain the files that are required during the installation of SQL Server ... In the D:\SQLServer2005 folder, ... Setup.exe to start the SQL Server 2005 Setup program. ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot install 2005 Developer Edition x64 on new XP x64
    ... OS Name MicrosoftWindowsXP Professional x64 Edition ... and try to run the Setup from the media yourself. ... corrupted SQL Server installation and then try to run SQL Server Setup ...
    (microsoft.public.sqlserver.setup)
  • Re: Connextion Error After Installing SQL Server 2005 on Vista
    ... Your suggestion of right clicking and running as an admin worked perfectly. ... I right clicked the first login above and selected Properties. ... The solution is to explicitly grant Bob access to SQL Server. ... During the installation, I was prompted a couple of times to install a service pack for Visual Studio 2005, which is not currently installed. ...
    (microsoft.public.sqlserver.connect)
  • Re: SQL Server 2005 Tools Setup Failure
    ... I also had to struggle with this strange error during the installation ... of SQL Server 2005 SP1 Express Edition on a clean Windows XP ... Online and Developments tools. ... The setup keeps failing with the error "SQL Server Setup is unable to ...
    (microsoft.public.sqlserver.setup)
  • RE: weird sql server 2000 setup problem
    ... Its possible that some unnecessary service is affecting the setup. ... Before you begin the installation process, ... For a complete list of supported hardware, visit the following Microsoft Web site: ... *You have disabled NetBIOS for all private network cards before you start the SQL Server Setup program. ...
    (microsoft.public.sqlserver.clustering)