Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
My server’s been hacked EMERGENCY

I am currently running a Windows 2003 server with IIS 6.0. It seems to be that one of the website has been 'hacked'.

<script src=http://<SOME WEIRD WEBSITE>></scipt>

A script tag linking to a malicious js file is inserted at the top of various ASP pages only during the weekends. I have checked each pages and they contain no such tags.

The pages only INSERT or UPDATE data in the database and does not read/print any data from the database. However most the pages do get POST/GET data passed to them.

I have tried reinstalling IIS but still having the same issue. What should I do now?

share|improve this question

marked as duplicate by Michael Hampton, John Gardeniers, mdpc, Magellan, Ward Nov 26 '12 at 21:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 2 down vote accepted

I'd recommend formatting the server and reinstalling Windows. Sounds like you've got a virus on the server.

share|improve this answer
Is there any other things I could try before formatting the server? :( – boxple Nov 24 '12 at 14:45
Not to guarantee that the problem has been solved. After formatting the server you'll need to make sure that whatever attack vector was used is also closed off. – mrdenny Nov 25 '12 at 1:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.