TSPY_ZBOT.ESQ

 Analysis by: Kathleen Notario

 PLATFORM:

Windows 2000, XP, Server 2003

 OVERALL RISK RATING:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW


This spyware attempts to steal information, such as user names and passwords, used when logging into certain banking or finance-related websites.

  TECHNICAL DETAILS

File Size:

131,584 bytes

File Type:

PE

Memory Resident:

Yes

Initial Samples Received Date:

05 Nov 2010

Arrival Details

This spyware may be unknowingly downloaded by a user while visiting the following malicious websites:

  • http://{BLOCKED}dfyria.com/upload/update.exe

Installation

This spyware adds the following folders:

  • %Application Data%\{random1}
  • %Application Data%\{random2}

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)

It injects itself into the following processes as part of its memory residency routine:

  • dwm.exe
  • rdpclip.exe
  • ctfmon.exe
  • wscntfy.exe
  • taskeng.exe
  • taskhost.exe

Autostart Technique

This spyware adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random CLSID} = %Application Data%\{random1}\{random}.exe

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
{random}

Dropping Routine

This spyware drops the following files:

  • %Application Data%\{random1}\{random}.exe
  • %Application Data%\{random2}\{random}.{random}

(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)

Download Routine

This spyware connects to the following URL(s) to download its configuration file:

  • http://{BLOCKED}dfyria.com/cfg/ass3firstdfyria.jpg

Information Theft

This spyware attempts to access a website to download a file which contains information where the Trojan can download an updated copy of itself, and where to send its stolen data. This configuration file also contains the following list of targeted bank-related websites from which it steals information:

  • *bancomediolanum.es*
  • *bancomediolanum.es*2011*
  • *caixatarragona.es/*oficinacodigo.jsp*
  • *cajacanariasonline.cajacanarias.es*
  • *e-pueyo.com*centro*
  • *https://lineacb.cajabadajoz.es/BEWeb/*/inicio_identificacion.action*
  • *inversis.com*
  • *online.halifax.es/main*
  • *ruralvia.com*
  • https://*.caja-granada.es*
  • https://*activa24.ccm.es*
  • https://*bancae.caixapenedes.com*
  • https://*bancocaixageral.es*
  • https://*bancodevalencia.es*
  • https://*bankoanet.com/*
  • https://*bankpymenet.com*
  • https://*barclays.es*
  • https://*bbvanetoffice.com/DFAUTH/slod/DFServlet*
  • https://*cai.es*
  • https://*caionline.cai.es*
  • https://*caixalaietana.es*
  • https://*caixatarragona.es*
  • https://*caja-granada.es*
  • https://*caja-ingenieros.es*
  • https://*cajacanariasonline.cajacanarias.es*
  • https://*cajacirculo.es*
  • https://*cajaduero.es*
  • https://*cajaelectronica.cajadeavila.es*
  • https://*cajaextremadura.es*
  • https://*cajasegovia.es*
  • https://*ccm.es*
  • https://*ccm.es/*
  • https://*deutsche-bank.es*
  • https://*deutsche-bank.es/*
  • https://*gruposantander.es/bog/sbi*
  • https://*lacajadecanarias.es*
  • https://*lineacb.cajabadajoz.es*
  • https://*mediolanum.es*
  • https://*oficina24hores.caixagirona.es*
  • https://*ruralvia.com/isum/Main*
  • https://*sanostra.es*
  • https://*solbank.com*
  • https://*telematic.caixamanlleu.es*
  • https://*uno-e.com/*
  • https://*vitalnet.cajavital.es*
  • https://banca.cajaguadalajara.biz/ISMC/Guadalajara/INclient.jsp*
  • https://be.bancogallego.es/inithome*
  • https://cajaelectronica.caja-granada.es*
  • https://net.kutxa.net/*/tmpl/es/loginkn*
  • https://online.halifax.es/main*
  • https://seguro.cam.es/camd/SvlLoginCAM*
  • https://telemarch.bancamarch.es/*
  • https://vitalnet.cajavital.es/BEWeb/*/inicio_identificacion.action*
  • https://www.bbvanetoffice.com/local_bdno/login_bbvanetoffice.html
  • https://www.iknet.iparkutxa.es/intro*

It attempts to steal information from the following banks and/or other financial institutions:

  • BBVA
  • Banca March
  • Banca Pueyo
  • Banco Caixa Geral
  • Banco Gallego
  • Banco Mediolanum
  • Banco de Valencia
  • BankoaNET
  • BankpymeNet
  • Barclays
  • CCM
  • Caixa Girona
  • Caixa Laietana
  • Caixa Manlleu
  • Caixa Penedès
  • Caixa Tarragona
  • Caja Badajoz
  • Caja Canarias
  • Caja Circulo
  • Caja Duero
  • Caja Extremadura
  • Caja Granada
  • Caja Segovia
  • Caja Vital
  • Caja de Ahorros de la Inmaculada de Aragón
  • Caja de Avila
  • Caja de Guadalajara
  • Caja de Ingenieros
  • Deutsche Bank
  • Halifax
  • Inversis
  • Kutxanet
  • Mediolanum
  • Ruralvia
  • SA NOSTRA
  • Santander
  • Sol Bank
  • Uno-E

Stolen Information

This spyware sends the gathered information via HTTP POST to the following URL:

  • http://{BLOCKED}dfyria.com/more/contacts.php

Variant Information

This spyware has the following MD5 hashes:

  • 1e46671944ef4e1d04f7f369420fea5a

It has the following SHA1 hashes:

  • 4cb08069042e71e7cdf626ba2df94fad7ebc337a

  SOLUTION

Minimum Scan Engine:

8.900

FIRST VSAPI PATTERN FILE:

7.596.06

FIRST VSAPI PATTERN DATE:

05 Nov 2010

VSAPI OPR PATTERN File:

7.597.00

VSAPI OPR PATTERN Date:

05 Nov 2010

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Identify and delete files detected as TSPY_ZBOT.ESQ using the Recovery Console

[ Learn More ]

Step 3

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {random CLSID}=%Application Data%\{random1}\{random}.exe

Step 4

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_ZBOT.ESQ. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.


Did this description help? Tell us how we did.