TSPY_ZBOT.KXC

 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:

146,432 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

15 Sep 2010

Payload:

Downloads files, Drops files

Infection Points

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

  • http://{BLOCKED}8.ru/www/http/https.exe

Installation

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:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)

It 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:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)

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

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}8.ru/www/http/https.xml

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:

  • !*.microsoft.com/*https://www.gruposantander.es/*
  • https://*barclays.co.uk*
  • https://www.targobank.de/de/banque/situation_financiere.cgi*
  • https://www.targobank.de/de/online-banking/login.cgi*
  • *net24.montepio.pt/Net24-Web/func/login/*Login*
  • https://net24.montepio.pt/Net24-Web/func/homePages/executa.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/ctaOrdemMovimentosResultadoDC57.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/posicaoIntegrada.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/ctaOrdemSaldosResultado.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/pedidoDownloadMovimentos.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/subscricaoDownloadMovimentos.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasInternacionais.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasInternacionaisSeleccao.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasInternacionaisValidacao.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasInternacionaisResultado.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasContasInterbancarias.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasContasInterbancariasValidacao.jsp*
  • https://net24.montepio.pt/Net24-Web/func/transferencias/transferenciasContasInterbancariasResultado.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/ctaOrdemSaldos.jsp*
  • https://net24.montepio.pt/Net24-Web/func/contasordem/ctaOrdemMovimentosNRegistos.jsp*
  • http://www.hsbc.co.uk/1/2/personal/internet-banking/popups/business-internet-banking-rapport*
  • *business.hsbc.co.uk*
  • *business.hsbc.co.uk/1/2/online-services/accounts/account-list;jsessionid=*
  • *business.hsbc.co.uk/1/2/online-services/payments-home;jsessionid=*
  • *business.hsbc.co.uk/1/2/online-services/payments-home/bill-payment;jsessionid=*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_beneficiarylist*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_choose_beneficiary_type*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_non_majorben_input*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_verify_bill_payment_minorben_continue*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_confirm_Payment_bill*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_force*
  • *business.hsbc.co.uk/1/2/!ut/p/kcxml/*cmd_account_list_more_details*
  • *business.hsbc.co.uk/1/2/online-services/accounts/transactions;jsessionid=*
  • *business.hsbc.co.uk*cmd_further_transactions_search*
  • */privatkunden/*
  • */module/*
  • */firmenkunden/*
  • */privatebanking/*
  • *.de/portal/portal/*
  • https://*commerzbanking.de*
  • https://caixaebanking.cgd.pt*
  • https://caixaebanking.cgd.pt/cebApp/ValoresAguardarCobranca.action*
  • https://caixaebanking.cgd.pt/cebApp/Login_input.action*
  • https://caixaebanking.cgd.pt/cebApp/Login_execute.action*
  • https://caixaebanking.cgd.pt/cebApp/Main.action*
  • https://caixaebanking.cgd.pt/cebApp/PosicaoGlobal.action*
  • https://caixaebanking.cgd.pt/cebApp/TransferenciaInterna.actio*
  • https://caixaebanking.cgd.pt/cebApp/ConfirmaTransferenciaInterna.action*
  • https://caixaebanking.cgd.pt/cebApp/ExecTransferenciaInterna.action*
  • https://caixaebanking.cgd.pt/cebApp/Movimentos.action*
  • https://caixaebanking.cgd.pt/cebApp/Saldo.action*
  • https://caixaebanking.cgd.pt/cebApp/TransferenciaInterbancaria.action*
  • https://finanzportal.fiducia.de*
  • https://banking.*/cgi/anfang.cgi*
  • https://banking.*/cgi/login.cgi*
  • https://banking.*/cgi/finanzstatus.cgi*
  • https://banking.*/cgi/sepauebereintrag.cgi*
  • https://banking.*/cgi/sepaueberfrage.cgi*
  • https://banking.*/cgi/sepaueberweisung.cgi*
  • https://banking.*/cgi/_sepaueberweisung.cgi*
  • https://banking.*/cgi/euuebereintrag.cgi*
  • https://banking.*/cgi/euueberfrage.cgi*
  • https://banking.*/cgi/euueberweisung.cgi*
  • https://banking.*/cgi/_euueberweisung.cgi*
  • https://banking.*/cgi/umswahl.cgi*
  • https://banking.*/cgi/uebereintrag.cgi*
  • https://banking.*/cgi/umsatz.cgi*
  • https://banking.*/cgi/kontodetails.cgi*
  • *hsbc.co.uk/1/2/personal/internet-banking;jsessionid=*
  • *hsbc.co.uk/1/2/personal/internet-banking/payments;jsessionid=*
  • *hsbc.co.uk*
  • *hsbc.co.uk/1/2/*cmd_OnMakePaymtToThirdPartyCommand*
  • *hsbc.co.uk/1/2/*cmd_InitialThirdPartyPaymentCommand*
  • *hsbc.co.uk/1/2/*cmd_NewThirdPartyPaymentCommand*
  • *hsbc.co.uk/1/2/personal/internet-banking/recent-transaction;jsessionid*
  • *hsbc.co.uk/1/2/personal/internet-banking/transfer;jsessionid=*
  • *hsbc.co.uk/1/2/*cmd_OnMakeTransferCommand*
  • *hsbc.co.uk/1/2/*cmd_OnMakeTransferVerifyCommand*
  • *hsbc.co.uk/1/2/*OnSavingsInformationCommand*
  • *hsbc.co.uk/1/2/*cmd_OnMakeTransferConfirmCommand*
  • *hsbc.co.uk/1/2/HSBCINTEGRATION/CAM*
  • *cmd_DownloadBackToTransactionHistoryCommand*
  • *cmd_OnSelectDateThsTransactionsCommand*

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

  • ANZ
  • Barclays
  • Fiducia
  • HSBC
  • SEB
  • Santander
  • Sparkasse

Stolen Information

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

  • http://{BLOCKED}8.ru/www/http/www.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:

  • 7545a48d54853f32cfae51be9796e4bb

It has the following SHA1 hashes:

  • 6df74c06e9227678ebcf7014d7d86cab46084748

  SOLUTION

Minimum Scan Engine:

8.900

VSAPI PATTERN File:

not yet patched

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

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