How to fix the WordPress Admin User Hack
How to fix the WordPress Admin User Hack
- Change all passwords
- FTP accounts
- MySQL Databases
- Server's admin panel account
- SSH password/key
- E-Mail accounts hosted on the infected server
- Delete all anonymous FTP accounts
- Investigate server logs to see hack attempts from strange IP addesses
- Update the file & folders permission. Set following files to
444
permissions- .htaccess
- wp-config.php
- index.php
- Update file permissions of /wp-content/ & /wp-content/uploads folder to
755
instead of777
(open for everyone) - Enable IP whitelisting to /wp-admin folder so that only selected IP addresses can access it