TSPY_BEBLOH.MJN

 Analysis by: Sammy Chua

 ALIASES:

Trojan.Bebloh (Symantec); Troj/Shiotob-J (Sophos); TrojanSpy:Win32/Shiotob.B (Microsoft);

 PLATFORM:

Windows

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

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 then deletes itself afterward.

It does not have any propagation routine.

It does not have any backdoor routine.

It connects to certain websites to send and receive information. However, as of this writing, the said sites are inaccessible. It gathers information and reports it to its servers.

  TECHNICAL DETAILS

File Size:

226,267 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

21 Dec 2015

Payload:

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 executes then deletes itself afterward.

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

  • Global\Uz{hex values}

It injects codes into the following process(es):

  • explorer.exe

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\{random key}

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{GUID}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\{random key}
{random value} = "0"

HKEY_CURRENT_USER\Software\{random key}
(Default) = "{hex values}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{GUID}
Flags = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Ext\
Settings\{GUID}
Version = "*"

Propagation

This spyware does not have any propagation routine.

Backdoor Routine

This spyware does not have any backdoor routine.

Other Details

This spyware connects to the following URL(s) to check for an Internet connection:

  • www.google.com

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

  • {Pseudo-random domain}.net/itc/
  • {Pseudo-random domain}.com/itc/

It does the following:

  • It does not proceed to its malicious routine if it detects that it is running in a VMWare environment
  • It deletes the cache files of Google Chrome and Mozilla Firefox
  • It injects code and hooks the APIs of the following processes to monitor user's online activities and steal sensitive information, such as user names and passwords:
    • iexplore.exe
    • explorer.exe
    • myie.exe
    • firefox.exe
    • ftpte.exe
    • coreftp.exe
    • filezilla.exe
    • TOTALCMD.EXE
    • cftp.exe
    • FTPVoyager.exe
    • SmartFTP.exe
    • WinSCP.exe
    • chrome.exe
    • opera.exe

However, as of this writing, the said sites are inaccessible.

It gathers the following information and reports it to its servers:

  • Machine Name
  • OS Version
  • Product ID
  • Install Date
  • Internet Explorer File Version
  • Volume Serial Number
  • Internal IP Address
  • Email addresses from Windows Address Book (WAB)
  • FTP credentials

NOTES:

This spyware looks for the window class name Shell_TrayWnd and then opens the process associated with the said window to execute its code. It does this routine to inject its code to explorer.exe, avoiding HIPS detection.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

12.226.06

FIRST VSAPI PATTERN DATE:

22 Dec 2015

VSAPI OPR PATTERN File:

12.227.00

VSAPI OPR PATTERN Date:

23 Dec 2015

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\{random key}
    • (Default) = "{hex values}"
  • In HKEY_CURRENT_USER\Software\{random key}
    • {random value} = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{GUID}
    • Flags = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Settings\{GUID}
    • Version = "*"

Step 5

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

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.

Step 7

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