TSPY_FAREIT.DPW

 Analysis by: Nikko Tamana

 ALIASES:

Trojan-PSW.Win32.Tepfer.iagv (Kaspersky), PWS:Win32/Fareit.gen!C (Microsoft)

 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:

  • In the wild: Yes

  OVERVIEW


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 executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

  TECHNICAL DETAILS

File Size:

130,560 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

08 Apr 2013

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.

Other System Modifications

This spyware adds the following registry entries:

HKEY_CURRENT_USER\Software\WinRAR
HWID = "{random value}"

HKEY_CURRENT_USER\Software\WinRAR
Client Hash = "{random value}"

HKEY_CURRENT_USER\Software\WinRAR
{random hex values 1} = {random value}

HKEY_CURRENT_USER\Software\WinRAR
{random hex values 2} = {random value}

Download Routine

This spyware accesses the following websites to download files:

  • http://www.{BLOCKED}larwebsites. com/D5cEhB.exe
  • http://{BLOCKED}8.sites.{BLOCKED}steredsite.com/YwAeL.exe
  • http://{BLOCKED}yer-ingenieurdienstleistungen.de/hu4.exe
  • http://{BLOCKED}9.{BLOCKED}ting61.1blu.de/MS2LLnfS.exe

It saves the files it downloads using the following names:

  • %User Temp%\{random numbers}.exe

(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.)

It then executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

Other Details

This spyware connects to the following possibly malicious URL:

  • http://{BLOCKED}.{BLOCKED}.70.32:8080/ponyb/gate.php
  • http://{BLOCKED}.{BLOCKED}.66.114/ponyb/gate.php
  • http://{BLOCKED}.{BLOCKED}.158.195:8080/ponyb/gate.php
  • http://{BLOCKED}pport.net/ponyb/gate.php

NOTES:

This malware drops a batch file as %User Temp%\{random numbers}.bat, which deletes the malware and itself afterwards.

  SOLUTION

Minimum Scan Engine:

9.300

FIRST VSAPI PATTERN FILE:

9.858.07

FIRST VSAPI PATTERN DATE:

15 Apr 2013

VSAPI OPR PATTERN File:

9.859.00

VSAPI OPR PATTERN Date:

16 Apr 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

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\WinRAR
    • HWID = "{random value}"
  • In HKEY_CURRENT_USER\Software\WinRAR
    • Client Hash = "{random value}"
  • In HKEY_CURRENT_USER\Software\WinRAR
    • {random hex values 1} = {random value}
  • In HKEY_CURRENT_USER\Software\WinRAR
    • {random hex values 2} = {random value}

Step 3

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.
  • %User Temp%\{random numbers}.exe
  • %User Temp%{random numbers}.bat

Step 4

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