TSPY_QAKBOT.SMG

 Analysis by: Cris Nowell Pantanilla

 PLATFORM:

Windows 98, ME, NT, 2000, XP, Server 2003

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 SYSTEM IMPACT RATING:
 INFORMATION EXPOSURE:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

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

  TECHNICAL DETAILS

File Size:

Varies

File Type:

EXE

Memory Resident:

No

Payload:

Steals information

Arrival Details

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

  • http://postmetoday.ru/exe8k/pump.exe

Installation

This Trojan drops the following files:

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

(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 running in the affected system's memory:

  • EXPLORER.EXE
  • WINLOGON.EXE

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:\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.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{E2A0BCA9-67BD-5E2A-83A2-54BE8F47D434} = "%Application Data%\{random1}\{random}.exe"

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft
{random} =  

Information Theft

This Trojan accesses the following site to download its configuration file:

  • http://lisfiscrisgqwu.com/abauriyfg/beurwygT.img
  • http://nasnedofweiggyt.com/UEOI/MWURT.img
  • http://pogoaliceadvance.com/qweiyt/amadeo.img

The downloaded file contains information where the malware can download an updated copy of itself, and where to send its stolen data.

It targets the following websites:

  • *EBC_EBC1961/EBC_NEC/RSAEncrypt.js*
  • *ebc_ebc1961/EBC_NEC/RSAEncrypt.js*
  • http*.53.com*
  • http*.53.com*RSAScript.js*
  • http*.webcashmanager.com*Login*
  • http*.webcashmgmt.com*Login*
  • http*/phcp/econnection/login/js/login.htm*
  • http*/phcp/servlet*Login*
  • http*/wcmfd/*Login*
  • *EBC_EBC1961/EBC_NEC/RSAEncrypt.js*
  • *ebc_ebc1961/EBC_NEC/RSAEncrypt.js*
  • http*.53.com*
  • http*.53.com*RSAScript.js*
  • http*.webcashmanager.com*Login*
  • http*.webcashmgmt.com*Login*
  • http*/phcp/econnection/login/js/login.htm*
  • http*/phcp/servlet*Login*
  • http*/wcmfd/*Login*
  • http*/wcmfd/js/LoginCSS.js*
  • http*bolb.associatedbank.com*
  • http*bolb.associatedbank.com/js/jquery.js*
  • http*business-eb.ibanking-services.com*general.js*
  • http*business-eb.ibanking-services.com/K1/*login*jsp*
  • http*ebanking-services.com/*
  • http*ebanking-services.com/AUTH/WebResource.axd*
  • http*scripts/injScp.js*
  • http*sso.uboc.com/js/ub-common.js*
  • http*sso.uboc.com/obc/forms/login.fcc*
  • http*treasury.pncbank.com/portal/esec/login.ht*
  • http*treasury.pncbank.com/portal/service/js/loginproc.js*
  • http://eigach.ru/script.js
  • https*/pub/html/login.html*
  • https://*.web-access.com*welcome.cgi*
  • https://*/cmserver*verify.cfm*
  • https://*/onlineserv/CM/*
  • https://*/onlineserv/CM/std/js/en/disofactor.js*
  • https://*blilk.com/Core/Authentication/MFA*.aspx*
  • https://*blilk.com/include/Utils.js*
  • https://*cashman*
  • https://*Cashman*
  • https://*cmserver/include/ui/uiScripts.js*
  • https://*login_ui_includes/login_brandScripts.js*
  • https://a248.e.akamai.net/6/248/3583/000/wellsoffice.wellsfargo.com/ceoportal/framework/skins/defacore-min.js*
  • https://access.jpmorgan.com/appmanager/jpmalogonportal/jpmalogonhome*
  • https://authmaster.nationalcity.com/tmgmt/js/bharosa_uio.js*
  • https://authmaster.nationalcity.com/tmgmt/wslogin.jsp*
  • https://businessaccess.citibank.citigroup.com/cbusol/do/htmlserver/js/env.js*
  • https://businessaccess.citibank.citigroup.com/cbusol/signon.do*
  • https://businessonline.huntington.com/BOLHome/BusinessOnlineLogin.aspx*
  • https://businessonline.huntington.com/common/scripts/common.js*
  • https://businessonline.tdbank.com/corporatebankingweb/core/login.aspx*
  • https://businessonline.tdbank.com/CorporateBankingWeb/VAM/2_0_2/VAM.js*
  • https://cbs.firstcitizens.com/cb/jsp-ns/inc/auth/fp.js*
  • https://cbs.firstcitizens.com/cb/servlet/cb/loginfcbnc.jsp*
  • https://chsec.wellsfargo.com/login/login.fcc*
  • https://cm.netteller.com/login2008/Authentication/Views/Login.aspx*
  • https://cm.netteller.com/login2008/Scripts/NetTellerCorners.js*
  • https://ecash.*
  • https://olb.gnty.com/Login/Username.aspx*
  • https://premierview.membersunited.org/Core/login.aspx*
  • https://premierview.membersunited.org/WebResource.axd*
  • https://securentrycorp.*/Authentication/lib.js*
  • https://securentrycorp.*/Authentication/zbf/k/*
  • https://wellsoffice.wellsfargo.com/ceoportal/signon/index.jsp*

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

  • Citibank
  • Fifth Third
  • National City
  • PNC
  • Union Bank of California
  • Wells Fargo

Stolen Information

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

  • http://pogoaliceadvance.com/agregatr/weiry.php

Other Details

This Trojan did not exhibit backdoor routines during testing.

Variant Information

This Trojan has the following MD5 hashes:

  • 660aae712adc5e1d23d2500a13b4cfd
  • 28e2b2498484b93a2dd9896e7f89a0e6
  • 3471018cfbd0f17899258e2b62a1dd61
  • a86678a1bac1dcb5b0cfd2cf61f259f0
  • 067066b17486d73e6f2572eb79b1391c
  • ada25b9107cc570a52b7f2b9751e5ab5
  • 015f418d4a61986ba043af0c739cdd79
  • bd833711e8c494442dbdcfaef3c01824
  • 1ccf6e6db7ea161120304e4ec47d2ffe
  • cb5dec936040fa66b4b06bd3fd90041c
  • 1f853bc79b37e9d2de5650f22d0d5be1
  • ef07ada306f7bcb3b686e264611d07a0

It has the following SHA1 hashes:

  • 32f1410fe3080943f346b2592f0d0c8cc2392f69
  • d0553363dce4318347af0f16578e2b9ef1bb6f30
  • 6f127ef63de73d10655d1b7519a1a79a1df4fb01
  • f0e420b27d2c7e5f6ae3310d5396a26ba6210df3
  • 6b461c5d6e31e870dd560c8f4ef0cb07bf95d127
  • 3fe197b97ec34235584d48e5d4432892ee0ad66f
  • 049e07532ab89253a5102ad56e3fdf6c7f30885c
  • 2367e43b15189e97d91ace9d43e9649d9f94a711
  • 378751adcc5656286ad7fda07e6cdd88795833ea
  • db4bac6c6d557d71ab30155c3180c5aff7ebc0f3
  • f89494e328ad48fec9ab1a94d6e42168fc99d8b2
  • e7167adcce8535cbcd881902b417fa7acd762a27

  SOLUTION

Minimum Scan Engine:

8.900

VSAPI PATTERN File:

7.152.08

VSAPI PATTERN Date:

07 May 2010

VSAPI PATTERN Date:

5/7/2010 12:00:00 AM

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

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 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
    • {6533FE07-A878-C443-80CF-CF8FABB32F44} = %Application Data%\{random1}\{random}.exe

Step 4

Search and delete this folder

[ 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 5

Search and delete these files

[ Learn More ]
There may be some component files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.

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

Step 6

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