Analysis by: Jon Dexter Laurin

ALIASES:

Trojan-Downloader.Win32.Upatre.cjri (Kaspersky); Win32/TrojanDownloader.Waski.A (ESET-NOD32); Upatre-FACH!73AECEDFE690 (McAfee); Trojan.Upatre (Malwarebytes); Mal/Upatre-U (Sophos); W32/Waski.A!tr (Fortinet)

 PLATFORM:

Windows

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

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 executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

It retrieves specific information from the affected system.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size: 38,400 bytes
File Type: EXE
Memory Resident: No
Initial Samples Received Date: 07 Aug 2015

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 and executes them:

  • %User Temp%\cmuxamaf.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%\tmpB7C3.inf - initially contains full malware path and filename, then it will be replaced by an encrypted data

(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 System Modifications

This Trojan adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion
kereruthjertr456 = "1"

Download Routine

This Trojan downloads the file from the following URL and renames the file when stored in the affected system:

  • http://{BLOCKED}09.{BLOCKED}6.226.85:443/em12.png
  • http://{BLOCKED}4.2{BLOCKED}0.92.193:443/em12.png
  • http://{BLOCKED}76.{BLOCKED}6.251.208:443/em12.png
  • http://{BLOCKED}88.{BLOCKED}55.165.154:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}16.240.56:443/em12.png
  • http://{BLOCKED}9.1{BLOCKED}3.81.211:443/em12.png
  • http://{BLOCKED}16.{BLOCKED}54.231.11:443/em12.png
  • http://{BLOCKED}4.3{BLOCKED}.131.116:443/em12.png
  • http://{BLOCKED}04.{BLOCKED}74.123.66:443/em12.png
  • http://{BLOCKED}2.2{BLOCKED}0.82.80:443/em12.png
  • http://{BLOCKED}4.2{BLOCKED}3.121.6:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}48.22.227:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}48.31.1:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}48.31.6:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}48.27.163:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}43.255.79:443/em12.png
  • http://{BLOCKED}9.9{BLOCKED}204.114:443/em12.png
  • http://{BLOCKED}3.1{BLOCKED}5.203.173:443/em12.png
  • http://{BLOCKED}88.{BLOCKED}55.239.34:443/em12.png
  • http://{BLOCKED}6.2{BLOCKED}.92.4:443/em12.png
  • http://{BLOCKED}1.1{BLOCKED}4.36.73:443/em12.png
  • http://{BLOCKED}8.2{BLOCKED}2.64.184:443/em12.png
  • http://{BLOCKED}9.1{BLOCKED}4.171.44:443/em12.png
  • http://{BLOCKED}5.3{BLOCKED}.236.173:443/em12.png
  • http://{BLOCKED}6.1{BLOCKED}6.63.33:443/em12.png
  • http://{BLOCKED}1.9{BLOCKED}.130.24:443/em12.png
  • http://{BLOCKED}16.{BLOCKED}6.93.250:443/em12.png
  • http://{BLOCKED}8.2{BLOCKED}6.210.27:443/em12.png
  • http://{BLOCKED}6.1{BLOCKED}6.61.218:443/em12.png
  • http://{BLOCKED}8.2{BLOCKED}4.11.253:443/em12.png
  • http://{BLOCKED}4.1{BLOCKED}8.217.188:443/em12.png
  • http://{BLOCKED}8.2{BLOCKED}9.75.164:443/em12.png
  • http://{BLOCKED}6.1{BLOCKED}5.248.137:443/em12.png
  • http://{BLOCKED}73.{BLOCKED}16.247.74:443/em12.png
  • http://{BLOCKED}7.4{BLOCKED}.30.156:443/em12.png
  • http://{BLOCKED}7.9{BLOCKED}.195.68:443/em12.png
  • http://{BLOCKED}7.5{BLOCKED}.144.177:443/em12.png
  • http://{BLOCKED}8.5{BLOCKED}.59.145:443/em12.png
  • http://{BLOCKED}5.1{BLOCKED}3.141.50:443/em12.png
  • http://{BLOCKED}88.{BLOCKED}55.243.105:443/em12.png
  • http://{BLOCKED}5.1{BLOCKED}3.132.118:443/em12.png
  • http://{BLOCKED}94.{BLOCKED}28.203.19:443/em12.png
  • http://{BLOCKED}7.2{BLOCKED}9.142.189:443/em12.png
  • http://{BLOCKED}5.1{BLOCKED}5.104.170:443/em12.png
  • http://{BLOCKED}6.8{BLOCKED}.81.120:443/em12.png
  • http://{BLOCKED}4.2{BLOCKED}6.161.47:443/em12.png
  • http://{BLOCKED}17.{BLOCKED}68.210.122:443/em12.png
  • http://{BLOCKED}1.9{BLOCKED}.175.7:443/em12.png
  • http://{BLOCKED}2.2{BLOCKED}4.250.26:443/em12.png
  • http://{BLOCKED}1.9{BLOCKED}.205.218:443/em12.png
  • http://{BLOCKED}76.{BLOCKED}6.251.208:443/em12.png

It saves the files it downloads using the following names:

  • %User Temp%\{random}.exe - detected as TSPY_DYRE.CX

(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 then executes the downloaded files. As a result, malicious routines of the downloaded files are exhibited on the affected system.

Information Theft

This Trojan retrieves the following information from the affected system:

  • Computer Name
  • OS Version
  • OS Service Pack

Other Details

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

  • icanhazip.com

It deletes the initially executed copy of itself

NOTES:

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

  • http://{BLOCKED}3.{BLOCKED}85.4.90:{random port}/EM12/{Computer Name}/0/{OS}-{Service Pack}/0/{random value}

  SOLUTION

Minimum Scan Engine: 9.750
FIRST VSAPI PATTERN FILE: 11.760.09
FIRST VSAPI PATTERN DATE: 29 Jun 2015
VSAPI OPR PATTERN File: 11.761.00
VSAPI OPR PATTERN Date: 29 Jun 2015

Step 1

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 2

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 3

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

     
    • TSPY_DYRE.CX

Step 4

Delete this registry value

[ Learn More ]

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 NT\CurrentVersion
    • kereruthjertr456 = "1"

Step 5

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%\cmuxamaf.exe
  • %User Temp%\tmpB7C3.inf

Step 6

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