TSPY_DYRE.MSN
TrojanDownloader:Win32/Upatre.CB (Microsoft); Troj/Upatre-LD (Sophos); Downloader.Upatre!gen9 (Symantec); Trojan-Downloader.Win32.Upatre.ewvg (Kaspersky)
Windows
Threat Type: Spyware
Destructiveness: No
Encrypted: Yes
In the wild: Yes
OVERVIEW
Downloaded from the Internet, Dropped by other malware
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 uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.
It does not have any propagation routine.
It connects to certain websites to send and receive information. However, as of this writing, the said sites are inaccessible. It deletes the initially executed copy of itself.
TECHNICAL DETAILS
473,088 bytes
EXE
Yes
09 Oct 2015
Connects to URLs/IPs
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:
- %AppDataLocal%\{random filename}.exe (for Windows Vista and above)
- %Windows%\{random filename}.exe (for Windows XP and below)
(Note: %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.. %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)
It uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.
It adds the following mutexes to ensure that only one of its copies runs at any one time:
- Global\{random}
It injects codes into the following process(es):
- explorer.exe
- svchost.exe
Autostart Technique
The scheduled task executes the malware every:
- 1 minute
Other System Modifications
This spyware modifies the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Lsa
LimitBlankPasswordUse = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Terminal Server
fDenyTSConnections = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Terminal Server
fSingleSessionPerUser = "0"
(Note: The default value data of the said registry entry is 1.)
Propagation
This spyware does not have any propagation routine.
Dropping Routine
This spyware drops the following files:
- %System%\config\systemprofile\Application Data\{random filename} (for Windows XP and below)
- %AppDataLocal%\{random filename} (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.)
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
- List of new C&C server
It gathers the following data:
- Host Name
- Public IP Address
- Computer Name
- OS Version
- OS Platform
- User Accounts
- System Info(CPU, Memory, No. of Processors)
- Installed programs
- Services
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://icanhazip.com
It connects to the following website to send and receive information:
- http://{BLOCKED}.{BLOCKED}.220.8:443
- http://{BLOCKED}.{BLOCKED}.226.85:443
- http://{BLOCKED}.{BLOCKED}.63.98:443
- http://{BLOCKED}.{BLOCKED}.73.130:443
- http://{BLOCKED}.{BLOCKED}.250.245:443
- http://{BLOCKED}.{BLOCKED}.48.147:443
- http://{BLOCKED}.{BLOCKED}.49.139:443
- http://{BLOCKED}.{BLOCKED}.49.162:443
- http://{BLOCKED}.{BLOCKED}.166.94:4443
- http://{BLOCKED}.{BLOCKED}.48.79:443
- http://{BLOCKED}.{BLOCKED}.50.124:4443
- http://{BLOCKED}.{BLOCKED}.201.9:443
- http://{BLOCKED}.{BLOCKED}.153.202:443
- http://{BLOCKED}.{BLOCKED}.91.90:443
- http://{BLOCKED}.{BLOCKED}.64.35:4443
- http://{BLOCKED}.{BLOCKED}.84.55:443
- http://{BLOCKED}.{BLOCKED}.142.66:443
- http://{BLOCKED}.{BLOCKED}.194.101:4443
- http://{BLOCKED}.{BLOCKED}.38.100:443
- http://{BLOCKED}.{BLOCKED}.154.180:4443
- http://{BLOCKED}.{BLOCKED}.77.76:443
- http://{BLOCKED}.{BLOCKED}.104.102:443
- http://{BLOCKED}.{BLOCKED}.34.245:443
- http://{BLOCKED}.{BLOCKED}.171.216:443
- http://{BLOCKED}.{BLOCKED}.58.42:4443
- http://{BLOCKED}.{BLOCKED}.60.93:4443
- http://{BLOCKED}.{BLOCKED}.135.106:4443
- http://{BLOCKED}.{BLOCKED}.179.197:443
- http://{BLOCKED}.{BLOCKED}.101.2:4443
- http://{BLOCKED}.{BLOCKED}.204.37:443
- http://{BLOCKED}.{BLOCKED}.165.182:443
- http://{BLOCKED}.{BLOCKED}.237.115:443
- http://{BLOCKED}.{BLOCKED}.143.60:443
- http://{BLOCKED}.{BLOCKED}.146.107:4443
- http://{BLOCKED}.{BLOCKED}.146.67:4443
- http://{BLOCKED}.{BLOCKED}.147.103:4443
- http://{BLOCKED}.{BLOCKED}.156.105:4443
- http://{BLOCKED}.{BLOCKED}.156.165:443
- http://{BLOCKED}.{BLOCKED}.156.216:4443
- http://{BLOCKED}.{BLOCKED}.57.164:4443
- http://{BLOCKED}.{BLOCKED}.228.117:4443
- http://{BLOCKED}.{BLOCKED}.174.25:443
- http://{BLOCKED}.{BLOCKED}.9.55:443
- http://{BLOCKED}.{BLOCKED}.4.60:443
- http://{BLOCKED}.{BLOCKED}.176.230:4443
- http://{BLOCKED}.{BLOCKED}.191.170:443
- http://{BLOCKED}.{BLOCKED}.63.207:443
- http://{BLOCKED}.{BLOCKED}.51.115:4443
- http://{BLOCKED}.{BLOCKED}.116.76:443
- http://{BLOCKED}.{BLOCKED}.45.149:443
- http://{BLOCKED}.{BLOCKED}.45.40:443
- http://{BLOCKED}.{BLOCKED}.241.26:443
- http://{BLOCKED}.{BLOCKED}.244.187:443
It does the following:
- Receive configuration(web injects/MitB)
- Receive New connections
- Download file and execute
- Download Module(VNC,TV)
- Browser Snapshot
- Terminate Process
- Add Users
- Modifies Master Boot Record (MBR)
- Shutdown/restart system
- 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.internetcalls.com
- stun.noc.ams-ix.net
- stun.voip.aebc.com
- stun.voipbuster.com
- stun.voxgratia.org
- stun.ipshka.com
- stun.faktortel.com.au
- stun.iptel.org
- stun.voipstunt.com
- 203.183.172.196:3478
- s1.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.services.mozilla.com
- stun.2talk.co.nz
- Stop the following services:
- wscsvc
- MpsSvc
- WinDefend
However, as of this writing, the said sites are inaccessible.
It deletes the initially executed copy of itself
NOTES:
This spyware sends the following GET request:
/2309us12/{Computer name}_{OS patform}.{BOTID}/{value}/{data/variable}/{BLOCKED}.{BLOCKED}.6.243/
It sends a POST request to send stolen information from the injection.
SOLUTION
9.750
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
Restart in Safe Mode
Step 4
Search and delete these files
- %System%\config\systemprofile\Application Data\{random filename} (for Windows XP
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\CurrentControlSet\Control\Lsa
- From: LimitBlankPasswordUse = "0"
To: LimitBlankPasswordUse = 1
- From: LimitBlankPasswordUse = "0"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
- From: fDenyTSConnections = "0"
To: fDenyTSConnections = 1
- From: fDenyTSConnections = "0"
- In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
- From: fSingleSessionPerUser = "0"
To: fSingleSessionPerUser = 1
- From: fSingleSessionPerUser = "0"
Step 6
Delete the Scheduled Tasks added by this malware/grayware
To delete the added Scheduled Task file:
For Windows 2000, Windows XP, and Windows Server 2003:
- Open the Windows Scheduled Tasks. To do this, click Start>Programs>Accessories>System Tools>Scheduled Tasks.
- Double-click on a .JOB file.
- Check if the malware path and file name exists in the .JOB file. To do this, check the value in the Run field.
- If found, select the .JOB file then press SHIFT+DELETE to permanently delete the file.
- Repeat the steps above for the remaining .JOB files.
For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:
- Open the Windows Task Scheduler. To do this:
• On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
• On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter. - In the left panel of the Task Scheduler Window, click Task Scheduler Library.
- In the upper-middle panel, click a Task.
- In the lower middle panel, click the Actions tab
- Check if the malware path and file name exists in the task. To do this, check the value in the Details column under the Actions tab.
- If found, select the task and press DELETE and click Yes to delete the task.
- Repeat the steps above for the remaining tasks.
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_DYRE.MSN. 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.