TSPY_LEGMIR.SMXE
Trojan:Win32/Malex.gen!H (Microsoft); PWS-LegMir (McAfee); Trojan-GameThief.Win32.Lmir.gen (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan horse PSW.Legendmir.17.AW (AVG)
Windows 2000, Windows XP, Windows Server 2003
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
90,112 bytes
EXE
Yes
25 May 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 drops the following copies of itself into the affected system:
- %System%\SVCH0ST.EXE
- %System%\IEXPL0RER.EXE
(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)
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
SVCHOST = "SVCH0ST.EXE"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\RunServices
ctfom = "SVCH0ST.EXE"
Other System Modifications
This spyware adds the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\RunServices
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer\Run
shell = "IEXPL0RER.EXE"
It deletes the following registry keys:
HKEY_CLASSES_ROOT\.system
Dropping Routine
This spyware drops the following files:
- %System%\SVCH0ST.EXE
- %System%\IEXPL0RER.EXE
(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)
This report is generated via an automated analysis system.
SOLUTION
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
Step 3
Delete this registry key
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\policies\Explorer
- Run
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
- RunServices
Step 4
Delete this registry value
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
- SVCHOST = "SVCH0ST.EXE"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
- ctfom = "SVCH0ST.EXE"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run
- shell = "IEXPL0RER.EXE"
Step 5
Search and delete these components
- %System%\SVCH0ST.EXE
- %System%\IEXPL0RER.EXE
Step 6
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_LEGMIR.SMXE. 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 7
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_CLASSES_ROOT
- .system
Did this description help? Tell us how we did.