Forum Moderators: phranque
Looked at those pages, lots of this kind of stuff:
www.mysmallsite.com/products/store/order-adobe/adobe-plug-in.php
What! All these pages redirect from my site to this other spam site! I have a directly called 'products' but everything in the products/store directory is absolutely nothing to do with me.
I have a plesk 8.3.0 control panel. Does anyone have any idea how the could have got there? The only I can think is that I have not updated my blog software lately (I know, am a moron, but it's movable type and it's a big hassle to do).
I would REALLY appreciate any help or ideas. I will obviously delete all the spam I can see but I can't have it happening again. Thanks!
Quick edit - just been looking at Plesk and under the column "User" all the spam pages are marked as "apache" where all of my pages are marked with my username. Maybe this is a clue?
However, if the spam pages are owned by Apache, then it sounds like your host may have gotten cracked, so it would be worth checking with them.
But if your blog is out of date, it's definitely high on the list of suspects.
On a VPS or dedicated server:
1) Change all your passwords which apply to your installation, including those for FTP, Plesk, blog posting, email etc.
2) Upgrade your blog software to the latest version
3) Update your OS version to the latest version with all new security patches
4) Remove all spamlinks
5) Check with all possible tools and possible help from your hosting provider for backdoors and close them.
6) Restart the server to close some possible persistent network connections to the hacker.
7) Again change all passwords
Or option 2: (easier and safer)
Move to a fresh new server either at this host or at another hosting company.
Had a closer look at the files and found this: "Captain Crunch Security Team" and they have even helpfully provided their website address like the gentleman they are. Looks like it is called a C99 shell hack which relates to php, and my host may be to blame...
I'm hoping it was either my host, in which case it wasn't my fault and moving host will solve the problem, or it was the blog software, in which case that's my own silly fault and again moving host will solve the problem as I'll get the latest version of the software. If it's anything else that was insecure I really haven't got a clue how to fix it...