ALIASES:

Trojan:Win32/Xtrat (Microsoft); RDN/Generic.bfr!ic (McAfee); W32.Extrat (Symantec); Trojan.Win32.Xtrat.mxd (Kaspersky); Mal/Generic-L (Sophos); Trojan.Win32.Generic!BT (Sunbelt); Trojan horse Crypt3.CGPB (AVG)

 PLATFORM:

Windows

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

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

  TECHNICAL DETAILS

File Size: 157,696 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 07 Mar 2015

Arrival Details

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

  • %System%\System32\Server.exe

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It creates the following folders:

  • %System%\System32

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

Autostart Technique

This backdoor adds the following registry entries to enable its automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
HKLM = "%System%\System32\Server.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
HKCU = "%System%\System32\Server.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{D32WH3U1-E32B-7875-Y7JS-EO8UB421M22J}
StubPath = "%System%\System32\Server.exe restart"

Other System Modifications

This backdoor deletes the following files:

  • %User Profile%\Windows\gUGSa.xtr

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

It adds the following registry keys:

HKEY_CURRENT_USER\SOFTWARE\gUGSa

HKEY_LOCAL_MACHINE\Software\Microsoft\
Active Setup\Installed Components\{D32WH3U1-E32B-7875-Y7JS-EO8UB421M22J}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\gUGSa
ServerStarted = "2/23/2015 3:16:28 AM"

HKEY_CURRENT_USER\Software\gUGSa
InstalledServer = "%System%\System32\Server.exe"

Dropping Routine

This backdoor drops the following files:

  • %User Profile%\Windows\gUGSa.cfg
  • %User Temp%\x.html

(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.. %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 Details

This backdoor connects to the following possibly malicious URL:

  • http://molotos3.{BLOCKED}p.biz:3321/1234567890.functions
  • {BLOCKED}0.1
  • {BLOCKED}6.163.139

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.700

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

[ Learn More ]

Step 3

Delete this registry key

[ 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
    • gUGSa
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components
    • {D32WH3U1-E32B-7875-Y7JS-EO8UB421M22J}

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • HKLM = "%System%\System32\Server.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • HKCU = "%System%\System32\Server.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{D32WH3U1-E32B-7875-Y7JS-EO8UB421M22J}
    • StubPath = "%System%\System32\Server.exe restart"
  • In HKEY_CURRENT_USER\Software\gUGSa
    • ServerStarted = "2/23/2015 3:16:28 AM"
  • In HKEY_CURRENT_USER\Software\gUGSa
    • InstalledServer = "%System%\System32\Server.exe"

Step 5

Search and delete these components

[ Learn More ]
There may be some components 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 Profile%\Windows\gUGSa.cfg
  • %User Temp%\x.html

Step 6

Search and delete this folder

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %System%\System32

Step 7

Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_XTRAT.TNA. 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 8

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.

  • %User Profile%\Windows\gUGSa.xtr


Did this description help? Tell us how we did.