herbie herbie:
Bin dare dundat.
The hack copied files into every directory and subdirectory of every website on the server. Hell of a weekend wasted.
Ended up changing cpanel password, and the site admin passwords, disabling ALL ftp access and setting all .htaccess permissions to 444 as well as the config file. Then as all the sites were pretty static, set the server to backup site & db daily.
Yah I've done all this. I've just now disabled a bunch of the old forms on the website that allowed uploading a file, maybe some of them don't check file mime types.
I think I did a good cleanup of any nefarious files, but running another complete scan with ImunifyAV scanner, which will take several hours.
I also fixed a bug with the homepage cache, the page would just load blank sometimes due to an encoding gzip issue.