Analysis by: Christopher Daniel So

ALIASES:

PWS:Win32/Zbot.gen!Y (Microsoft), Downloader.Spy.ZBot (Ikarus)

 PLATFORM:

Windows 2000, XP, Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Once users access any of the monitored sites, it starts logging keystrokes. It attempts to steal information, such as user names and passwords, used when logging into certain banking or finance-related websites.

  TECHNICAL DETAILS

File Size: 155,136 bytes
File Type: PE
Memory Resident: Yes
Initial Samples Received Date: 06 Dec 2010
Payload: Drops files, Downloads files

Infection Points

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

  • http://{BLOCKED}ler.com/images/stories/fruit/backup/dealer.exe

Installation

This Trojan drops the following files:

  • %User Profile%\Application Data\{random1}\{random file name 1}.exe
  • %User Profile%\Application Data\{random2}\{random file name 2}

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

It creates the following folders:

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

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

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

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

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
{random CLSID} = "%User Profile%\Application Data\{random1}\{random file name 1}.exe"

Other System Modifications

This Trojan adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\Microsoft\
{random key}

Information Theft

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

  • http://{BLOCKED}egroup.com/cfg12.bin
  • http://{BLOCKED}ler.com/images/stories/fruit/backup/dealer.bin

Once users access any of the monitored sites, it starts logging keystrokes.

It 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:

  • https://www.gruposantander.es/*
  • @*/login.osmp.ru/*
  • @*/atl.osmp.ru/*

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

Note that the contents of the file, hence the list of websites to monitor, may change any time.

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

  • Santander
  • OSMP

Stolen Information

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

  • http://{BLOCKED}ler.com/images/stories/fruit/backup/dealer.php

Other Details

This Trojan did not exhibit backdoor routines during testing.

Variant Information

This Trojan has the following MD5 hashes:

  • ac58c26612def1c451361001006abbfd

It has the following SHA1 hashes:

  • fe5d494383b50a01e87549d62cb2528b627ef4a3

  SOLUTION

Minimum Scan Engine: 8.900
VSAPI PATTERN File: 7.682.07
VSAPI PATTERN Date: 06 Dec 2010
VSAPI PATTERN Date: 12/6/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

Identify and delete files detected as TSPY_ZBOT.CDF using either the Startup Disk or 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}=%User Profile%\Application Data\{random1}\{random file name 1}.exe

Step 4

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 key}

Step 5

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.
  • %User Profile%\Application Data\{random1}
  • %User Profile%\Application Data\{random2}

    Step 6

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