Getting hacked in WordPress is very difficult when you don’t know how to deal with it. It is common to get hacked in WordPress especially if you don’t update your WordPress installation often because hackers feel fame when they have broken into the most popular CMS in the world. In this article, you will have some basic checklist to see if your website is actually hacked, what are some things you can do to check if your hacked, and what can be done if you have been hacked. To prevent your site from getting hacked, the simplest thing you can do is just update WordPress.
Here is the article: http://wphacks.com/how-to-handle-a-hacked-wordpress-install/