Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attempted break ins

Status
Not open for further replies.

jimmYLepp

Programmer
Jan 22, 2002
39
US
Has anyone seen this....

On one of my SQL 7.0 sp 4-ish (version 7.00.1021) server's I have been seeing a 100+ failed logins within one minute. After running a sniffer on the machine we found that the attacker appears to be opening a connection to port 1433 (SQL Server's Port) and then running sp_cusoropen and then this qeury


SELECT name from sysxlogins
WHERE lower( name ) = 'builtin\administrators'
AND sysxlogins.xstatus = 22.8;

placing it in a cursor and running through the cursor

then runnig sp_cursoropen then this

SELECT name from sysxlogins
WHERE lower( name ) NOT IN ( 'master', 'tempb', 'msdb' )
ORDER BY name

and then running through the first half of this resuklting cursor set.

Now, it doesn't appear that the use is getting into the box and since i know who he is I can stop the PC itself. I was just wondering if there is a service patch or security fix that I am missing? Or if this has happened to anyone else?

jimmY

 
you should change your port number by the way. most know the defalt 1433. Change it to something obsecure and high. he will go away and find easier targets. hes looking for blank passwords proably on your users.

Im curious hows he is even able to run though. i thought you had to be logged into the machine to do that. perhaps someone else could answer, but he shouldnt be able to even get connected to run that without a username/password. Though i may be mistaken also you should make sure its firewalled to prevent everthing but that port you designate. I would recomend changing the port number immideatly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top