TSPY_BEBLOH.YMNPH
Trojan:Win32/Occamy.C (Microsoft), Trojan.Win32.Yakes.wiyj (Kaspersky)
Windows
Threat Type: Trojan Spy
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
Downloaded from the Internet, Dropped by other malware
This Trojan Spy arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It connects to certain websites to send and receive information. It gathers information and reports it to its servers.
TECHNICAL DETAILS
328,704 bytes
EXE
Yes
16 May 2018
Drops files, Connects to URLs/IPs, Collects system information
Arrival Details
This Trojan Spy 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 Spy drops the following copies of itself into the affected system:
- %Application Data%\{random string}.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 adds the following processes:
- %Windows%\explorer.exe
- %Program Files%\iexplore.exe
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %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.)
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):
- its created explorer.exe
- its created iexplore.exe
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}.lnk"
(Note: Creation of this registry entry is triggered when the affected system is shutting down)
It drops the following files:
- "%Application Data%\{random string}.lnk" ? points to the copy
(Note: Creation of this file is triggered when the affected system is shutting down, appends parameter "-autorun" or "-update" 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.)
Other System Modifications
This Trojan Spy adds the following registry keys:
HKEY_CURRENT_USER\Software\{random key}
It adds the following registry entries:
HKEY_CURRENT_USER\Software\{random key}
(Default) = {hex values}
Stolen Information
This Trojan Spy sends the gathered information via HTTP POST to the following URL:
- http://{BLOCKED}iret.com/auth/?tver=1526357780&vcmd={value}&cc=0&hh=00000000&ipcnf={IP}+&sckport={port}&pros={value}&keret={value};&email={value}"
Other Details
This Trojan Spy connects to the following URL(s) to check for an Internet connection:
- http://www.google.com:443
It connects to the following website to send and receive information:
- http://{Random Generated Domain}.com:443
- http://{Random Generated Domain}.net:443
- http://{BLOCKED}iret.com:443
It does the following:
- It does not proceed to its malicious routine if:
- It detects that it is running in a VMWare environment.
- sbiedll.dll is one of its modules
- Its name is one of the following:
- \SAMPLE
- VIRUS
- SANDBOX
- It updates itself.
- It deletes the cache files of Google Chrome and Mozilla Firefox.
- This malware does any of the following depending on the reply from the C&C:
- Sleep and wait for next reply
- Receive download URL to download other possibly malicious files
It gathers the following information and reports it to its servers:
- Machine Name
- OS Information (Version, Product ID, Name, Install Date)
- Explorer File Information
- Volume Serial Number
- Network Configuration (IP address, Socket, Ports)
- Keyboard Layout
SOLUTION
9.850
14.252.04
15 May 2018
14.253.00
16 May 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
Step 4
Delete this registry key
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}
- (Default) = {hex values}
Step 5
Delete this registry value
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"
- {random string} = "%Application Data%\{random string}.lnk"
Step 6
Search and delete these files
- %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.YMNPH. 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.