IIS 6 exploits

ok, i have an IIS 6 server (windows server 2003) with about 5 web sites on it.  

I notice that when i turn ON write access to my sites, some turkish hacker hacks my site.

When i turn off write access, I'm good to go.

For now, we've been turning off and on write access when we need to update but that's getting old so I decided to chase my security problem.

Where do I start?

I've checked access logs, etc and my passwords are good and solid, but obviously something else is going on.

any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

How do you have these writable files protected? What kind of authentication are you using? If its IIS6 make sure you don't have WebDAV enabled as it has multiple authentication bypass vulnerabilities.

They could also be exploiting the scripts themselves with XSS attacks. I would make sure your properly sanitizing your inputs/query strings/session data to make sure its not getting hijacked or manipulated.

If you think its XSS and cannot find the source you could try running a XSS scanner like Acunetix. They have a free version you can use to scan your sites.

Hope this helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.