Analysis by: Karl Dominguez

 PLATFORM:

Windows 2000, XP, Server 2003

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • 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: 92,672 bytes
File Type: PE
Memory Resident: Yes
Initial Samples Received Date: 15 Sep 2010
Payload: Drops files, Downloads files

Infection Points

This spyware arrives as a file downloaded from the following URLs:

  • http://{BLOCKED}osa.com/eu5.exe

Installation

This spyware creates 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:

  • explorer.exe
  • taskhost.exe
  • taskeng.exe
  • Dwm.exe
  • wscntfy.exe
  • ctfmon.exe
  • rdpclip.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

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

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
{random}

Download Routine

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

  • http://{BLOCKED}os.com/eu5.bin

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:

  • !http://*
  • !*.microsoft.com/*
  • !http://*myspace.com*
  • !http://*
  • @*/login.osmp.ru/*
  • @*/atl.osmp.ru/*
  • https://www.google.com/accounts/ihateyouall/*
  • http://85.78.108.180/yabs/sf_bachat.php?
  • https://www.google.com/accounts/callmejabber/*
  • http://85.78.108.180/yabs/ex_jabber.php?q=
  • https://*grupobanif.pt/xsite_be/BE/home/xlets/popupmsg.jsp*
  • *grupobanif.pt/xsite_be/BE/home/Autenticacao.jsp*
  • http://www.banif.pt*
  • http://www.grupobanif.pt*
  • *bes-sec.bes.pt/wclientes/axb*
  • *bes-sec.bes.pt/wclientes/axb/tpl.asp?SRV=*
  • *bigonline.pt/pt/logon_*/logon_user.asp
  • *bpinet.pt*
  • *bpinetempresas.pt*
  • *empresas.santandertotta.pt/canalempresas/finance/login*
  • *millenniumbcp.pt/secure*jsessionid=*
  • *net24.montepio.pt/Net24-Web/func/login/*Login*
  • *net24.montepio.pt/Net24-Web/func/homePages/executa.jsp?*
  • *particulares.santandertotta.pt/bepp/sanpt/usuarios/login*
  • https://ibank.cahoot.com/servlet/com*
  • https://ibank.cahoot.com/Aquarius/web/en/core_banking/log_in/frameset_top_log_in.html
  • *.co-operativebank.co.uk/CBIBSWeb/login.do
  • *.co-operativebank.co.uk/CBIBSWeb/start.do
  • *.smile.co.uk/SmileWeb/start.do
  • *.smile.co.uk/SmileWeb/login.do
  • *first-direct.com*
  • *login_redirect_process*
  • *hsbc.co.uk/1/2*
  • *hsbc.co.uk/1/2/!ut*
  • *bancobest.pt/ptg/start*
  • *activobank7.pt/v10/PT/jsp/*
  • */v10/PT/jsp/privado/login.jsp?message
  • *bbva*/TLEU/tleu/jsp/pt/porN/*
  • *V10/PT/logon.aspx
  • *homebanking.bpn.pt*login.aspx
  • *corporate.bpn.pt*login.aspx
  • *bpn.pt*login.aspx
  • *corporatebanking/v10/PT/aspx/empresas/recenseamento/autenticacao/logon.aspx
  • *corporate.bpn.pt/corporatebanking/v10/PT/aspx/empresas/recenseamento/autenticacao*
  • *caixaebanking.cgd.pt/cebApp//Login_input.action
  • *caixadirecta.cgd.pt*
  • *caixadirecta.cgd.pt/CaixaDirecta/profile.do*
  • *caixaebanking.cgd.pt/cebApp/Login_input.action
  • *caixaebanking.cgd.pt/cebApp/Main.action
  • *credito*gricola.pt*
  • *caonline.credito*gricola.pt/*
  • *finibanco.pt/hbp/BemVindo.jsp?idSessao*
  • *aforronet.igcp.pt/Iimf.AforroNet.UI/Services/Login/Login.aspx
  • *bancopopular.pt/PopularWeb/BancaOnlineREDIR.aspx?VIA=*
  • *bancopopular.pt/App*/servlet/servin*
  • *bancopopular.pt/PopularWeb/BancaOnlineREDIR.aspx?*
  • *bancopopular.pt/AppGBP/servlet/servin*
  • *bbvanetcash.com/BBVACASHMP*home.jsp
  • *bbvanetcash.com/local_tls*

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

  • Banco Popular
  • Banif
  • Cahoot
  • Co-Operativebank
  • First Direct
  • HSBC
  • Microsoft
  • Myspace
  • OSPM
  • Smile
  • Vkontakte

Stolen Information

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

  • http://{BLOCKED}posa.com/zs/gate.php

Other Details

Based on analysis of the codes, it has the following capabilities:

  • It inserts JavaScript (JS) code in the Web pages to retrieve user names, passwords, and security codes used in a two-factor authentication in order to transact from within the website.

Variant Information

This spyware has the following MD5 hashes:

  • c6c04561640ce7f39135ce23e11957ac

It has the following SHA1 hashes:

  • c770278d7342423efde2eee96e9ca53d1dd9bd21

  SOLUTION

Minimum Scan Engine: 8.900
VSAPI PATTERN File: not yet patched

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

Scan your computer with your Trend Micro product and note files detected as TSPY_ZBOT.KXA

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

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 5

Delete this registry key

[ 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\
    • {random}

Step 6

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
%Application Data%\{random1} 
%Application Data%\{random2} 

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_ZBOT.KXA. 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.

Step 8

Scan your computer with your Trend Micro product to delete files detected as TSPY_ZBOT.KXA. 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.