Analysis by: Jed Valderama
 Modified by: Jasen Sumalapao

ALIASES:

PWS:Win32/OnLineGames.LH (Microsoft), Trojan-GameThief.Win32.Magania.hmjo (Kaspersky), Downloader (Symantec), PWS-Mmorpg!bdm (NAI), Mal/Behav-321 (Sophos), Gen:Trojan.Heur.gSW@JmfTk6kb (FSecure), Trojan.Win32.Generic!BT (Sunbelt), DR/Delphi.Gen (Antivir), W32/Injector.A.gen!Eldorado (Authentium), Gen:Trojan.Heur.gSW@JmfTk6kb (Bitdefender), W32/Onlinegames.QBU!tr.pws (Fortinet), W32/Injector.A.gen!Eldorado (generic, not disinfectable) (Fprot), Virus.Win32.Patched (Ikarus), a variant of Win32/PSW.OnLineGames.QBU trojan (NOD32), TrojanPSW.Magania.hmhj (VBA32)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet, 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 executes the dropped file(s). As a result, malicious routines of the dropped files are exhibited on the affected system.

It deletes itself after execution.

  TECHNICAL DETAILS

File Size: 112,640 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 31 Aug 2012

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.

Autostart Technique

This spyware modifies the following registry entry(ies) to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Windows
AppInit_DLLs = "ws2help.dll"

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

Dropping Routine

This spyware drops the following files:

  • %Windows%\IRIMGV3.bmp - detected as TSPY_ONLINEG.SM3

(Note: %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

It executes the dropped file(s). As a result, malicious routines of the dropped files are exhibited on the affected system.

Other Details

This spyware deletes itself after execution.

NOTES:

It renames the file legitimate %System%\ws2help.dll to %System%\ws2helpxp.dll then drops its component file as %System%\ws2help.dll.

Since the malware component TSPY_ONLINEG.SM3 replaces the legitimate file, the autostart of the replaced file is used by the malware as its own. As a result, malicious behavior of this malware component is executed on the system.

  SOLUTION

Minimum Scan Engine: 9.200
FIRST VSAPI PATTERN FILE: 9.362.05
FIRST VSAPI PATTERN DATE: 31 Aug 2012
VSAPI OPR PATTERN File: 9.363.00
VSAPI OPR PATTERN Date: 01 Sep 2012

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Remove malware/grayware files dropped/downloaded by TSPY_ONLINEG.NRR

Step 3

Restart in Safe Mode

[ Learn More ]

Step 4

Restore this modified 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 NT\CurrentVersion\Windows
    • From: AppInit_DLLs = "ws2help.dll"
      To: AppInit_DLLs = ""

Step 5

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

Restoring a File to its Original Location

  1. Click Start>Run.
  2. In the text box, type the following:
    command /c copy %System%\ws2helpxp.dll %System%\ws2help.dll
  3. Press Enter.


Did this description help? Tell us how we did.