TSPY_ZBOT.YUYATM

 Analysis by: Cris Nowell Pantanilla

 ALIASES:

PWS:Win32/Zbot (Microsoft), Infostealer.Banker.C (Symantec)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 REPORTED INFECTION:

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet


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.

It executes commands from a remote malicious user, effectively compromising the affected system. It connects to a website to send and receive information.

It modifies the Internet Explorer Zone Settings.

It executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

It retrieves specific information from the affected system.

  TECHNICAL DETAILS

File Size:

299,520 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

03 Nov 2016

Payload:

Steals information, Downloads files, Executes files

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:

  • %Application Data%\Roaming\{random 1}\{random 2}.exe

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It creates the following folders:

  • %Application Data%\Roaming\{random 1}

(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It adds the following mutexes to ensure that only one of its copies runs at any one time:

  • qazwsxedc

It injects codes into the following process(es):

  • explorer.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
{CLSID} = "%Application Data%\Roaming\{random 1}\{random 2}.exe"

Backdoor Routine

This spyware executes the following commands from a remote malicious user:

  • Open Internet Explorer
  • Download and Execute files
  • Terminate self
  • Inactivate self for a specified time
  • Communicate with C&C

It connects to the following websites to send and receive information:

  • w.{BLOCKED}lex.me:443
  • m.{BLOCKED}lex.me:533

Web Browser Home Page and Search Page Modification

This spyware modifies the Internet Explorer Zone Settings.

Download Routine

This spyware saves the files it downloads using the following names:

  • %User Temp%\{random}.exe

(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)

It then executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

Information Theft

This spyware retrieves the following information from the affected system:

  • Computer Name
  • Operating System
  • Processor Information
  • Number of Cores
  • Memory Information

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.876.05

FIRST VSAPI PATTERN DATE:

03 Nov 2016

VSAPI OPR PATTERN File:

12.877.00

VSAPI OPR PATTERN Date:

04 Nov 2016

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

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

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
    • {CLSID} = "%Application Data%\Roaming\{random 1}\{random 2}.exe"

Step 5

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%\Roaming\{random 1}

Step 6

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

Reset Internet security settings

[ Learn More ]


Did this description help? Tell us how we did.