Information Security Stack Exchange is a question and answer site for information security professionals. 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

In the file structure of my site, I see some randomly generated files like 'justinbieber.asp', 'justinbiebershoes.asp','guccishoes.asp' etc. I tried deleting them but they are generated again. Can anybody tell me the cause of this? Is my site hacked? How do I get rid of these files forever?


I found a site which also has the page called burberrybags.htm. A page named 'burberry.asp' is also getting generated for my site. If you check the site I mentioned it has nothing to do with bags. It is a site of a company that deals in metal scraps.

share|improve this question
up vote 3 down vote accepted

It could be that your site has become a victim of attackers and that it has been compromised. The best way to deal with this is to take down your website completely (shut down the webserver as it might be used for malicious intent) and restore backup from when you knew it was not compromised.

Before putting your site online again find out how the attackers managed to get into your site or how they managed to produce these files. I suspect you have a vulnerability in your webapplication or in your webserver.

If this is a shared environment contact your hosting provider.

share|improve this answer
Oh man! Thanks for the info Lucas. – Chetana Kestikar Jun 5 '13 at 10:01
Hey Lucas... U mentioned in ur answer about vulnerability. What kind of vulnerability? I mean can u please explain? I am not of security field so i request u to explain. – Chetana Kestikar Jun 5 '13 at 10:07
Well if you have done improper input validation or the likes it could be your application is vulnerable to SQL injection or something else which would allow people to access your server (spawn a shell or output files). If you have any calls in your webapp which create files, I would start looking there. – Lucas Kauffman Jun 5 '13 at 10:12
Okay...Actually I was getting 2000 requests per minute on a page which had a form to be filled by user. So do you think this was the main issue? Coz now I have put captcha functionality on that page to stop getting so many requests. – Chetana Kestikar Jun 5 '13 at 10:15
That depends what the form does, have a look at the OWASP testing guide. – Lucas Kauffman Jun 5 '13 at 10:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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