Analysis by: RonJay Kristoffer Caragay

ALIASES:

TrojanDownloader:Win32/Upatre (Microsoft), Troj/Upatre-MV (Sophos); Trojan.Upatre (Malwarebytes), W32/Upatre.DLTP!tr (Fortinet); Downloader.Upatre (Symantec); Trojan-Downloader.Win32.Upatre.bazs (Kaspersky);

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel: Downloaded from the Internet, Dropped by other malware

This Trojan 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 the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 34,816 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 12 Jun 2015
Payload: Downloads files

Arrival Details

This Trojan 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 Trojan drops the following copies of itself into the affected system:

  • %User Temp%\cyduor2.exe

(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.)

It drops the following files:

  • %User Temp%\cdsetup.log → contains the initially executed malware path, which is overwritten once it downloads

(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.)

Download Routine

This Trojan connects to the following website(s) to download and execute a malicious file:

  • https://{BLOCKED}.{BLOCKED}.29.43/ls22.png
  • https://{BLOCKED}.{BLOCKED}.226.85/ls22.png
  • https://{BLOCKED}.{BLOCKED}.92.193/ls22.png
  • https://{BLOCKED}.{BLOCKED}.251.208/ls22.png
  • https://{BLOCKED}.{BLOCKED}.165.154/ls22.png
  • https://{BLOCKED}.{BLOCKED}.29.43/ls22.png
  • https://{BLOCKED}.{BLOCKED}.226.85/ls22.png
  • https://{BLOCKED}.{BLOCKED}.92.193/ls22.png
  • https://{BLOCKED}.{BLOCKED}.251.208/ls22.png
  • https://{BLOCKED}.{BLOCKED}.165.154/ls22.png
  • https://{BLOCKED}.{BLOCKED}.240.56/ls22.png
  • https://{BLOCKED}.{BLOCKED}.246.142/ls22.png
  • https://{BLOCKED}.{BLOCKED}.169.176/ls22.png
  • https://{BLOCKED}.{BLOCKED}.126.8/ls22.png
  • https://{BLOCKED}.{BLOCKED}.112.81/ls22.png
  • https://{BLOCKED}.{BLOCKED}.81.211/ls22.png
  • https://{BLOCKED}.{BLOCKED}.231.11/ls22.png
  • https://{BLOCKED}.{BLOCKED}.131.116/ls22.png
  • https://{BLOCKED}.{BLOCKED}.5.32/ls22.png
  • https://{BLOCKED}.{BLOCKED}.36.73/ls22.png
  • https://{BLOCKED}.{BLOCKED}.125.74/ls22.png
  • https://{BLOCKED}.{BLOCKED}.215.92/ls22.png
  • https://{BLOCKED}.{BLOCKED}.191.206/ls22.png
  • https://{BLOCKED}.{BLOCKED}.82.80/ls22.png
  • https://{BLOCKED}.{BLOCKED}.130.173/ls22.png
  • https://{BLOCKED}.{BLOCKED}.221.89/ls22.png
  • https://{BLOCKED}.{BLOCKED}.22.227/ls22.png
  • https://{BLOCKED}.{BLOCKED}.31.1/ls22.png
  • https://{BLOCKED}.{BLOCKED}.31.6/ls22.png
  • https://{BLOCKED}.{BLOCKED}.167.4/ls22.png
  • https://{BLOCKED}.{BLOCKED}.27.163/ls22.png
  • https://{BLOCKED}.{BLOCKED}.255.79/ls22.png
  • https://{BLOCKED}.{BLOCKED}.204.114/ls22.png
  • https://{BLOCKED}.{BLOCKED}.203.173/ls22.png
  • https://{BLOCKED}.{BLOCKED}.239.34/ls22.png
  • https://{BLOCKED}.{BLOCKED}.173.27/ls22.png
  • https://{BLOCKED}.{BLOCKED}.92.4/ls22.png
  • https://{BLOCKED}.{BLOCKED}.81.120/ls22.png
  • https://{BLOCKED}.{BLOCKED}.106.143/ls22.png
  • https://{BLOCKED}.{BLOCKED}.25.136/ls22.png
  • https://{BLOCKED}.{BLOCKED}.64.184/ls22.png
  • https://{BLOCKED}.{BLOCKED}.171.44/ls22.png
  • https://{BLOCKED}.{BLOCKED}.236.173/ls22.png
  • https://{BLOCKED}.{BLOCKED}.223.219/ls22.png
  • https://{BLOCKED}.{BLOCKED}.204.12/ls22.png
  • https://{BLOCKED}.{BLOCKED}.63.33/ls22.png
  • https://{BLOCKED}.{BLOCKED}.130.24/ls22.png
  • https://{BLOCKED}.{BLOCKED}.93.250/ls22.png
  • https://{BLOCKED}.{BLOCKED}.25.40/ls22.png
  • https://{BLOCKED}.{BLOCKED}.210.27/ls22.png
  • https://{BLOCKED}.{BLOCKED}.61.218/ls22.png
  • https://{BLOCKED}.{BLOCKED}240.56/ls22.png
  • https://{BLOCKED}.{BLOCKED}.246.142/ls22.png
  • https://{BLOCKED}.{BLOCKED}.169.176/ls22.png
  • https://{BLOCKED}.{BLOCKED}.126.8/ls22.png
  • https://{BLOCKED}.{BLOCKED}.112.81/ls22.png
  • https://{BLOCKED}.{BLOCKED}.81.211/ls22.png
  • https://{BLOCKED}.{BLOCKED}.231.11/ls22.png
  • https://{BLOCKED}.{BLOCKED}.131.116/ls22.png
  • https://{BLOCKED}.{BLOCKED}.5.32/ls22.png
  • https://{BLOCKED}.{BLOCKED}.36.73/ls22.png
  • https://{BLOCKED}.{BLOCKED}.125.74/ls22.png
  • https://{BLOCKED}.{BLOCKED}.215.92/ls22.png
  • https://{BLOCKED}.{BLOCKED}.191.206/ls22.png
  • https://{BLOCKED}.{BLOCKED}.82.80/ls22.png
  • https://{BLOCKED}.{BLOCKED}.130.173/ls22.png
  • https://{BLOCKED}.{BLOCKED}.221.89/ls22.png
  • https://{BLOCKED}.{BLOCKED}.22.227/ls22.png
  • https://{BLOCKED}.{BLOCKED}.31.1/ls22.png
  • https://{BLOCKED}.{BLOCKED}.31.6/ls22.png
  • https://{BLOCKED}.{BLOCKED}.167.4/ls22.png
  • https://{BLOCKED}.{BLOCKED}.27.163/ls22.png
  • https://{BLOCKED}.{BLOCKED}.255.79/ls22.png
  • https://{BLOCKED}.{BLOCKED}.204.114/ls22.png
  • https://{BLOCKED}.{BLOCKED}.203.173/ls22.png
  • https://{BLOCKED}.{BLOCKED}.239.34/ls22.png
  • https://{BLOCKED}.{BLOCKED}.173.27/ls22.png
  • https://{BLOCKED}.{BLOCKED}.81.120/ls22.png
  • https://{BLOCKED}.{BLOCKED}.92.4/ls22.png
  • https://{BLOCKED}.{BLOCKED}.106.143/ls22.png
  • https://{BLOCKED}.{BLOCKED}.25.136/ls22.png
  • https://{BLOCKED}.{BLOCKED}.64.184/ls22.png
  • https://{BLOCKED}.{BLOCKED}.171.44/ls22.png
  • https://{BLOCKED}.{BLOCKED}.236.173/ls22.png
  • https://{BLOCKED}.{BLOCKED}.223.219/ls22.png
  • https://{BLOCKED}.{BLOCKED}.204.12/ls22.png
  • https://{BLOCKED}.{BLOCKED}.63.33/ls22.png
  • https://{BLOCKED}.{BLOCKED}.130.24/ls22.png
  • https://{BLOCKED}.{BLOCKED}.93.250/ls22.png
  • https://{BLOCKED}.{BLOCKED}.25.40/ls22.png
  • https://{BLOCKED}.{BLOCKED}.210.27/ls22.png
  • https://{BLOCKED}.{BLOCKED}.61.218/ls22.png

It saves the files it downloads using the following names:

  • %User Temp%\cdsetup.log → contains the downloaded compress code

(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.)

Information Theft

This Trojan gathers the following data:

  • Computer Name
  • OS version
  • Service Pack

Other Details

This Trojan connects to the following URL(s) to get the affected system's IP address:

  • http://icanhazip.com/

It deletes the initially executed copy of itself

NOTES:

It decompresses the downloaded binary code %User Temp%\cdsetup.log to drop and execute the following file:

  • %User Temp%\{random file name}.exe - detected as TSPY_DYRE.LED

It connects to the following URLs to report infection of the affected system:

  • http://{BLOCKED}.{BLOCKED}.194.101:{port}/LED22/{Host Name}/0/{OS Version}-{Service Pack}/0/{value}
  • http://{BLOCKED}.{BLOCKED}.194.101:{port}/LED22/{Host Name}/{data}

It installs authentication certificates to enable access of download sites.

  SOLUTION

Minimum Scan Engine: 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

Remove malware/grayware files dropped/downloaded by TROJ_UPATRE.LED. (Note: Please skip this step if the threats listed below have already been removed.)

Step 4

Search and delete this file

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • %User Temp%\cdsetup.log

Step 5

Scan your computer with your Trend Micro product to delete files detected as TROJ_UPATRE.LED. 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.