I was asked to look at a site last week which had been hacked and shutdown by their hosts. Neither Wordpress, their themes, nor any of the 20+ plugins they use had been updated for months, if ever.
So I did the basics. Updated WP to 4.7.3, deleted unused themes, changed all user passwords, kicked out anyone still logged in, updated all the plugins (I don't know what is used and what isn't so didn't delete any) and after installing Wordfence I spent the afternoon running multiple scans to clean it all up and then checked again with Sucuri. All was good.
But Wordfence showed compromised files again the next day so it was rightly shutdown again.
So I'm looking at it now. Wordfence does show a couple of files, which I've cleaned again, and I'm wondering what the next step is. The domain was clearly sending out spam via email addresses which don't exist with the host, so where do I look next ?
An interesting thing I noticed was one of the users was logged in but I know for a fact they haven't logged in at all because I haven't given out any of the new passwords. So I've changed that password again and set all users (other than me) to subscriber. I'm not sure it that will help but I'll also delete those not needed.
Wordfence has just run again and found nothing.
Any suggestions and what I can check for next ?