Author: Ricardo III Valdez   

 

HEUR:Trojan.Win32.Generic (KAPERSKY)

 PLATFORM:

Windows

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

  • Threat Type:
    Backdoor

  • Destructiveness:
    No

  • Encrypted:
    Yes

  • In the wild::
    Yes

  OVERVIEW

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

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.

Ejecuta comandos desde un usuario remoto malicioso que pone en peligro el sistema afectado. Se conecta a un sitio Web para enviar y recibir información.

  TECHNICAL DETAILS

File size: 512,000 bytes
File type: DLL
Memory resident: Yes
INITIAL SAMPLES RECEIVED DATE: 26 października 2022
PAYLOAD: Connects to URLs/IPs, Drops files, Steals information

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:

  • When ran in a system with a version lower than or equal to Windows 7:
    • Without administrator rights:
      • %Application Data%\{15 Random Characters}.dll
    • With administrator rights:
      • %User Temp%\sdb{4-digit Hex Numbers}.tmp
      • %User Temp%\SDB{4-digit Hex Numbers}.tmp
      • %Windows%\AppPatch\Custom\{Hex Values}.sdb
  • When ran in a system with a version greater than Windows 7:
    • Without administrator rights:
      • %Application Data%\mswinload.dll
    • With administrator rights:
      • %System%\mswinload0.dll

(Nota: %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).

)

Agrega los procesos siguientes:

  • "%System%\sdbinst.exe" -q -p "%User Temp%\sdb{4-digit Hex Numbers}.tmp"

(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 exclusiones mutuas para garantizar que solo se ejecuta una de sus copias en todo momento:

  • windows_7_windows_10_check_running_once_mutex

Técnica de inicio automático

Agrega las siguientes entradas de registro para permitir su ejecución automática cada vez que se inicia el sistema:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
{15 Random Characters} = rundll32 %Application Data%\{15 Random Characters}.dll , #1

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
mswinload = rundll32 %Application Data%\mswinload.dll , #1

Añade las siguientes entradas del registro de Image File Execution Options para ejecutarse a sí mismo cuando se ejecutan determinadas aplicaciones:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Image File Execution Options\
winlogon.exe
VerifierDlls = mswinload0.dll

Otras modificaciones del sistema

Elimina los archivos siguientes:

  • %User Temp%\SDB{4-digit Hex Numbers}.tmp
  • %Windows%\AppPatch\Custom\{Hex Values}.sdb

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

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

)

Agrega las siguientes entradas de registro:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
{3 Random Letters}
{1 Random Letter} = {Hex Values}

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
{3 random letters}
{1 Random Letter} = {Hex Values}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\AppCompatFlags\
Custom\services.exe
{Hex Values}.sdb = {Timestamp}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{Hex Values}.sdb
DisplayName = Microsoft KB2720155

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{Hex Values}.sdb
UninstallString = %System%\sdbinst.exe -u %Windows%\AppPatch\Custom\{Hex Values}.sdb

HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\
Windows NT\CurrentVersion\AppCompatFlags\
InstalledSDB\{Hex Values}
DatabasePath = %Windows%\AppPatch\Custom\{Hex Values}.sdb

HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\
Windows NT\CurrentVersion\AppCompatFlags\
InstalledSDB\{Hex Values}
DatabaseType = {Numbers}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\
Windows NT\CurrentVersion\AppCompatFlags\
InstalledSDB\{Hex Values}
DatabaseDescription = Microsoft KB2720155

HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\
Windows NT\CurrentVersion\AppCompatFlags\
InstalledSDB\{Hex Values}
DatabaseInstallTimeStamp = {Timestamp}

Rutina de puerta trasera

Ejecuta los comandos siguientes desde un usuario remoto malicioso:

  • Execute CMD Commands
  • Reboot the System
  • Sleep
  • Record Video
  • Enable/Disable RDP
  • Port Forward
  • Inject PE Files
  • Get Drive Information and Directories/Files
  • Manage Files (Create,Read,Write,Delete)
  • Create Directory

Se conecta a los sitios Web siguientes para enviar y recibir información:

  • https://{BLOCKED}003774-live.com
  • https://{BLOCKED}000846-live.com

Robo de información

Recopila los siguientes datos:

  • Domain Name
  • Computer Name
  • Country Code
  • OS Version and Architecture
  • User Privilege
  • Proxy Settings

Otros detalles

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

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
{3 random letters}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
{3 Random Letters}

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
{3 Random Letters}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\AppCompatFlags\
Custom\services.exe

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
{Hex Values}.sdb

HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\
Windows NT\CurrentVersion\AppCompatFlags\
InstalledSDB\{Hex Values}

Hace lo siguiente:

  • After installing itself in the system, the system it is running on needs to be rebooted in order for it to proceed with its other malicious routines.
  • It checks the user privilege it is run with and depending on what was used it will use the following registry tree:
    • HKEY_LOCAL_MACHINE → When run with administrator rights
    • HKEY_CURRENT_USER → When run without administrator rights
  • The created registry key contains the loader for the encrypted RAT component and the encrypted RAT component itself.
  • It checks the version of the system it is running on and depending on the result will use different ways of establishing persistence:
    • For systems running with a version lower than or equal to Windows 7:
      • Via Applications Shims (Installed with sdbinst.exe)→ When run with administrator rights
      • Via Registry Run Keys → When run without administrator rights
    • For systems running with a version greater than Windows 7:
      • Via Registry Run Keys → When run without administrator rights
      • Via Image File Execution Options Keys → When run with administrator rights

  SOLUTION

Minimum scan engine: 9.800
First VSAPI Pattern File: 17.926.02
First VSAPI Pattern Release Date: 09 de listopada de 2022
VSAPI OPR PATTERN-VERSION: 17.927.00
VSAPI OPR PATTERN DATE: 10 de listopada de 2022

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

Identificar y terminar los archivos detectados como Backdoor.Win32.SDBBOT.AB

[ learnMore ]
  1. Para los usuarios de Windows 98 y ME, puede que el Administrador de tareas de Windows no muestre todos los procesos en ejecución. En tal caso, utilice un visor de procesos de una tercera parte (preferiblemente, el Explorador de procesos) para terminar el archivo de malware/grayware/spyware. Puede descargar la herramienta en cuestión aquí.
  2. Si el archivo detectado aparece en el Administrador de tareas o en el Explorador de procesos, pero no puede eliminarlo, reinicie el equipo en modo seguro. Para ello, consulte este enlace para obtener todos los pasos necesarios.
  3. Si el archivo detectado no se muestra en el Administrador de tareas o el Explorador de procesos, prosiga con los pasos que se indican a continuación.

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_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • {15 Random Characters} = rundll32 %Application Data%\{15 Random Characters}.dll , #1
  • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • mswinload = rundll32 %Application Data%\mswinload.dll,#1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winlogon.exe
    • VerifierDlls = mswinload0.dll
DATA_TEXTBOX
  • Cierre el Editor del Registro.
  • 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.

    • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\{3 Random Letters}
    • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\{3 Random Letters}
    • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppCompatFlags\Custom\services.exe
    • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Hex Values}.sdb
    • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsot\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\{Hex Values}

    Step 8

    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.
      • %User Temp%\sdb{4-digit Hex Number}.tmp
      • %Windows%\AppPatch\Custom\{Hex Values}.sdb
      • %Application Data%\{15 Random Characters}.dll
      • %Application Data%\mswinload.dll
      • %System%\mswinload0.dll
    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:
      %User Temp%\sdb{4-digit Hex Number}.tmp||%Windows%\AppPatch\Custom\{Hex Values}.sdb||%Application Data%\{15 Random Characters}.dll||%Application Data%\mswinload.dll||%System%\mswinload0.dll
  • Step 9

    Reinicie en modo normal y explore el equipo con su producto de Trend Micro para buscar los archivos identificados como Backdoor.Win32.SDBBOT.AB 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.