Search entire server for Q4 2015 obfuscated PHP malware of unknown origin.

find / -name \*.php -exec grep -Hn .1.=.......0.=.......3.=.......2.=.......5.= {} \;
If this matches any files on your web server expect to find allot of malware spread throughout your server folders. Seems to target wordpress sites. Be sure to check your themes/theme-name/header.php files manually for various redirect scripting usually in the line right above the close head tag. Good luck!
Sample Output
/blah/functions.php:1969:$ullpzmraak = Array('1'=>'G', '0'=>'h', '3'=>'E', '2'=>'F', '5'=>'w', '4'=>'V', '7'=>'l', '6'=>'P', '9'=>'j', '8'=>'Y', 'A'=>'x', 'C'=>'5', 'B'=>'2', 'E'=>'s', 'D'=>'O', 'G'=>'N', 'F'=>'k', 'I'=>'g', 'H'=>'9', 'K'=>'z', 'J'=>'4', 'M'=>'e', 'L'=>'R', 'O'=>'o', 'N'=>'3', 'Q'=>'H', 'P'=>'t', 'S'=>'y', 'R'=>'B', 'U'=>'Z', 'T'=>'d', 'W'=>'8', 'V'=>'1', 'Y'=>'J', 'X'=>'i', 'Z'=>'M', 'a'=>'S', 'c'=>'c', 'b'=>'n', 'e'=>'X', 'd'=>'6', 'g'=>'f', 'f'=>'u', 'i'=>'0', 'h'=>'I', 'k'=>'W', 'j'=>'v', 'm'=>'C', 'l'=>'Q', 'o'=>'r', 'n'=>'A', 'q'=>'7', 'p'=>'L', 's'=>'D', 'r'=>'b', 'u'=>'p', 't'=>'a', 'w'=>'K', 'v'=>'U', 'y'=>'T', 'x'=>'q', 'z'=>'m');

By: UnklAdM
2015-10-28 20:58:53

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: