TSPY_MAGANIA.CRS
Trojan.Win32.Generic.pak!cobra (Sunbelt)
Windows 2000, Windows XP, Windows Server 2003
![](/vinfo/imgFiles/legend.jpg)
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
1,040,864 bytes
EXE
Yes
30 May 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 adds the following registry entries to enable its automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{hfsahw6u-ogdd-xhcu-ybgy-e8km43i7mbet}
stubpath = "%System%\ingvnhoze.exe"
It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSEt\
Services\PCRatStact
Other System Modifications
This spyware deletes the following files:
- %User Temp%\nst1.tmp
(Note: %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.)
It adds the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{hfsahw6u-ogdd-xhcu-ybgy-e8km43i7mbet}
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\PCRatStact
Type = "12"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\SFC
ProgramFilesDir = "%Program Files%"
(Note: The default value data of the said registry entry is %Program Files%.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\SFC
CommonFilesDir = "%Program Files%\Common Files"
(Note: The default value data of the said registry entry is %Program Files%\Common Files.)
It deletes the following registry keys:
HKEY_CURRENT_USER\Software\Microsoft\
Active Setup\Installed Components\{hfsahw6u-ogdd-xhcu-ybgy-e8km43i7mbet}
Dropping Routine
This spyware drops the following files:
- \¾ÆÀÌÇǺ¸±â.exe
- \server.exe
- %System%\ingvnhoze.exe
- %User Temp%\58390_res.tmp
(Note: %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.. %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.)
This report is generated via an automated analysis system.
SOLUTION
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
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\SYSTEM\CurrentControlSEt\Services
- PCRatStact
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components
- {hfsahw6u-ogdd-xhcu-ybgy-e8km43i7mbet}
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\Active Setup\Installed Components\{hfsahw6u-ogdd-xhcu-ybgy-e8km43i7mbet}
- stubpath = "%System%\ingvnhoze.exe"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\PCRatStact
- Type = "12"
Step 5
Restore this modified 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\SYSTEM\ControlSet001\Control\Session Manager\SFC
- From: ProgramFilesDir = "%Program Files%"
To: ProgramFilesDir = ""%Program Files%""
- From: ProgramFilesDir = "%Program Files%"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\SFC
- From: CommonFilesDir = "%Program Files%\Common Files"
To: CommonFilesDir = ""%Program Files%\Common Files""
- From: CommonFilesDir = "%Program Files%\Common Files"
Step 6
Search and delete these files
- \¾ÆÀÌÇǺ¸±â.exe
- \server.exe
- %System%\ingvnhoze.exe
- %User Temp%\58390_res.tmp
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_MAGANIA.CRS. 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 8
Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.
- %User Temp%\nst1.tmp
Step 9
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_CURRENT_USER\Software\Microsoft\Active Setup\Installed Components
- {hfsahw6u-ogdd-xhcu-ybgy-e8km43i7mbet}
Did this description help? Tell us how we did.