Author: Jeffrey Francis Bonaobra   

 

UDS:Trojan-Ransom.Win32.Snatch.v (KASPERSKY)

 PLATFORM:

Windows

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

  • Threat Type:
    Ransomware

  • 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.

  TECHNICAL DETAILS

File size: 12,285,022 bytes
File type: WAV, EXE
Memory resident: Yes
INITIAL SAMPLES RECEIVED DATE: 01 de февраля de 2023
PAYLOAD: Drops files

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:

  • {Malware file path}\{random characters1}.bat → used to query for services, is deleted afterwards
  • {Malware file path}\{random characters2}.bat → used to delete shadow copies, is deleted afterwards
  • {Malware file path}\{random characters3}.bat → used to register itself as a service, is deleted afterwards
  • {Malware file path}\{random characters4}.bat → used to enable safe mode, is deleted afterwards
  • {Malware file path}\{random characters5}.bat → used to check if safe mode is enabled, is deleted afterwards
  • {Malware file path}\{random characters6}.bat → used to delete itself, is deleted afterwards
  • {Malware file path}\{random characters7}.bat → used to reboot the system, is deleted afterwards

Agrega los procesos siguientes:

  • If the file name contains the string "safe":
    • sc create YfFomRpcSsWBSi binPath={Malware file path}\{Malware file name}" DisaplayName="Provides Remote Procedure Call features via remotely accessible Named Pipes tJuyRbOi" start=auto
  • If the file name does not contain the string "safe":
    • SC QUERY → query for services
    • FINDSTR SERVICE_NAME → collect service names
    • net stop YfFomRpcSsWBSi → terminates existing service of itself
    • vssadmin delete shadows /all /quiet → delete shadow copies
    • cmd /c ping 127.0.0.1
    • del /f {Malware file name} → delete itself
  • REG QUERY "HKLM\SYSTEM\CurrentControlSet\Control" /v SystemStartOptions → query for system start options if set to safeboot
  • If the system start options is not set to safeboot:
    • REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\VSS" /VE /T REG_SZ /F /D Service
    • REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\YfFomRpcSsWBSi" /VE /T REG_SZ /F /D Service → enables the service in safe mode
    • bcdedit /set {current} safeboot minimal → forces the Windows to restart in safe mode
    • %Windows%\Sysnative\bcdedit.exe /set {current} safeboot minimal
    • %Windows%\SysWOW64\bcdedit.exe /set {current} safeboot minimal
    • %System%\bcdedit.exe /set {current} safeboot minimal
    • %Windows%\Sysnative\bcdedit.exe → check if safe mode is enabled
    • shutdown /r /f /t 00 → reboot the system
    • %Windows%\SysWOW64\shutdown.exe /r /f /t 00
    • %System%\shutdown.exe /r /f /t 00
    • %Windows%\Sysnative\shutdown.exe /r /f /t 00

(Nota: %Windows% es la carpeta de Windows, que suele estar en C:\Windows o C:\WINNT).

. %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).

)

Técnica de inicio automático

Agrega las siguientes entradas para permitir su propia ejecución en modo seguro:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\SafeBoot\Minimal\
VSS
{Default} = Service → if the system start options is not set to safeboot

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\SafeBoot\Minimal\
YfFomRpcSsWBSi
{Default} = Service → if the system start options is not set to safeboot

Inicia los servicios siguientes:

  • Service Name: YfFomRpcSsWBSi
    Display Name: Provides Remote Procedure Call features via remotely accessible Named Pipes tJuyRbOi
    Image Path: {Malware File Path}\{Malware file name}

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:

  • SQL
  • BACKUP
  • TEAM
  • EXCHANGE

Otros detalles

Requiere la existencia de los archivos siguientes para ejecutarse correctamente:

  • Qt5Core.dll
  • Qt5Gui.dll
  • Qt5Network.dll
  • Qt5Qml.dll
  • Qt5Widgets.dll
  • Qt5Xml.dll
  • SafeDataTransform.exe → used to load the shellcode and decrypt the ransomware
  • apimswincoreconsolel110.dll
  • apimswincoreconsolel120.dll
  • apimswincoredatetimel110.dll
  • apimswincoredebugl110.dll
  • apimswincoreerrorhandlingl110.dll
  • apimswincorefilel110.dll
  • apimswincorefilel120.dll
  • apimswincorefilel210.dll
  • apimswincorehandlel110.dll
  • apimswincoreheapl110.dll
  • apimswincoreinterlockedl110.dll
  • apimswincorelibraryloaderl110.dll
  • apimswincorelocalizationl120.dll
  • apimswincorememoryl110.dll
  • apimswincorenamedpipel110.dll
  • apimswincoreprocessenvironmentl110.dll
  • apimswincoreprocessthreadsl110.dll
  • apimswincoreprocessthreadsl111.dll
  • apimswincoreprofilel110.dll
  • apimswincorertlsupportl110.dll
  • apimswincorestringl110.dll
  • apimswincoresynchl110.dll
  • apimswincoresynchl120.dll
  • apimswincoresysinfol110.dll
  • apimswincoretimezonel110.dll
  • apimswincoreutill110.dll
  • apimswincrtconiol110.dll
  • apimswincrtconvertl110.dll
  • apimswincrtenvironmentl110.dll
  • apimswincrtfilesysteml110.dll
  • apimswincrtheapl110.dll
  • apimswincrtlocalel110.dll
  • apimswincrtmathl110.dll
  • apimswincrtmultibytel110.dll
  • apimswincrtprivatel110.dll
  • apimswincrtprocessl110.dll
  • apimswincrtruntimel110.dll
  • apimswincrtstdiol110.dll
  • apimswincrtstringl110.dll
  • apimswincrttimel110.dll
  • apimswincrtutilityl110.dll
  • concrt140.dll
  • howdoi.txt
  • libmap64.dll
  • libxl.dll
  • msvcp140.dll
  • msvcp140_1.dll
  • msvcp140_2.dll
  • msvcp140_atomic_wait.dll
  • msvcp140_codecvt_ids.dll
  • other_licenses.txt
  • ucrtbase.dll
  • ulha64.dll
  • unins000.dat
  • vccorlib140.dll
  • vcruntime140.dll
  • vcruntime140_1.dll

Hace lo siguiente:

  • It affects all existing drives from A: to Z:.
  • It checks if the file name contains the string "safe".
    • If yes, it registers itself as a service.
    • If no,
      • It terminates existing service of itself.
      • It deletes shadow copies.
      • It executes and deletes itself.
  • It checks if the system start options is set to safeboot.
    • If yes, it starts the service.
    • If no,
      • It registers itself as a service and enables it in safe mode.
      • It forces the Windows to restart in safe mode.
      • It reboots the system to perform its malicious routine.

  SOLUTION

Minimum scan engine: 9.800
First VSAPI Pattern File: 18.230.05
First VSAPI Pattern Release Date: 01 de февраля de 2023
VSAPI OPR PATTERN-VERSION: 18.231.00
VSAPI OPR PATTERN DATE: 02 de февраля de 2023

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

Reiniciar en modo seguro

[ learnMore ]

Step 4

Desactivar este servicio de malware

[ learnMore ]
    • Service Name: YfFomRpcSsWBSi
    • Display Name: Provides Remote Procedure Call features via remotely accessible Named Pipes tJuyRbOi
    • Image Path: {Malware File Path}\{Malware file name}

Step 5

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\CurrentControlSet\Control\SafeBoot\Minimal\VSS
    • {Default} = Service
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\YfFomRpcSsWBSi
    • {Default} = Service

Step 6

Buscar y eliminar estos archivos

[ 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.
  • {Malware file path}\{random characters1}.bat
  • {Malware file path}\{random characters2}.bat
  • {Malware file path}\{random characters3}.bat
  • {Malware file path}\{random characters4}.bat
  • {Malware file path}\{random characters5}.bat
  • {Malware file path}\{random characters6}.bat
  • {Malware file path}\{random characters7}.bat
DATA_GENERIC_FILENAME_1
  • En la lista desplegable Buscar en, seleccione Mi PC y pulse Intro.
  • Una vez haya encontrado el archivo, selecciónelo y, a continuación, pulse MAYÚS+SUPR para eliminarlo definitivamente.
  • Repita los pasos 2 a 4 con el resto de archivos:
      • {Malware file path}\{random characters1}.bat
      • {Malware file path}\{random characters2}.bat
      • {Malware file path}\{random characters3}.bat
      • {Malware file path}\{random characters4}.bat
      • {Malware file path}\{random characters5}.bat
      • {Malware file path}\{random characters6}.bat
      • {Malware file path}\{random characters7}.bat
  • Step 7

    Reinicie en modo normal y explore el equipo con su producto de Trend Micro para buscar los archivos identificados como Ransom.Win64.SNATCH.YADBA.enc 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.

    Step 8

    Restore encrypted files from backup.


    Did this description help? Tell us how we did.