TSPY_BEBLOH.YMNOW


 ALIASES:

Trojan:Win32/Occamy.B (Microsoft) ; Trojan-Ransom.Win32.Foreign.nzde (Kaspersky)

 PLATFORM:

Windows

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

  • Threat Type: Trojan Spy

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

This Trojan Spy connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

567,296 bytes

File Type:

EXE

Memory Resident:

Yes

Installation

This Trojan Spy drops the following copies of itself into the affected system:

  • %Application Data%\{random string}.exe
    (Note: Creation of this copy is triggered when the affected system is shutting down)

(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 drops the following files:

  • "%Application Data%\{random string}.lnk" -> Executes dropped copy
    (Note: Creation of this file is triggered when the affected system is shutting down, appends parameter "-autorun" to executed copy)

(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 processes:

  • %Program Files%\iexplore.exe
  • %Windows%\explorer.exe

(Note: %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

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

  • Uz{random hex}

It injects codes into the following process(es):

  • %Program Files%\iexplore.exe -> Created by the malware
  • %Windows%\explorer.exe -> Created by the malware

(Note: %Program Files% is the Program Files folder, where it usually is C:\Program Files on all Windows operating system versions; C:\Program Files (x86) for 32-bit applications running on Windows 64-bit operating systems.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

Autostart Technique

This Trojan Spy adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random string} = "%Application Data%\{random string}.exe" -autorun
(Note: Creation of this registry entry is triggered when the affected system is shutting down)

Other System Modifications

This Trojan Spy adds the following registry entries:

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

Information Theft

This Trojan Spy gathers the following data:

  • Machine Name
  • OS Information (Version, Product ID, Name, Install Date)
  • Explorer File Information
  • Volume Serial Number
  • Network Configuration (IP address, Socket, Ports)
  • Keyboard Layout
  • Proxy Settings

Stolen Information

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

  • https://BLOCKED}iran.com/auth/?tver={value}&vcmd={value}&cc={value}&hh={hex values}&ipcnf={IP address}+&sckport={value}&pros={value}&keret={value};&email={value}

Other Details

This Trojan Spy 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:

  • https://{BLOCKED}iran.com/auth/
    However, as of this writing, the said site is inaccessible.
  • {Random Generated Domain}.com
  • {Random Generated Domain}.net

It does the following:

  • Updates Itself.
  • Does not execute its malicious routine if it detects it runs on a simulated environment.
    • Running on a VMWare or VirtualBox Environment
    • Process has a sbiedl.dll module
    • Processor name contains the string "Xeon"
    • File path contains the following strings:
      • \sample
      • virus
      • sandbox
  • Deletes cache files for Google Chrome and Mozilla Firefox.
  • This malware does any of the following based on the reply of its C&C server:
    • Sleep and wait for the next reply
    • Receive download URL to download other possibly malicious files

  SOLUTION

Minimum Scan Engine:

9.850

FIRST VSAPI PATTERN FILE:

14.116.05

FIRST VSAPI PATTERN DATE:

08 Mar 2018

VSAPI OPR PATTERN File:

14.117.00

VSAPI OPR PATTERN Date:

09 Mar 2018

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
    • {random string} = "%Application Data%\{random string}.lnk"

Step 5

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\{random key}
    • (Default) = {hex values}

Step 6

Search and delete these files

[ 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.
  • %Application Data%\{random string}.exe
  • %Application Data%\{random string}.lnk

Step 7

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