My Magento 1.9.3.3 installation had malicious redirects injected into the header. I could easily erase the redirects from System/Configuration/Design/HTML Header/Other Header Content field.
However I would like to know how to prevent it from happening again.
I am not well-versed when it comes to locking down Magento, but I took the following steps:
- Via SSH I ran
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 550 mage
to make sure permissions were set correctly.
- I changed the admin password.
I did find that the admins user group had 20+ accounts I had never created. I erased those.
Are there additional steps I should/could take at this point?