TSPY_LEGMIR.SM1


 ALIASES:

PWS:Win32/OnLineGames.JT, PWS:Win32/OnLineGames.JP, PWS:Win32/OnLineGames.JU, PWS:Win32/OnLineGames. (Microsoft); [0000dcc0.EXE]:Generic.dx!zam, [000040c0.EXE]:PWS-Mmorpg!sq (McAfee); Infostealer.Gampass (Symantec); PAK:UPX, Trojan-Downloader.Win32.Agent.tjfr (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan.Agent.ASQJ (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

 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 deletes itself after execution.

  TECHNICAL DETAILS

File Size:

26,524 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

05 Apr 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.

Other System Modifications

This spyware adds the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Keyboard Layouts\E0200804

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Keyboard Layouts\E0200804
Ime File = "DBR99005.OCX"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Keyboard Layouts\E0200804
Layout Text = "US"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Keyboard Layouts\E0200804
Layout File = "kbdus.dll"

It modifies the following registry entries:

HKEY_CURRENT_USER\Keyboard Layout\Preload
2 = "E0200804"

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

HKEY_CURRENT_USER\Keyboard Layout\Preload
1 = "E0200804"

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

HKEY_CURRENT_USER\Keyboard Layout\Preload
2 = "00000409"

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

Dropping Routine

This spyware drops the following files:

  • %Windows%\fonts\dbr09027.ttf
  • %User Temp%\00005E1Dmdd.temp
  • %User Temp%\00005E1Dime.temp
  • %User Temp%\00005E1Deime.temp
  • %System%\gbvgbv09.exe

(Note: %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.. %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.. %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

Other Details

This spyware deletes itself after execution.

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

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

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\SYSTEM\ControlSet001\Control\Keyboard Layouts
    • E0200804

Step 3

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\SYSTEM\ControlSet001\Control\Keyboard Layouts\E0200804
    • Ime File = "DBR99005.OCX"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts\E0200804
    • Layout Text = "US"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts\E0200804
    • Layout File = "kbdus.dll"

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_CURRENT_USER\Keyboard Layout\Preload
    • From: 2 = "E0200804"
      To: 2 = ""e00e0804""
  • In HKEY_CURRENT_USER\Keyboard Layout\Preload
    • From: 1 = "E0200804"
      To: 1 = ""00000409""
  • In HKEY_CURRENT_USER\Keyboard Layout\Preload
    • From: 2 = "00000409"
      To: 2 = ""e00e0804""

Step 5

Search and delete these files

[ Learn More ]
There may be some component 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.
  • %Windows%\fonts\dbr09027.ttf
  • %User Temp%\00005E1Dmdd.temp
  • %User Temp%\00005E1Dime.temp
  • %User Temp%\00005E1Deime.temp
  • %System%\gbvgbv09.exe

Step 6

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