Is my WP site being hacked?

My process for cleaning a hacked site includes

  • changing all credentials (user/pass) on hosting, FTP, WP (don’t use an admin-level user called ‘admin’)
  • updating everything- from the repository – WP, themes, plugins. Remove old/unused plugins and themes
  • use FTP of file manager to check every folder for files that look out of place (look at the datestamp of the files; since you updated everything, the bad files should be easily visible)
  • look at the generated pages source for things that shouldn’t be there.

There is guidance all over the googles about cleaning hackedsites. And I wrote up a procedure that I use here: https://securitydawg.com/recovering-from-a-hacked-wordpress-site/

It can be done, just takes a bit of work.