A wordpress theme malware is mainly some extra codes hardcoded in theme’s php or javascript files in order to execute malicious functions like injecting links, stealing admin data like passwords and hacks.
Recently a new wordpress theme malware is found, which is mainly a piece of base64-encrypted code, in a free wordpress theme’s functions.php file distributing through some freely available wordpress theme from a wordpress theme dump website. Jay wrote a long post on his blog regarding this.
The malware-ridden theme’s functions.php file contains code that inserts a zip file on a theme’s screenshot file. Once activated, the file unzips itself into a new directory and executes the malware file, adds itself (the malware code) and infects other themes in the user’s wp-content/themes directory. This type of malware is really clever because once it accomplishes its goal, the file erases itself so it won’t be traceable.
Additionally, this malware sends notification to its creator about it existence on a server and allows him to insert links on writable theme files on a wordpress installation. Otto, the coder of my Gravatar Hovercards plugin, wrote a post called Anatomy of a Theme Malware where he explains the nature of this malware. Read here
Better be careful. Download themes from offical sites alone. It’s safe or before installing check your functions.php file to ensure that the virus coding is not there.



I had been in process of peaceful loading of Firefox, when instead of home page got an Error message (forget to write Error number)
mysql_connect() [function.mysql_connect]: Too many connections in
/home/michaelh/phunctions.php on line 655
Does it mean my comp infected? What antimalware I should try?
see:
http://us3.php.net/manual/en/function.mysql-connect.php
http://us3.php.net/manual/en/function.mysql-close.php
You probably are not closing the connection in your php scripts.
Using mysql_close(): This explicitly closes the connections. The use of mysql_close() in conjunction with mysql_connect() would ensure that the connection is closed
I had a similar problem. My laptop was in the process of loading Google Chrome and it showed an error instead of the home page. I tried refreshing my browser a few times and I finally gave up on it! I decided to delete and re-install Google Chrome. The same thing repeated! I have no clue which antimalware I should use. Think you could help?