TROJ_ZCLICK.D

 Analysis by: Mark Joseph Manahan

 ALIASES:

Troj/Zbot-GZV (Sophos) ,Trojan horse Zbot.DUZ (AVG) ,W32/Generic!tr (Fortinet) ,W32/Zbot.OP.gen!Eldorado (generic, not disinfectable) (Fprot) ,Virus.Win32.Zbot (Ikarus) ,HEUR:Trojan.Win32.Generic (Kaspersky) ,PWS:Win32/Zbot.gen!AP (Microsoft) ,PWSZbot-FAL!6DA8EC13EE65 (McAfee) ,a variant of Win32/Kryptik.BPLU trojan (Eset) ,Trojan Horse (Symantec) ,Trojan.Win32.Zbot.aba (v) (Sunbelt)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware


This spyware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

  TECHNICAL DETAILS

File Size:

218,879 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

18 Mar 2014

Payload:

Displays windows, Connects to URLs/IPs

Arrival Details

This spyware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This spyware drops the following copies of itself into the affected system:

  • %System%\{random filename 2}.exe
  • %Application Data%\{random foldername}\{random filename}.exe

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.. %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 drops the following files:

  • %Tasks%\Security Center Update - {number}.job

Autostart Technique

This spyware registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SecurityCenterServer{number}
ImagePath = "%System%\{random filename 2}.exe -service %Application Data%\{random foldername}\{random filename}.exe"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
{random entry} = "%Application Data%\{random folder name}\{random filename}.exe"

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
{random entry} = "%Application Data%\{random folder name}\{random filename}.exe"

Other System Modifications

This spyware adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\ELowcQ

HKEY_LOCAL_MACHINE\SOFTWARE\{random key}

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SecurityCenterServer{number}

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\{random key}
License = "444"

Download Routine

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

  • http://{BLOCKED}n-pl1.com/{uri}/{hash}
  • http://{BLOCKED}-watr.biz/{uri}/{hash}
  • http://{BLOCKED}r1.net/{uri}/{hash}

Information Theft

This spyware s configuration file contains the following information:

  • Search URL (referrer url), e.g., http://{BLOCKED}nameall.com
  • Update URL (new C&C), e.g., http://{BLOCKED}i.com, http://{BLOCKED}ferr.com
  • Click URL (redirection url source), e.g., http://{BLOCKED}t.com/b/pkg/{random alphanumeric}
  • Mutex Name
  • Flash URL

NOTES:

It hooks the following APIs:

  • PlaySoundA
  • PlaySoundW
  • WaveOutWrite
  • MessageBoxA
  • MessageBoxW
  • MessageBoxExA
  • MessageBoxExW
  • MessageBoxIndirectA
  • MessageBoxIndirectW
  • RegCloseKey
  • RegEnumKeyExA
  • RegEnumKeyExW
  • RegEnumValueA
  • RegEnumValueW
  • RegOpenKeyA
  • RegOpenKeyW
  • RegOpenKeyExA
  • RegOpenKeyExW
  • RegCreateKeyA
  • RegCreateKeyW
  • RegCreateKeyExA
  • RegCreateKeyExW
  • RegQueryInfoKeyA
  • RegQueryInfoKeyW
  • RegQueryValueExA
  • RegQueryValueExW
  • GetCursorInfo
  • GetMessagePos
  • GetCursorPos
  • SetCursorPos
  • GetMessageA
  • GetMessageW
  • PeekMessageA
  • PeekMessageW

It displays a full screen window with loaded URLs. This window is focused when a hooked API is used. When this window is active, it performs various mouse movements and scrolling.

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.672.01

FIRST VSAPI PATTERN DATE:

18 Mar 2014

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 and note files detected as TROJ_ZCLICK.D

Step 3

Restart in Safe Mode

[ Learn More ]

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_LOCAL_MACHINE\SOFTWARE
    • ELowcQ
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • {random key}
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • SecurityCenterServer{number}

Step 5

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • {random entry} = "%Application Data%\{random folder name}\{random filename}.exe"
  • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • {random entry} = "%Application Data%\{random folder name}\{random filename}.exe"

Step 6

Search and delete this file

[ Learn More ]
There may be some 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.
  • %Tasks%\Security Center Update - {number}.job

Step 7

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