TSPY_MINOCDO.A

 Analysis by: Anthony Joe Melgarejo

 ALIASES:

Gen:Trojan.Heur.TP.enW@b06EUGl (Bitdefender)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Dropped by other malware, Downloaded from the Internet


This malware intercepts network traffic accessing Facebook and redirects it to a fraudulent page that will lead users in entering their credit card information. Users affected by this malware may find their financial accounts compromised.

To get a one-glance comprehensive view of the behavior of this Spyware, refer to the Threat Diagram shown below.

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 modifies the affected system's HOSTS files. This prevents users from accessing certain websites.

It retrieves specific information from the affected system.

It connects to certain websites to send and receive information.

  TECHNICAL DETAILS

File Size:

1,119,232 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

12 Mar 2013

Payload:

Steals information, Connects to URLs/IPs, Drops files

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 adds the following folders:

  • {OS depended directory}\cddnivot

It drops the following component file(s):

  • {OS dependent directory}\cddnivot\cfg - encrypted config file
  • {OS dependent directory}\cddnivot\etc
  • {OS dependent directory}\cddnivot\ihst
  • {OS dependent directory}\cddnivot\lck
  • {OS dependent directory}\cddnivot\por
  • {OS dependent directory}\cddnivot\rng
  • {OS dependent directory}\cddnivot\run
  • {OS dependent directory}\cddnivot\tst

It drops the following copies of itself into the affected system:

  • {OS dependent directory}\capbepfn.exe
  • {OS dependent directory}\azlwpsbcwya.exe
  • %User Temp%\i5wfyrpl{random characters}.exe
  • %Temp%\i5wfyrpl{random characters}.exe - for Windows OS other than Vista and 7

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.. %Temp% is the Windows Temporary folder, which is usually C:\Windows\Temp.)

Autostart Technique

This spyware registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote
Type = "110"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote
Start = "2"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote
ErrorControl = "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote
ImagePath = "%System%\capbepfn.exe"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote
DisplayName = "UserMode Protection PNRP Services Machine Remote"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote
ObjectName = "LocalSystem"

It adds the following registry entries to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Browser Studio WWAN Installer Location = "%System%\capbepfn.exe"

It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\UserMode Protection PNRP Services Machine Remote

It drops the following file(s) in the Windows Startup folder to enable its automatic execution at every system startup:

  • %User Startup%\capbepfn.exe

(Note: %User Startup% is the current user's Startup folder, which is usually C:\Windows\Profiles\{user name}\Start Menu\Programs\Startup on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Start Menu\Programs\Startup on Windows NT, and C:\Documents and Settings\{User name}\Start Menu\Programs\Startup.)

HOSTS File Modification

This spyware modifies the affected system's HOSTS files to prevent a user from accessing the following websites:

  • 127.0.0.1 www.facebook.com
  • 127.0.0.1 facebook.com

Information Theft

This spyware s configuration file contains the following information:

  • Other URLs to access
  • URL to Intercept
  • URL for Redirection

It retrieves the following information from the affected system:

  • CPU Information
  • Notification of the affected system's successful C&C server connection

Stolen Information

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

  • http://{BLOCKED}ernothing.net/fb/?session={session number}

Other Details

This spyware connects to the following website to send and receive information:

  • http://{BLOCKED}cclub-grup.com

NOTES:

Where {OS dependent directory} can be:

  • %System% - for Windows OS other than Vista and 7
  • %AppDataLocal% - for Windows Vista and 7

In performs DNS Query to the following URLs just in case the URLs stated above are inaccessible:

  • http://{BLOCKED}tarimagine.com
  • http://{BLOCKED}ince.net
  • http://{BLOCKED}ce.net
  • http://{BLOCKED}age.net
  • http://{BLOCKED}ge.net
  • http://{BLOCKED}oice.net
  • http://{BLOCKED}ice.net
  • http://{BLOCKED}ive.net
  • http://{BLOCKED}ve.net
  • http://{BLOCKED}ight.net
  • http://{BLOCKED}ght.net
  • http://{BLOCKED}ey.net
  • http://{BLOCKED}ice.net
  • http://{BLOCKED}oice.net
  • http://{BLOCKED}ve.net
  • http://{BLOCKED}ive.net
  • http://{BLOCKED}ght.net
  • http://{BLOCKED}ight.net
  • http://{BLOCKED}ey.net
  • http://{BLOCKED}hey.net
  • http://{BLOCKED}ice.net
  • http://{BLOCKED}oice.net
  • http://{BLOCKED}ve.net
  • http://{BLOCKED}ive.net
  • http://{BLOCKED}eight.net
  • http://{BLOCKED}ight.net
  • http://{BLOCKED}ey.net
  • http://{BLOCKED}hey.net
  • http://{BLOCKED}oice.net
  • http://{BLOCKED}tio.com
  • http://{BLOCKED}ojo.com
  • http://{BLOCKED}tol.com
  • http://{BLOCKED}ia.com
  • http://{BLOCKED}ereforyounow.com
  • http://{BLOCKED}ter.com
  • http://{BLOCKED}eearly.net

It redirects network traffic accessing http://facebook.com to http://{BLOCKED}ernothing.net/fb which is displayed in the address bar as http://facebook.com/{BLOCKED}nge disguised as a Facebook Security page where unsuspecting users may enter their Credit Card Information.

  SOLUTION

Minimum Scan Engine:

9.300

FIRST VSAPI PATTERN FILE:

9.826.02

FIRST VSAPI PATTERN DATE:

30 Mar 2013

VSAPI OPR PATTERN File:

9.827.00

VSAPI OPR PATTERN Date:

30 Mar 2013

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

Restart in Safe Mode

[ Learn More ]

Step 3

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • UserMode Protection PNRP Services Machine Remote

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • Browser Studio WWAN Installer Location = "%System%\capbepfn.exe"

Step 5

Remove these strings added by the malware/grayware/spyware in the HOSTS file

[ Learn More ]
    • 127.0.0.1 www.facebook.com
    • 127.0.0.1 facebook.com
"

Step 6

Search and delete this folder

[ 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.
  • {OS dependent directory}\cddnivot

Step 7

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