Analysis by: Adrian Cofreros

ALIASES:

Trojan:Win32/Miuref.F(Microsoft),Trojan.Win32.VBKryjetor.xb(Kaspersky),a variant of Win32/Injector.BOVR trojan(NOD32)

 PLATFORM:

Windows

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Dropped by other malware

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 connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size: 134,560 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 28 Nov 2014
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 drops the following copies of itself into the affected system:

  • %AppDataLocal%\{random folder name 2}\{malware file name}.exe

(Note: %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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:

  • %User Temp%\Cab{random}.tmp - will be deleted afterwards
  • %User Temp%\Tar{random}.tmp - will be deleted afterwards
  • %AppDataLocal%\{random folder name 2}\{GUID}

(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.. %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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:

  • %AppDataLocal%\{random folder name 2}
  • %AppDataLocal%\{random folder name}

(Note: %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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.)

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
{random folder name 2} = "%AppDataLocal%\{random folder name 2}\{malware file name}.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{random folder} = "{regsvr32.exe or %System%\regsvr32.exe} "%AppDataLocal%\{random folder}\{random file name}.dll"" <-Created autostart for component

Other System Modifications

This spyware adds the following registry keys:

HKEY_CURRENT_USER\Software\{name based on random folder}

It adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\{name based on random folder}
{GUID} = "{hex value data}"

Download Routine

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

  • %AppDataLocal%\{random folder}\{random file name}.dll
  • %AppDataLocal%\{random folder}\{random file name}.txt
  • %AppDataLocal%\{random folder}\{random file name}.dat
  • %AppDataLocal%\{random folder}\{random file name}.idx
  • %AppDataLocal%\{random folder}\{random file name}.lck

(Note: %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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.)

Information Theft

This spyware gathers the following data:

  • Operating system version
  • Device information
  • System boot information
  • Windows Management Instrumentation informations(BIOS,Video Controller,Display Configuration)
  • Processor information

Stolen Information

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

  • http://{BLOCKED}9.{BLOCKED}9.112.229

Other Details

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

  • http://www.microsoft.com

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

  • {BLOCKED}7.{BLOCKED}3.6.72:443
  • 1.{BLOCKED}ounter.info:443
  • 2.{BLOCKED}ounter.info:443
  • 3.{BLOCKED}ounter.info:443
  • 4.{BLOCKED}ounter.info:443
  • 5.{BLOCKED}ounter.info:443
  • {BLOCKED}ces24.org:443
  • {BLOCKED}chpage.com:443
  • {BLOCKED}1.{BLOCKED}7.180.154:443

It does the following:

  • Loads/injects itself or other downloaded component(s) to running processes
  • Downloads component/configuration/file
  • Create an autostart registry for the downloaded components
  • Install an extension for Chrome and insert an add-ons for Firefox(this can include click fraud)
  • Receives information for redirection and new connections
  • Notifies infection of machine(GUID and Computer name)

NOTES:

It can receive information of SMTP server(s) to connect, compose and send an email.

The {random folder} can be {random folder name} or {random folder name 2}.

It does not have rootkit capabilities.

It does not exploit any vulnerability.

  SOLUTION

Minimum Scan Engine: 9.700
FIRST VSAPI PATTERN FILE: 11.322.01
FIRST VSAPI PATTERN DATE: 05 Dec 2014
VSAPI OPR PATTERN File: 11.323.00
VSAPI OPR PATTERN Date: 06 Dec 2014

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 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
    • {name based on random folder}

Step 5

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 folder name 2} = "%AppDataLocal%\{random folder name 2}\{malware file name}.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {random folder} = "{regsvr32.exe or %System%\regsvr32.exe} "%AppDataLocal%\{random folder}\{random file name}.dll""

Step 6

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.
  • %AppDataLocal%\{random folder name 2}
  • %AppDataLocal%\{random folder name}

Step 7

Search and delete this file

[ 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.
  • %User Temp%\Cab{random}.tmp
  • %User Temp%\Tar{random}.tmp

Step 8

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