TSPY_KEYLOG.XTSA
Windows
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
266,316 bytes
EXE
Yes
06 Nov 2014
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 creates the following folders:
- %User Profile%\McAfee
(Note: %User Profile% is a user's profile folder, where it usually is C:\Documents and Settings\{user name} on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name} on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
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
mcagentx = "%User Profile%\McAfee\mcagentx.exe"
Other System Modifications
This spyware adds the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Programmable
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Control
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Insertable
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\InprocServer32
ThreadingModel = "Apartment"
(Note: The default value data of the said registry entry is Apartment.)
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{3F30C968-480A-4C6C-862D-EFC0897BB84B}\InprocServer32
ThreadingModel = "Apartment"
(Note: The default value data of the said registry entry is Apartment.)
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{9DBD2C50-62AD-11D0-B806-00C04FD706EC}\InprocServer32
ThreadingModel = "Apartment"
(Note: The default value data of the said registry entry is Apartment.)
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{EAB841A0-9550-11CF-8C16-00805F1408F3}\InprocServer32
ThreadingModel = "Apartment"
(Note: The default value data of the said registry entry is Apartment.)
It deletes the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\InprocServer32
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\MiscStatus\
1
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\MiscStatus
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\ProgID
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\ToolboxBitmap32
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\TypeLib
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\Version
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\VersionIndependentProgID
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
Dropping Routine
This spyware drops the following files:
- %User Temp%\TMP4352$.TMP
- %User Temp%\RGI4.tmp
(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
Other Details
This spyware connects to the following possibly malicious URL:
- {BLOCKED}0.1
- {BLOCKED}6.81.94
- {BLOCKED}.120.187
- {BLOCKED}45.48
- {BLOCKED}.215.200
This report is generated via an automated analysis system.
SOLUTION
9.700
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\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- Programmable
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- Control
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- Insertable
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
- mcagentx = "%User Profile%\McAfee\mcagentx.exe"
Step 5
Restore these modified registry values
Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\InprocServer32
- From: ThreadingModel = "Apartment"
To: ThreadingModel = ""Apartment""
- From: ThreadingModel = "Apartment"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3F30C968-480A-4C6C-862D-EFC0897BB84B}\InprocServer32
- From: ThreadingModel = "Apartment"
To: ThreadingModel = ""Apartment""
- From: ThreadingModel = "Apartment"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{9DBD2C50-62AD-11D0-B806-00C04FD706EC}\InprocServer32
- From: ThreadingModel = "Apartment"
To: ThreadingModel = ""Apartment""
- From: ThreadingModel = "Apartment"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{EAB841A0-9550-11CF-8C16-00805F1408F3}\InprocServer32
- From: ThreadingModel = "Apartment"
To: ThreadingModel = ""Apartment""
- From: ThreadingModel = "Apartment"
Step 6
Search and delete these components
- %User Temp%\TMP4352$.TMP
- %User Temp%\RGI4.tmp
Step 7
Search and delete this folder
- %User Profile%\McAfee
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_KEYLOG.XTSA. 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 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_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- InprocServer32
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}\MiscStatus
- 1
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- MiscStatus
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- ProgID
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- ToolboxBitmap32
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- TypeLib
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- Version
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{50F16B26-467E-11D1-8271-00C04FC3183B}
- VersionIndependentProgID
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
- {50F16B26-467E-11D1-8271-00C04FC3183B}
Did this description help? Tell us how we did.