RE: MS SQL Server

From: Derick Anderson (danderson@vikus.com)
Date: Fri Sep 16 2005 - 14:08:26 EDT


 
> Hey All,
>
> Ok, so here's the deal, I've managed to compromise a Win2k
> server at a clients site, and this also has thier Peoplesoft
> and Remedy databases on it, running on MS SQL 2000. I have
> been able to successfully add myself to the local
> Administrators group, and can now TS into the box in
> question. I have absolutely no rights on the SQL server
> though, so any pointers here would be greatly appreciated!
> I found a backup of the Remedy db, and by setting up a SQL
> server on one of my machines managed to restore it, and I now
> have access to that, thatnks to a load of MS SQL howto's
> online, but I am more concerned about getting the Peoplesoft
> db data, but no such joy with finding backups lying around.
>
> Ideally I would like to try and avoid commercial tools, but
> as far as compromising a SQL server, I've never done it
> before, and could do with any help that I can get here.
> TIA
>
> xyberpix

I'm not a pentester but one thing I would check (since you have admin of
the box) is whether SQL Server is running as SYSTEM or a specific user.
SQL Server has to run under a user account to enable SQL Server Agent to
send mail. That account must also be granted System Administrator
privileges on SQL Server. If it's running as a local user you may be
able to retrieve password information and run it through a password
cracker.

Derick Anderson

------------------------------------------------------------------------------
Audit your website security with Acunetix Web Vulnerability Scanner:

Hackers are concentrating their efforts on attacking applications on your
website. Up to 75% of cyber attacks are launched on shopping carts, forms,
login pages, dynamic content etc. Firewalls, SSL and locked-down servers are
futile against web application hacking. Check your website for vulnerabilities
to SQL injection, Cross site scripting and other web attacks before hackers do!
Download Trial at:

http://www.securityfocus.com/sponsor/pen-test_050831
-------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:54:55 EDT