• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

Hi, My computer got hacked. I have the log file...need assistance in finding out the method it got hacked

Hi all,

A web server that we have got hacked into.  A bunch of files were deleted.  The web server ran windows 2000 server and was patched up recently.  It also was behind a sonicwall firewall and in the DMZ zone.  I looked at the log files and here are a couple of entries

2008-02-05 17:32:26 - 80 DELETE /topnavigation_samplerequest.htm - 200 Microsoft+Data+Access+Internet+Publishing+Provider+DAV
2008-02-05 17:32:26 - 80 DELETE /upload.html - 200 Microsoft+Data+Access+Internet+Publishing+Provider+DAV
2008-02-05 17:32:26 - 80 DELETE /uploadconfirmation.asp - 403 Microsoft+Data+Access+Internet+Publishing+Provider+DAV
2008-02-05 17:32:33 - 80 DELETE /thankyou.asp - 403 Microsoft+Data+Access+Internet+Publishing+Provider+DAV

Is there anything that can be gleaned from the entries above.  How did the files get deleted.  Secondly, I changed the IP address from the original IP address.  Since I have the originating IP address, can it be tracked back to who deleted the files?  If so, how?  The reason I am interested in finding out who it is, is to:

1.)  try and prosecute the originator.   and
2.)  Protect our servers from similar attacks in the future.

  • 2
1 Solution
I think it's likely that IIS WebDAV was used to remotely administer your webserver and, in this case, delete your files.  I can't tell you how, or even much about webdav (except that it's generally a bad idea to leave it enabled on a public web server).

Your main focus should be to get this machine off the public internet if you haven't already.

It is possible that this machine is compromised in such a way that someone has complete control over it.  Having said that, the fact that you are able to see logs of the actions taken makes it more likely to be an amateur who found a very common vulnerability and exploited it for fun rather than for profit.  (Assuming that is that the files deleted were yours and not theirs.)

If you have a source address, it may or may not 'belong' to the perpetrator, you would have to get the authorities involved (and the service providor) to determine this.
You might then need the Machine as evidence.
So if you want to determine what happened too, you'll need to clone the hard-drive in such a way that the integrity of the original is maintained - you should document all your actions if you are serious about prosecuting in order to demonstrate this integrity.  You should then turn the machine off or disconnect it from any network.

Once you have a cloned drive, pop it into another machine (remember not to allow access to it from the public internet) and get hold of nessus from http://www.nessus.org and perform vulnerability assessment of the machine to determine what possible exploits were used.

Then wipe the drive and build yourself a hardened linux webserver.
Thanks for the points!

Featured Post

The eGuide to Automating Firewall Change Control

Today‚Äôs IT environment is constantly changing, which affects security policies and firewall rules. Discover tips to help you embrace this change through process improvement & identify areas where automation & actionable intelligence can enhance both security and business agility.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now