Author: Clive Fuentebella   
 Modified By:: Paul Steven Nadera

 

a variant of Win32/CoinMiner.ES potentially unwanted application, a variant of Win32/CoinMiner.ES potentially unwanted application (NOD32); Trojan.Phominer (QUICKHEAL); Riskware.PythMiner (VBA32)

 PLATFORM:

Windows, Linux

 OVER ALL RISK RATING:
 DAMAGE POTENTIAL::
 DISTRIBUTION POTENTIAL::
 REPORTED INFECTION:
 INFORMATION EXPOSURE:
Low
Medium
High
Critical

  • Threat Type:
    Coinminer

  • Destructiveness:
    No

  • Encrypted:
    Yes

  • In the wild::
    Yes

  OVERVIEW

INFECTION CHANNEL: Descargado de Internet, Eliminado por otro tipo de malware

It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Elimina archivos para impedir la ejecución correcta de programas y aplicaciones.

Este malware no tiene ninguna rutina de puerta trasera.

Recopila determinada información del equipo afectado.

  TECHNICAL DETAILS

File size: 6,271,268 bytes
File type: EXE
Memory resident: Yes
INITIAL SAMPLES RECEIVED DATE: 29 de grudnia de 2019
PAYLOAD: Drops files, Terminates processes

Detalles de entrada

It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Instalación

Agrega las carpetas siguientes:

  • %User Temp%\_MEI{Random numbers}
  • %Temp%\_MEI{Random numbers}

(Nota: %User Temp% es la carpeta Temp del usuario activo, que en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) suele estar en C:\Documents and Settings\{nombre de usuario}\Local Settings\Temp y en el case de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}\AppData\Local\Temp).

. %Temp% es la carpeta de archivos temporales de Windows, que suele estar en C:\Windows\Temp o C:\WINNT\Temp).

)

Crea las siguientes copias de sí mismo en el sistema afectado y las ejecuta:

  • %User Profile%\HelpPane.exe -> Detected as Coinminer.Win32.MALXMR.TIAOODDC

(Nota: %User Profile% es la carpeta de perfil del usuario activo, que en el caso de Windows 98 y ME suele estar en C:\Windows\Profiles\{nombre de usuario}, en el caso de Windows NT en C:\WINNT\Profiles\{nombre de usuario}, en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) en C:\Documents and Settings\{nombre de usuario} y en el caso de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}).

)

Infiltra los archivos siguientes:

  • %User Temp%\_MEI{Random numbers}\Crypto.Cipher._AES.pyd
  • %User Temp%\_MEI{Random numbers}\Microsoft.VC90.CRT.manifest
  • %User Temp%\_MEI{Random numbers}\_ctypes.pyd
  • %User Temp%\_MEI{Random numbers}\_hashlib.pyd
  • %User Temp%\_MEI{Random numbers}\_socket.pyd
  • %User Temp%\_MEI{Random numbers}\_ssl.pyd
  • %User Temp%\_MEI{Random numbers}\_win32sysloader.pyd
  • %User Temp%\_MEI{Random numbers}\bz2.pyd
  • %User Temp%\_MEI{Random numbers}\ftpcrack.exe.manifest
  • %User Temp%\_MEI{Random numbers}\msvcm90.dll
  • %User Temp%\_MEI{Random numbers}\msvcp90.dll
  • %User Temp%\_MEI{Random numbers}\msvcr90.dll
  • %User Temp%\_MEI{Random numbers}\netifaces.pyd
  • %User Temp%\_MEI{Random numbers}\perfmon.pyd
  • %User Temp%\_MEI{Random numbers}\psutil._psutil_windows.pyd
  • %User Temp%\_MEI{Random numbers}\pyexpat.pyd
  • %User Temp%\_MEI{Random numbers}\python27.dll
  • %User Temp%\_MEI{Random numbers}\pywintypes27.dll
  • %User Temp%\_MEI{Random numbers}\select.pyd
  • %User Temp%\_MEI{Random numbers}\servicemanager.pyd
  • %User Temp%\_MEI{Random numbers}\unicodedata.pyd
  • %User Temp%\_MEI{Random numbers}\win32api.pyd
  • %User Temp%\_MEI{Random numbers}\win32event.pyd
  • %User Temp%\_MEI{Random numbers}\win32evtlog.pyd
  • %User Temp%\_MEI{Random numbers}\win32service.pyd
  • %User Temp%\_MEI{Random numbers}\Include\pyconfig.h
  • %User Temp%\_MEI{Random numbers}\back.jpg → DLL File loaded by the malware during execution
  • %User Temp%\_MEI{Random numbers}\certifi\cacert.pem
  • %User Temp%\_MEI{Random numbers}\config.json → configuration file of the coinminer which contains the algorithm, username, password, URL, etc. used.
  • %User Temp%\_MEI{Random numbers}\httplib2\cacerts.txt
  • %User Temp%\_MEI{Random numbers}\xmrig.exe → executes the coinminer payload of the malware detected as Coinminer.Win32.MALREP.THCODBO
  • %Temp%\_MEI{Random numbers}\Crypto.Cipher._AES.pyd
  • %Temp%\_MEI{Random numbers}\Microsoft.VC90.CRT.manifest
  • %Temp%\_MEI{Random numbers}\_ctypes.pyd
  • %Temp%\_MEI{Random numbers}\_hashlib.pyd
  • %Temp%\_MEI{Random numbers}\_socket.pyd
  • %Temp%\_MEI{Random numbers}\_ssl.pyd
  • %Temp%\_MEI{Random numbers}\_win32sysloader.pyd
  • %Temp%\_MEI{Random numbers}\bz2.pyd
  • %Temp%\_MEI{Random numbers}\ftpcrack.exe.manifest
  • %Temp%\_MEI{Random numbers}\msvcm90.dll
  • %Temp%\_MEI{Random numbers}\msvcp90.dll
  • %Temp%\_MEI{Random numbers}\msvcr90.dll
  • %Temp%\_MEI{Random numbers}\netifaces.pyd
  • %Temp%\_MEI{Random numbers}\perfmon.pyd
  • %Temp%\_MEI{Random numbers}\psutil._psutil_windows.pyd
  • %Temp%\_MEI{Random numbers}\pyexpat.pyd
  • %Temp%\_MEI{Random numbers}\python27.dll
  • %Temp%\_MEI{Random numbers}\pywintypes27.dll
  • %Temp%\_MEI{Random numbers}\select.pyd
  • %Temp%\_MEI{Random numbers}\servicemanager.pyd
  • %Temp%\_MEI{Random numbers}\unicodedata.pyd
  • %Temp%\_MEI{Random numbers}\win32api.pyd
  • %Temp%\_MEI{Random numbers}\win32event.pyd
  • %Temp%\_MEI{Random numbers}\win32evtlog.pyd
  • %Temp%\_MEI{Random numbers}\win32service.pyd
  • %Temp%\_MEI{Random numbers}\Include\pyconfig.h
  • %Temp%\_MEI{Random numbers}\back.jpg → DLL File loaded by the malware during execution
  • %Temp%\_MEI{Random numbers}\certifi\cacert.pem
  • %Temp%\_MEI{Random numbers}\config.json → configuration file of the coinminer which contains the algorithm, username, password, URL, etc. used.
  • %Temp%\_MEI{Random numbers}\httplib2\cacerts.txt
  • %Temp%\_MEI{Random numbers}\xmrig.exe → executes the coinminer payload of the malware detected as Coinminer.Win32.MALREP.THCODBO
  • %Temp%\config → config file read by the malware during its execution
  • %Temp%\link.txt → shortcut file pointing to Photos.scr (filename used by the malware for its copy sent to connected ftp servers)
  • %Temp%\config.json → configuration file of the coinminer which contains the algorithm, username, password, URL, etc. used.
  • %Temp%\xmrig.exe → executes the coinminer payload of the malware. Detected as Coinminer.Win32.MALREP.THCODBO

(Nota: %User Temp% es la carpeta Temp del usuario activo, que en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) suele estar en C:\Documents and Settings\{nombre de usuario}\Local Settings\Temp y en el case de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}\AppData\Local\Temp).

. %Temp% es la carpeta de archivos temporales de Windows, que suele estar en C:\Windows\Temp o C:\WINNT\Temp).

)

Agrega los procesos siguientes:

  • %System%\cmd.exe /c copy /y {Malware file path and name} %User Profile%\HelpPane.exe
  • %System%\cmd.exe /c %User Profile%\HelpPane.exe --startup auto install
  • %System%\cmd.exe /c %User Profile%\HelpPane.exe start

(Nota: %User Profile% es la carpeta de perfil del usuario activo, que en el caso de Windows 98 y ME suele estar en C:\Windows\Profiles\{nombre de usuario}, en el caso de Windows NT en C:\WINNT\Profiles\{nombre de usuario}, en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) en C:\Documents and Settings\{nombre de usuario} y en el caso de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}).

)

Otras modificaciones del sistema

Elimina los archivos siguientes:

  • %User Temp%\_MEI{Random numbers}\Crypto.Cipher._AES.pyd
  • %User Temp%\_MEI{Random numbers}\Microsoft.VC90.CRT.manifest
  • %User Temp%\_MEI{Random numbers}\_ctypes.pyd
  • %User Temp%\_MEI{Random numbers}\_hashlib.pyd
  • %User Temp%\_MEI{Random numbers}\_socket.pyd
  • %User Temp%\_MEI{Random numbers}\_ssl.pyd
  • %User Temp%\_MEI{Random numbers}\_win32sysloader.pyd
  • %User Temp%\_MEI{Random numbers}\bz2.pyd
  • %User Temp%\_MEI{Random numbers}\ftpcrack.exe.manifest
  • %User Temp%\_MEI{Random numbers}\msvcm90.dll
  • %User Temp%\_MEI{Random numbers}\msvcp90.dll
  • %User Temp%\_MEI{Random numbers}\msvcr90.dll
  • %User Temp%\_MEI{Random numbers}\netifaces.pyd
  • %User Temp%\_MEI{Random numbers}\perfmon.pyd
  • %User Temp%\_MEI{Random numbers}\psutil._psutil_windows.pyd
  • %User Temp%\_MEI{Random numbers}\pyexpat.pyd
  • %User Temp%\_MEI{Random numbers}\python27.dll
  • %User Temp%\_MEI{Random numbers}\pywintypes27.dll
  • %User Temp%\_MEI{Random numbers}\select.pyd
  • %User Temp%\_MEI{Random numbers}\servicemanager.pyd
  • %User Temp%\_MEI{Random numbers}\unicodedata.pyd
  • %User Temp%\_MEI{Random numbers}\win32api.pyd
  • %User Temp%\_MEI{Random numbers}\win32event.pyd
  • %User Temp%\_MEI{Random numbers}\win32evtlog.pyd
  • %User Temp%\_MEI{Random numbers}\win32service.pyd
  • %User Temp%\_MEI{Random numbers}\Include\pyconfig.h
  • %User Temp%\_MEI{Random numbers}\back.jpg
  • %User Temp%\_MEI{Random numbers}\certifi\cacert.pem
  • %User Temp%\_MEI{Random numbers}\config.json
  • %User Temp%\_MEI{Random numbers}\httplib2\cacerts.txt
  • %User Temp%\_MEI{Random numbers}\xmrig.exe

(Nota: %User Temp% es la carpeta Temp del usuario activo, que en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) suele estar en C:\Documents and Settings\{nombre de usuario}\Local Settings\Temp y en el case de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}\AppData\Local\Temp).

)

Elimina las carpetas siguientes:

  • %User Temp%\_MEI{Random numbers}

(Nota: %User Temp% es la carpeta Temp del usuario activo, que en el caso de Windows 2000(32-bit), XP y Server 2003(32-bit) suele estar en C:\Documents and Settings\{nombre de usuario}\Local Settings\Temp y en el case de Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) y 10(64-bit) en C:\Users\{nombre de usuario}\AppData\Local\Temp).

)

Agrega las siguientes entradas de registro:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\StateftpService\PythonClass
(Default) = %User Profile%\HelpPane.PythonService

Rutina de puerta trasera

Este malware no tiene ninguna rutina de puerta trasera.

Finalización del proceso

Finaliza procesos o servicios que contienen una de las cadenas siguientes si detecta que se ejecutan en la memoria del sistema afectado:

  • Terminates the processes with the following strings/substrings:
    • xmr
    • miner
  • Terminates processes with the following strings in their commandline arguments:
    • xmr
    • miner
    • tcp://
    • stratum

Robo de información

Recopila la siguiente información del equipo afectado:

  • Operating System (Windows or Linux)
  • User Privilege (Admin or User)

Otros detalles

Agrega las siguientes entradas de registro como parte de la rutina de instalación:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\StateftpService\PythonClass

Hace lo siguiente:

  • It connects to the following URL for its coinmining activities:
    • http://xmr.{BLOCKED}-pool.fr:3333
  • It generates random ip addresses and uses bruteforce to connect to ftp servers using ports 21 or 2121. It then drops a copy of itself with the following file names:
    • Photo.scr
    • Video.scr
    • AV.scr
    It also uploads a shortcut file corresponding to dropped copy using the following file names:
    • Photo.lnk
    • Video.lnk
    • AV.lnk
    It searches for files with the following extensions:
    • html
    • htm
    • php
    • asp
    • stm
    • dhtm
    • phtm
    • xht
    • mht
    • htx
    • aspx
    • jsp
    • cgi
    • shtm
    • xml
    then adds an iframe that will execute the dropped copy.

  SOLUTION

Minimum scan engine: 9.850
First VSAPI Pattern File: 15.590.08
First VSAPI Pattern Release Date: 30 de grudnia de 2019
VSAPI OPR PATTERN-VERSION: 15.591.00
VSAPI OPR PATTERN DATE: 31 de grudnia de 2019

Step 2

Los usuarios de Windows ME y XP, antes de llevar a cabo cualquier exploración, deben comprobar que tienen desactivada la opción Restaurar sistema para permitir la exploración completa del equipo.

Step 3

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 4

Reiniciar en modo seguro

[ learnMore ]

Step 5

Desactivar este servicio de malware

[ learnMore ]
  • StateftpService

Step 6

Eliminar este valor del Registro

[ learnMore ]

Importante: si modifica el Registro de Windows incorrectamente, podría hacer que el sistema funcione mal de manera irreversible. Lleve a cabo este paso solo si sabe cómo hacerlo o si puede contar con ayuda de su administrador del sistema. De lo contrario, lea este artículo de Microsoft antes de modificar el Registro del equipo.

  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\StateftpService\PythonClass
    • (Default) = " %User Profile%\HelpPane.PythonService"

Step 7

Eliminar esta clave del Registro

[ learnMore ]

Importante: si modifica el Registro de Windows incorrectamente, podría hacer que el sistema funcione mal de manera irreversible. Lleve a cabo este paso solo si sabe cómo hacerlo o si puede contar con ayuda de su administrador del sistema. De lo contrario, lea este artículo de Microsoft antes de modificar el Registro del equipo.

  • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\StateftpService\PythonClass

Step 8

Buscar y eliminar este archivo

[ learnMore ]
Puede que algunos de los archivos del componente estén ocultos. Asegúrese de que tiene activada la casilla Buscar archivos y carpetas ocultos en la opción Más opciones avanzadas para que el resultado de la búsqueda incluya todos los archivos y carpetas ocultos.
  • %User Temp%\_MEI{Random numbers}\Crypto.Cipher._AES.pyd
  • %User Temp%\_MEI{Random numbers}\Microsoft.VC90.CRT.manifest
  • %User Temp%\_MEI{Random numbers}\_ctypes.pyd
  • %User Temp%\_MEI{Random numbers}\_hashlib.pyd
  • %User Temp%\_MEI{Random numbers}\_socket.pyd
  • %User Temp%\_MEI{Random numbers}\_ssl.pyd
  • %User Temp%\_MEI{Random numbers}\_win32sysloader.pyd
  • %User Temp%\_MEI{Random numbers}\bz2.pyd
  • %User Temp%\_MEI{Random numbers}\ftpcrack.exe.manifest
  • %User Temp%\_MEI{Random numbers}\msvcm90.dll
  • %User Temp%\_MEI{Random numbers}\msvcp90.dll
  • %User Temp%\_MEI{Random numbers}\msvcr90.dll
  • %User Temp%\_MEI{Random numbers}\netifaces.pyd
  • %User Temp%\_MEI{Random numbers}\perfmon.pyd
  • %User Temp%\_MEI{Random numbers}\psutil._psutil_windows.pyd
  • %User Temp%\_MEI{Random numbers}\pyexpat.pyd
  • %User Temp%\_MEI{Random numbers}\python27.dll
  • %User Temp%\_MEI{Random numbers}\pywintypes27.dll
  • %User Temp%\_MEI{Random numbers}\select.pyd
  • %User Temp%\_MEI{Random numbers}\servicemanager.pyd
  • %User Temp%\_MEI{Random numbers}\unicodedata.pyd
  • %User Temp%\_MEI{Random numbers}\win32api.pyd
  • %User Temp%\_MEI{Random numbers}\win32event.pyd
  • %User Temp%\_MEI{Random numbers}\win32evtlog.pyd
  • %User Temp%\_MEI{Random numbers}\win32service.pyd
  • %User Temp%\_MEI{Random numbers}\Include\pyconfig.h
  • %User Temp%\_MEI{Random numbers}\back.jpg
  • %User Temp%\_MEI{Random numbers}\certifi\cacert.pem
  • %User Temp%\_MEI{Random numbers}\config.json
  • %User Temp%\_MEI{Random numbers}\httplib2\cacerts.txt
  • %User Temp%\_MEI{Random numbers}\xmrig.exe
  • %Temp%\_MEI{Random numbers}\Crypto.Cipher._AES.pyd
  • %Temp%\_MEI{Random numbers}\Microsoft.VC90.CRT.manifest
  • %Temp%\_MEI{Random numbers}\_ctypes.pyd
  • %Temp%\_MEI{Random numbers}\_hashlib.pyd
  • %Temp%\_MEI{Random numbers}\_socket.pyd
  • %Temp%\_MEI{Random numbers}\_ssl.pyd
  • %Temp%\_MEI{Random numbers}\_win32sysloader.pyd
  • %Temp%\_MEI{Random numbers}\bz2.pyd
  • %Temp%\_MEI{Random numbers}\ftpcrack.exe.manifest
  • %Temp%\_MEI{Random numbers}\msvcm90.dll
  • %Temp%\_MEI{Random numbers}\msvcp90.dll
  • %Temp%\_MEI{Random numbers}\msvcr90.dll
  • %Temp%\_MEI{Random numbers}\netifaces.pyd
  • %Temp%\_MEI{Random numbers}\perfmon.pyd
  • %Temp%\_MEI{Random numbers}\psutil._psutil_windows.pyd
  • %Temp%\_MEI{Random numbers}\pyexpat.pyd
  • %Temp%\_MEI{Random numbers}\python27.dll
  • %Temp%\_MEI{Random numbers}\pywintypes27.dll
  • %Temp%\_MEI{Random numbers}\select.pyd
  • %Temp%\_MEI{Random numbers}\servicemanager.pyd
  • %Temp%\_MEI{Random numbers}\unicodedata.pyd
  • %Temp%\_MEI{Random numbers}\win32api.pyd
  • %Temp%\_MEI{Random numbers}\win32event.pyd
  • %Temp%\_MEI{Random numbers}\win32evtlog.pyd
  • %Temp%\_MEI{Random numbers}\win32service.pyd
  • %Temp%\_MEI{Random numbers}\Include\pyconfig.h
  • %Temp%\_MEI{Random numbers}\back.jpg
  • %Temp%\_MEI{Random numbers}\certifi\cacert.pem
  • %Temp%\_MEI{Random numbers}\config.json
  • %Temp%\_MEI{Random numbers}\httplib2\cacerts.txt
  • %Temp%\_MEI{Random numbers}\xmrig.exe
  • %Temp%\config
  • %Temp%\link.txt
  • %Temp%\config.json
  • %Temp%\xmrig.exe

Step 9

Buscar y eliminar esta carpeta

[ learnMore ]
Asegúrese de que tiene activada la casilla Buscar archivos y carpetas ocultos en la opción Más opciones avanzadas para que el resultado de la búsqueda incluya todas las carpetas ocultas.
  • %Temp%\_MEI{Random numbers}
  • %User Temp%\_MEI{Random numbers}

Step 10

Reinicie en modo normal y explore el equipo con su producto de Trend Micro para buscar los archivos identificados como Coinminer.Win32.MALXMR.TIAOODDC En caso de que el producto de Trend Micro ya haya limpiado, eliminado o puesto en cuarentena los archivos detectados, no serán necesarios más pasos. Puede optar simplemente por eliminar los archivos en cuarentena. Consulte esta página de Base de conocimientos para obtener más información.


Did this description help? Tell us how we did.