Scan multiple websites for malware that are in same webhost root?

The only way that I have found (and used) to get rid of ‘unauthorized’ code is to manually check everything. This includes

  • changing access credentials for hosting, ftp, databases, admin-level users. Strong passwords, of course.
  • reinstalling everything (themes, plugins, custom code) from known good sources via a manual FTP process. Also, reinstalling WP from the Admin, Update area.
  • checking all folders for files that shouldn’t be there. Since you updated all files, sort by datestamp, which should make unauthorized files stand out from the recently updated files.
  • look for unauthorized WP users

There is more to this procedure; I’ve developed a good checklist that I use here. It takes a bit of time, but my process has been successful in cleaning up sites for my clients. There are lots of googles/bings/ducks on cleaning a hacked site, also.