TSPY_FAREIT.ALY
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.
It deletes itself after execution.
TECHNICAL DETAILS
64,664 bytes
EXE
Yes
05 Dec 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 creates the following folders:
- %User Profile%\Application Data\7hnarla3
(Note: %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)
Autostart Technique
This spyware adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
Google Update = "{random characters}"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
AS2014 = "%User Profile%\7hnarla3\7hnarla3.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\?etadpug
Other System Modifications
This spyware modifies the following file(s):
- %Application Data%\GDIPFONTCACHEV1.DAT
(Note: %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)
It deletes the following files:
- g4gd21324fsdfs
- 423ddfsd*
It adds the following registry keys:
HKEY_CURRENT_USER\Software\WinRAR
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug\Parameters
It adds the following registry entries:
HKEY_CURRENT_USER\Software\WinRAR
HWID = "{random values}"
HKEY_CURRENT_USER\Software\WinRAR
Client Hash = "{random values}"
HKEY_CURRENT_USER\Software\WinRAR
C2DDD35C38C246C2AEC8FC86AACAB1F6 = "{random values}"
HKEY_CURRENT_USER\Software\WinRAR
9669660C7737EB45CD8372BA4C2A455B = "{random values}"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug\Parameters
Parameters = "51c"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
Start = "2"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
Type = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
ErrorControl = "0"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
ImagePath = "{random characters}"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
ObjectName = "LocalSystem"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
Description = "{random characters}"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\?etadpug
DisplayName = "Google Update Service (gupdate)"
It modifies the following registry entries:
HKEY_CURRENT_USER\Software\Microsoft\
GDIPlus
FontCachePath = "%Application Data%"
(Note: The default value data of the said registry entry is %User Profile%\Local Settings\Application Data.)
Dropping Routine
This spyware drops the following files:
- %User Temp%\1387218.exe
- %User Temp%\1400859.exe
- GoogleUpdate.exe
- @
- %User Profile%\7hnarla3\7hnarla3.exe
- %User Profile%\7hnarla3\7hnarla3axaQsaag.in
- %User Profile%\7hnarla3\7hnarla3axaQsaag.lg
- %User Profile%\7hnarla3\7hnarla3.exe.manifest
- %User Profile%\7hnarla3\7hnarla3.ico
- %User Profile%\7hnarla3\DD1
- %User Profile%\7hnarla3\DD2
- %User Profile%\7hnarla3\DD3
(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, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)
Other Details
This spyware connects to the following possibly malicious URL:
- http://{BLOCKED}5.1.127/api/stats/debug/1/?{random characters}
- http://{BLOCKED}5.1.127/api/dom/no_respond/?{random characters}
- http://{BLOCKED}5.1.127/api/stats/debug/2/?{random characters}
- http://{BLOCKED}5.1.127/api/stats/debug/3/?{random characters}
It deletes itself after execution.
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\SYSTEM\CurrentControlSet\Services
- ?etadpug
- In HKEY_CURRENT_USER\Software
- WinRAR
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- Parameters
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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- Google Update = "{random characters}"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- AS2014 = "%User Profile%\7hnarla3\7hnarla3.exe"
- In HKEY_CURRENT_USER\Software\WinRAR
- HWID = "{random values}"
- In HKEY_CURRENT_USER\Software\WinRAR
- Client Hash = "{random values}"
- In HKEY_CURRENT_USER\Software\WinRAR
- C2DDD35C38C246C2AEC8FC86AACAB1F6 = "{random values}"
- In HKEY_CURRENT_USER\Software\WinRAR
- 9669660C7737EB45CD8372BA4C2A455B = "{random values}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug\Parameters
- Parameters = "51c"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- Start = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- Type = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- ErrorControl = "0"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- ImagePath = "{random characters}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- ObjectName = "LocalSystem"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- Description = "{random characters}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\?etadpug
- DisplayName = "Google Update Service (gupdate)"
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_CURRENT_USER\Software\Microsoft\GDIPlus
- From: FontCachePath = "%Application Data%"
To: FontCachePath = ""%User Profile%\Local Settings\Application Data""
- From: FontCachePath = "%Application Data%"
Step 6
Search and delete these components
- %User Temp%\1387218.exe
- %User Temp%\1400859.exe
- GoogleUpdate.exe
- @
- %User Profile%\7hnarla3\7hnarla3.exe
- %User Profile%\7hnarla3\7hnarla3axaQsaag.in
- %User Profile%\7hnarla3\7hnarla3axaQsaag.lg
- %User Profile%\7hnarla3\7hnarla3.exe.manifest
- %User Profile%\7hnarla3\7hnarla3.ico
- %User Profile%\7hnarla3\DD1
- %User Profile%\7hnarla3\DD2
- %User Profile%\7hnarla3\DD3
Step 7
Search and delete this folder
- %User Profile%\Application Data\7hnarla3
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_FAREIT.ALY. 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 deleted/modified files and/or registry entries from backup
*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.
- %Application Data%\GDIPFONTCACHEV1.DAT
Step 10
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.
- g4gd21324fsdfs
- 423ddfsd*
Did this description help? Tell us how we did.