ALIASES:

PWS:Win32/Wowsteal.ZF (Microsoft); PWS-LegMir (McAfee); Trojan Horse (Symantec); Trojan-GameThief.Win32.Lmir.aui (Kaspersky); Packer.NSAnti.Gen (v) (Sunbelt); Runtime packed nspack (AVG)

 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.

  TECHNICAL DETAILS

File Size: 51,501 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 05 Oct 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.

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
ToP = "%Windows%\LSASS.exe"

Other System Modifications

This spyware adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WindowFiles

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WindowFiles\DefaultIcon

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WindowFiles\Shell\Open\
Command

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
Microsoft Soft Debuger\Settings

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
Check_Associations = "No"

HKEY_CURRENT_USER\Software\VB and VBA Program Settings\
Microsoft Soft Debuger\Settings
GUID = "{839E2W-YPO3CL-W6G9YN-8H62XK-R22F97}"

Dropping Routine

This spyware drops the following files:

  • %Windows%\LSASS.exe
  • %Program Files%\intern~1\INTEXPLORE.com
  • %Program Files%\common~1\INTEXPLORE.pif
  • %Windows%\EXERT.exe
  • d:\command.com
  • %System%\MSCONFIG.COM
  • %System%\dxdiag.com
  • %System%\regedit.com
  • %Windows%\Debug\DebugProgram.exe

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.300

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.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes
    • WindowFiles
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WindowFiles
    • DefaultIcon
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WindowFiles\Shell\Open
    • Command
  • In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Microsoft Soft Debuger
    • Settings

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
    • ToP = "%Windows%\LSASS.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
    • Check_Associations = "No"
  • In HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Microsoft Soft Debuger\Settings
    • GUID = "{839E2W-YPO3CL-W6G9YN-8H62XK-R22F97}"

Step 5

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.
  • %Windows%\LSASS.exe
  • %Program Files%\intern~1\INTEXPLORE.com
  • %Program Files%\common~1\INTEXPLORE.pif
  • %Windows%\EXERT.exe
  • d:\command.com
  • %System%\MSCONFIG.COM
  • %System%\dxdiag.com
  • %System%\regedit.com
  • %Windows%\Debug\DebugProgram.exe

Step 6

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