I've recently noticed that someone has uploaded a virus - JS/Downloader Agent to a number of my WP 2.51 web sites.
Whoever the attacker is uploads it to wp-blog-header.php. The original file is supposed to be 2KB. The new one is 3KB. There is an encrypted javascript code added.
I have already contacted my web host (Servage) and installed a fresh copy of WordPress.
Read/Write permissions are set to 755 on the root folders. Should the core files be 644? Just want to make sure.
No one has my passwords, but I've just changed them, as a precaution.
I have wp-ban installed, as well as wp-blockadmin and the Login Error Cleaner plugin. Other protection plugins like AA Password Protect cause internal errors, so I can't use them.
All plugins are up to date.
What I'm trying to figure out is how to prevent it from happening again.
Any suggestions?