My Site is Being Hacked
PermalinkI am running 5.6 and 5.7. Both are being hacked in the same way.
This site is on a Arvixe server and they have told me there is nothing they can do. I have changed passwords and it keeps happening. It seems to me that this might be a person doing this, cause after I change the filename back to what they are supposed to be, it isn't a set amount of time before the site goes down again, it varies.
Thanks!

With that out of the way, personally I would copy everything essential for recreating the site using the host control panel, scrub the whole lot, database and files, make sure it is thoroughly cleaned out, then recreate a clone from fresh source, the copies made, and whatever tweaks I needed.
Most important is to make sure that anything executable comes from fresh source and to only use the host control panel.
The site isn't too hard to remake so I will probably just do that.
You need to get a copy of the site and clean it if you can. You also need to change any of the passwords within the website.
Also you need to change any passwords for your hosting for the website, for mysql, ftp etc.
Personally I'd probably close the account for that domain if it were on shared hosting and set up a new one against the domain name and set everything up from scratch with your cleaned database and code with all new passwords / webspace etc.
How would I go about scrubbing through the files? Is it what it sounds like, looking through each and every folder for any files that do not match the C5 file structure? Or is it a little less torturous?
Thanks!
Take note of the date and time you place the original files onto your system as I think they'll all have the same date and time for when you do that.
Download the same version of C5 from concrete5.org.
Go through the new set of files and change any filename extensions where the original ones had been changed to .hacked etc.
Copy the new files into the repo and let them overwrite whats there.
Using a nice Git tool like Atlassian SourceTree it ought to show any file differences between the files that were present in both downloads, so you'll see if the contents of any have been tampered with.
Now the reason for noting the date and time of copying the site files to your PC is so you can see if any still have that date on after you copied the new files over the top. Investigate each of these additional files from the site source as to what they are, maybe they'll just be packages or updates?
Do something similar with the packages if you can get hold of the same versions from the marketplace. Maybe there's a rouge package in there, do they all tally with what was delivered from you to the client when the site was created? Are they all packages installed from the marketplace or has the client installed something from elsewhere?
Change the usernames and passwords, particularly the one concrete uses for its db connection and any for admin users.