ALIASES:

Trojan.Win32.Agent.amjhq (Kaspersky); Trojan horse PSW.Generic12.BCZN (AVG)

 PLATFORM:

Windows

 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.

  TECHNICAL DETAILS

File Size: 348,160 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 14 Jan 2015

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.

Other System Modifications

This spyware adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Programmable

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Control

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Insertable

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\InprocServer32
ThreadingModel = "Apartment"

(Note: The default value data of the said registry entry is Apartment.)

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{3F30C968-480A-4C6C-862D-EFC0897BB84B}\InprocServer32
ThreadingModel = "Apartment"

(Note: The default value data of the said registry entry is Apartment.)

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{9DBD2C50-62AD-11D0-B806-00C04FD706EC}\InprocServer32
ThreadingModel = "Apartment"

(Note: The default value data of the said registry entry is Apartment.)

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{EAB841A0-9550-11CF-8C16-00805F1408F3}\InprocServer32
ThreadingModel = "Apartment"

(Note: The default value data of the said registry entry is Apartment.)

It deletes the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\MiscStatus\
1

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\MiscStatus

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\ToolboxBitmap32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\TypeLib

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Version

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\VersionIndependentProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}

Dropping Routine

This spyware drops the following files:

  • %User Temp%\TMP4352$.TMP
  • %User Temp%\RGI9.tmp

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

Other Details

This spyware connects to the following possibly malicious URL:

  • {BLOCKED}0.1
  • {BLOCKED}6.81.94
  • {BLOCKED}.120.187
  • {BLOCKED}.97.48
  • {BLOCKED}.215.200

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.700

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 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_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • Programmable
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • Control
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • Insertable

Step 3

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\InprocServer32
    • From: ThreadingModel = "Apartment"
      To: ThreadingModel = ""Apartment""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3F30C968-480A-4C6C-862D-EFC0897BB84B}\InprocServer32
    • From: ThreadingModel = "Apartment"
      To: ThreadingModel = ""Apartment""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{9DBD2C50-62AD-11D0-B806-00C04FD706EC}\InprocServer32
    • From: ThreadingModel = "Apartment"
      To: ThreadingModel = ""Apartment""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB841A0-9550-11CF-8C16-00805F1408F3}\InprocServer32
    • From: ThreadingModel = "Apartment"
      To: ThreadingModel = ""Apartment""

Step 4

Search and delete these components

[ Learn More ]
There may be some components 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%\TMP4352$.TMP
  • %User Temp%\RGI9.tmp

Step 5

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

Step 6

Restore these deleted registry keys/values from backup

*Note: Only Microsoft-related keys/values will be restored. If the malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\MiscStatus
    • 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • MiscStatus
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • ToolboxBitmap32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • Version
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
    • VersionIndependentProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {50F16B26-467E-11D1-8271-00C04FC3183B}


Did this description help? Tell us how we did.