Malware in WordPress website-How to remove

Malware in WordPress website can cause you blacklisted in google and can cause a lots of bad effects.  This post is regarding how to remove Malware from WordPress website.  Recently I got a call from a customer asking if we can remove malware in wordpress website due to which google have blacklisted his website.
Malware in Wordpress website blog security problem hack How to remove 205x300 Malware in Wordpress website How to remove
How to check if your website is having Malware?
You can use Sucuri SiteCheck a Free Website Malware Scanner or can use google webmaster tool as well.  If every thing is fine with your website you can get following kind of report.

Security report (No threats found):
check Malware in Wordpress website How to remove Blacklisted:   No
check Malware in Wordpress website How to remove Malware: No
check Malware in Wordpress website How to remove Malicious javascript:   No
check Malware in Wordpress website How to remove Malicious iFrames: No
check Malware in Wordpress website How to remove Drive-By Downloads:   No
check Malware in Wordpress website How to remove Anomaly detection:   No
check Malware in Wordpress website How to remove IE-only attacks:     No
check Malware in Wordpress website How to remove Suspicious redirections:     No
check Malware in Wordpress website How to remove Spam: No
In google webmaster tool there is a tab under Health for Malware.  You can click on the tab to check the status of your website.  If every thing is fine you will get following message

Malware

Google has not detected any malware on this site.
How is the Malware code looks like?
Its generally in tag like

Security measures for protecting your wordpress website from Malware
Install a plugin Better WP Security.  This need to be installed before the attack.  After attack this wouldn’t be able to solve the problem.
How to remove the Malware code?
  • You need to find and remove all the lines which has base64_decode(“some garbage code “).  This can be present in Java Script as well. Re-install the wordpress blog this will help in fixing some of the files.  Please not that take the back up of all your data before doing this.
  • Clean up your comments.  Remove all the comments marked as spam.
  • Clean up your database.  There can be a possibility of having same code present in your database.  Remove all such entries.
Blacklist removal from google
After removing Malware from wordpress blog verify that non of your post is having Malware.  You can do that easily using Sucuri SiteCheck.  After everything is done submit your website to google Webmaster tool which have marked your website blacklisted for re evaluation.   This process takes some time.  Once its done don’t forget to install plugin Better WP Security and configure it by going to settings.

Source http://ampletrails.com/malware-wordpress-websitehow-remove/e-learning-blog