A
A
Amorchica2019-04-02 09:34:15
Malware
Amorchica, 2019-04-02 09:34:15

Virus or function - uniplacer.php how to remove?

Good afternoon
Help to cure the site, what is it, who to treat wordpress, centOS, hoster support?
I picked up a virus from an advertising exchange on the site, the uniplacer.php file and a folder with a bilebird name appear. Appears on its own, Wordpres 4.9.10, advertising seems to not even be shown - I went to my urls which in the file with the base I
execute the command
find . -type f -print | xargs grep "uniplacer"
finds

./биллибирдакакаято/Update.php:  require_once($_SERVER['DOCUMENT_ROOT'].'/uniplacer_config.php');
./биллибирдакакаято/Update.php:            // Начнём заменять файлы, кроме файла Update.php - он заменится хвостом в uniplacer.php
./биллибирдакакаято/uniplacer.php:#_ZIP_NAME_uniplacer.php_#  // Строчку убирать НЕЛЬЗЯ - это идентификатор файла для скрипта обновления
./биллибирдакакаято/uniplacer.php:require_once($_SERVER['DOCUMENT_ROOT'].'/uniplacer_config.php');
./биллибирдакакаято/uniplacer.php:	* @var UniplacerCharset !!! Внимание !!! Конфигурится в uniplacer_config.php константой _UNIPLACE_CHARSET_ или при вызове конструктора.
./биллибирдакакаято/sync.php:require_once($_SERVER['DOCUMENT_ROOT'].'/uniplacer_config.php');
./биллибирдакакаято/sync.php:require_once($_SERVER['DOCUMENT_ROOT'].'/'._UNIPLACE_USER_.'/uniplacer.php');
./wp-includes/images/smilies/icon_angel.gif:	require_once($_SERVER['DOCUMENT_ROOT'].'/uniplacer_config.php');
./wp-includes/images/smilies/icon_angel.gif:	require_once($_SERVER['DOCUMENT_ROOT'].'/'._UNIPLACE_USER_.'/uniplacer.php');

obviously villainous code is inserted into the picture
I do
find . -type f -print | xargs grep "icon_angel.gif"

finds
./wp-content/themes/basepress/footer.php:        <?php include('/usr/www/mysite/wp-includes/images/smilies/icon_angel.gif');?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Amorchica, 2019-04-10
@Amorchica

I answer myself - it stopped appearing
I looked for all the files for the word base64 I noticed that in three pictures there is this word - I deleted it,
the word base64 stopped appearing in itself is not evil, it is often found in ordinary php, but it should not be in pictures
now I periodically look for a script

#!/bin/bash
find . -iname '*.gif' -type f -print| xargs grep "base64" > result.txt
find . -iname '*.jpeg' -type f -print| xargs grep "base64" >> result.txt
find . -iname '*.jpg' -type f -print| xargs grep "base64" >> result.txt
find . -iname '*.htm' -type f -print| xargs grep "base64" >> result.txt
find . -iname '*.html' -type f -print| xargs grep "base64" >> result.txt
find . -type f -print| xargs grep -i "uniplacer" >> result.txt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question