TSPY_DYRE.LMA
Trojan:Win32/Yakad.A!gfc (Microsoft); Trojan.Win32.Staser.avtz (Kaspersky; Trojan.Win32.Staser (Ikarus);
Windows
![](/vinfo/imgFiles/legend.jpg)
Threat Type: Spyware
Destructiveness: No
Encrypted: Yes
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 may be dropped by other malware.
It connects to certain websites to send and receive information. However, as of this writing, the said sites are inaccessible.
TECHNICAL DETAILS
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.
It may be dropped by the following malware:
Installation
This spyware drops the following files:
- %System%\config\systemprofile\Application Data\f5e83w4ef.dat (For Windows XP and below)
- %AppDataLocal%\f5e83w4ef.dat (For Windows Vista and above)
(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.. %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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.)
It drops the following copies of itself into the affected system:
- %Windows%\{random filename}.exe (For Windows XP and below)
- %AppDataLocal%\{random filename}.exe (For Windows Vista and above)
(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.. %AppDataLocal% is the Application Data folder found in Local Settings, where it is usually C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local 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.)
It adds the following mutexes to ensure that only one of its copies runs at any one time:
- Global\bdm2wosh32
It injects codes into the following process(es):
- explorer.exe
- svchost.exe
Autostart Technique
This spyware registers itself as a system service to ensure its automatic execution at every system startup by adding the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\googleupdate
ImagePath = "%Windows%\{random filename}.exe" (For Windows XP and below)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\googleupdate
DisplayName = "Google Update Service"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\googleupdate
Start = "2"
It adds the following registry entries to enable its automatic execution at every system startup:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
(Default) = "%AppDataLocal%\{random filename}.exe" (For Windows Vista and above)
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\googleupdate (For Windows XP and below)
Information Theft
This spyware s configuration file contains the following information:
- List of strings related to banking/bitcoin
- Proxy address for the Man-in-the-middle attack
It gathers the following data:
- Computer Name
- Host Name
- Public IP Address
- OS Version
- User Name
- OS platform
- Installed programs
Other Details
This spyware connects to the following URL(s) to check for an Internet connection:
- google.com
- microsoft.com
It connects to the following URL(s) to get the affected system's IP address:
- http://{BLOCKED}nhazip.com
It connects to the following website to send and receive information:
- http:{BLOCKED}.{BLOCKED}
- http:{BLOCKED}.{BLOCKED}154.235.120:443
- http:{BLOCKED}.{BLOCKED}154.235.120:4443
- http:{BLOCKED}.{BLOCKED}87.118.187:443
- http:{BLOCKED}.{BLOCKED}87.118.187:4443
- http:{BLOCKED}.{BLOCKED}87.118.188:4443
- http:{BLOCKED}.{BLOCKED}87.71.173:443
- http:{BLOCKED}.{BLOCKED}87.71.173:4443
- http:{BLOCKED}.{BLOCKED}65.206.253:443
- http:{BLOCKED}.{BLOCKED}65.206.253:4443
- http:{BLOCKED}.{BLOCKED}5.202.238:443
- http:{BLOCKED}.{BLOCKED}5.202.238:4443
- http:{BLOCKED}.{BLOCKED}6.66.72:443
- http:{BLOCKED}.{BLOCKED}6.66.72:4443
- http:{BLOCKED}.{BLOCKED}5.148.193:443
- http:{BLOCKED}.{BLOCKED}5.148.193:4443
- http:{BLOCKED}.{BLOCKED}3.16.55:443
- http:{BLOCKED}.{BLOCKED}3.16.55:4443
- http:{BLOCKED}.{BLOCKED}3.50.217:443
- http:{BLOCKED}.{BLOCKED}3.50.217:4443
It does the following:
- Monitors the following browsers:
- chrome.exe
- firefox.exe
- iexplore.exe
- Connects to the following STUN (Session Traversal Utilities for NAT) server in order to determine the public IP address of the compromised computer:
- stun1.voiceeclipse.net
- stun.callwithus.com
- stun.sipgate.net
- stun.ekiga.net
- stun.ideasip.com
- stun.internetcalls.com
- stun.noc.ams-ix.net
- stun.phonepower.com
- stun.voip.aebc.com
- stun.voipbuster.com
- stun.voxgratia.org
- stun.ipshka.com
- stun.faktortel.com.au
- stun.iptel.org
- stun.voipstunt.com
- stunserver.org
- 203.183.172.196:3478
- s1.taraba.net
- s2.taraba.net
- stun.l.google.com:19302
- stun1.l.google.com:19302
- stun2.l.google.com:19302
- stun3.l.google.com:19302
- stun4.l.google.com:19302
- stun.schlund.de
- stun.rixtelecom.se
- stun.voiparound.com
- numb.viagenie.ca
- stun.stunprotocol.org
- stun.2talk.co.nz
- Receive configuration(web injects)
- Receive New connections
- Download file and execute
- Download Module(VNC,TV)
- Browser Snapshot
- Shutdown/restart system
However, as of this writing, the said sites are inaccessible.
SOLUTION
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
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Remove the malware/grayware file that dropped/downloaded TSPY_DYRE.LMA. (Note: Please skip this step if the threat(s) listed below have already been removed.)
- TROJ_UPATRE.LMA
Step 4
Restart in Safe Mode
Step 5
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
- (Default) = "%AppDataLocal%\{random filename}.exe" (For Windows Vista and above)
- (Default) = "%AppDataLocal%\{random filename}.exe" (For Windows Vista and above)
Step 6
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
- googleupdate (For Windows XP and below)
- googleupdate (For Windows XP and below)
Step 7
Search and delete this file
- %System%\config\systemprofile\Application Data\f5e83w4ef.dat (For Windows XP and below)
- %AppDataLocal%\f5e83w4ef.dat (For Windows Vista and above)
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_DYRE.LMA. 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
Scan your computer with your Trend Micro product to delete files detected as TSPY_DYRE.LMA. 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.