TSPY_ZBOT.XXUBF

 Analysis by: Janus Agcaoili

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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

It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

306,688 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

05 Aug 2016

Arrival Details

This Trojan 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 Trojan drops a copy of itself in the following folders using different file names:

  • %Application Data%\{existing folder 1}\{existing folder 2}\{existing folder 3}\{random file name 3}.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.)

Other System Modifications

This Trojan adds the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
{random key 1}

HKEY_CURRENT_USER\Software\Microsoft\
{random key 2}

HKEY_CURRENT_USER\Software\Microsoft\
{random key 3}

HKEY_CURRENT_USER\Software\Microsoft\
{random key 4}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
{random key 1}
{random value} = "{hex data}"

Dropping Routine

This Trojan drops the following files:

  • %Application Data%\{existing folder 1}\{existing folder 2}\{existing folder 3}\{random file name 1}.{random extension 1}
  • %Application Data%\{existing folder 1}\{existing folder 2}\{existing folder 3}\{random file name 2}.{random extension 2}
  • %User Temp%\upd{random}.bat <- used to delete initial copy, deleted afterwards

(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.. %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.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • https://{BLOCKED}brokerege.org/1myluuwbicezebaxoohug.dat
  • https://{BLOCKED}brokerege.org/{random path}

It deletes itself after execution.

  SOLUTION

Minimum Scan Engine:

9.8

FIRST VSAPI PATTERN FILE:

12.694.08

FIRST VSAPI PATTERN DATE:

05 Aug 2016

VSAPI OPR PATTERN File:

12.695.00

VSAPI OPR PATTERN Date:

06 Aug 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

The following created files/folders/registry keys/registry entries cannot be identified by the user since there are no reference values in the created key. The only way it can be identified is by comparing the present system information with a backup. Note that the said components do not have to be deleted since it won't be harmful to the system.

  • %Application Data%\{existing folder 1}\{existing folder 2}\{existing folder 3}\{random file name 1}.{random extension 1}
  • %Application Data%\{existing folder 1}\{existing folder 2}\{existing folder 3}\{random file name 2}.{random extension 2}
  • HKEY_CURRENT_USER\Software\Microsoft\{random key 1}
  • HKEY_CURRENT_USER\Software\Microsoft\{random key 2}
  • HKEY_CURRENT_USER\Software\Microsoft\{random key 3}
  • HKEY_CURRENT_USER\Software\Microsoft\{random key 4}

Step 5

Search and delete these components

[ Learn More ]
There may be some components 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.
  • %User Temp%\upd{random}.bat

Step 6

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