ALIASES:

Backdoor:Win32/Xtrat.A (Microsoft); Generic BackDoor.bfr!m (McAfee); Trojan.Win32.VBKrypt.haxc (Kaspersky); Trojan.Win32.Generic.pak!cobra (Sunbelt); Trojan.Generic.KDV.363690 (FSecure)

 PLATFORM:

Windows 2000, XP, Server 2003

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

  • 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.

  TECHNICAL DETAILS

File Size: 696,840 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 17 Dec 2011

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:

  • %Windows%\InstallDir\Server.exe

(Note: %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

It creates the following folders:

  • %Windows%\InstallDir\

(Note: %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
microsoft = "%Windows%\InstallDir\Server.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
microsoft = "%Windows%\InstallDir\Server.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{O8L56L1M-1W5J-LU1I-8D2G-K8R210IN0228}
StubPath = "%Windows%\InstallDir\Server.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{O8L56L1M-1W5J-LU1I-8D2G-K8R210IN0228}
StubPath = "%Windows%\InstallDir\Server.exe restart"

Other System Modifications

This Trojan deletes the following files:

  • %User Profile%\Windows\rmwVtVjLGyFlzfB.xtr

(Note: %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.)

It adds the following registry keys:

HKEY_CURRENT_USER\Software\Enigma Protector\
2EFBFBEA21FD3674-0B7214FA39174F63\99314DDBFA277630-99CBB60EDA5D8ED6

HKEY_CURRENT_USER\SOFTWARE\XtremeRAT

HKEY_CURRENT_USER\SOFTWARE\rmwVtVjLGyFlzfB

HKEY_LOCAL_MACHINE\Software\Microsoft\
Active Setup\Installed Components\{O8L56L1M-1W5J-LU1I-8D2G-K8R210IN0228}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Enigma Protector\
2EFBFBEA21FD3674-0B7214FA39174F63\99314DDBFA277630-99CBB60EDA5D8ED6
D84DF006 = {random values}

HKEY_CURRENT_USER\Software\XtremeRAT
Mutex = "rmwVtVjLGyFlzfB"

HKEY_CURRENT_USER\Software\rmwVtVjLGyFlzfB
ServerStarted = "10/12/2011 07:57:41"

HKEY_CURRENT_USER\Software\rmwVtVjLGyFlzfB
ServerName = "%Windows%\InstallDir\Server.exe"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
DirectDraw\MostRecentApplication
Name = "svchost.exe"

(Note: The default value data of the said registry entry is mshta.exe.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
DirectDraw\MostRecentApplication
ID = 4117ed6

(Note: The default value data of the said registry entry is 41107b3f.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
DirectDraw\MostRecentApplication
Name = "iexplore.exe"

(Note: The default value data of the said registry entry is mshta.exe.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
DirectDraw\MostRecentApplication
ID = 4117b81

(Note: The default value data of the said registry entry is 41107b3f.)

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\x.html

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003.)

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine: 9.200

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

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\Enigma Protector\2EFBFBEA21FD3674-0B7214FA39174F63
    • 99314DDBFA277630-99CBB60EDA5D8ED6
  • In HKEY_CURRENT_USER\SOFTWARE
    • XtremeRAT
  • In HKEY_CURRENT_USER\SOFTWARE
    • rmwVtVjLGyFlzfB
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components
    • {O8L56L1M-1W5J-LU1I-8D2G-K8R210IN0228}

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
    • microsoft="%Windows%\InstallDir\Server.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • microsoft="%Windows%\InstallDir\Server.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{O8L56L1M-1W5J-LU1I-8D2G-K8R210IN0228}
    • StubPath="%Windows%\InstallDir\Server.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{O8L56L1M-1W5J-LU1I-8D2G-K8R210IN0228}
    • StubPath="%Windows%\InstallDir\Server.exe restart"
  • In HKEY_CURRENT_USER\Software\Enigma Protector\2EFBFBEA21FD3674-0B7214FA39174F63\99314DDBFA277630-99CBB60EDA5D8ED6
    • D84DF006={random values}
  • In HKEY_CURRENT_USER\Software\XtremeRAT
    • Mutex="rmwVtVjLGyFlzfB"
  • In HKEY_CURRENT_USER\Software\rmwVtVjLGyFlzfB
    • ServerStarted="10/12/2011 07:57:41"
  • In HKEY_CURRENT_USER\Software\rmwVtVjLGyFlzfB
    • ServerName="%Windows%\InstallDir\Server.exe"

Step 5

Restore this modified 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\DirectDraw\MostRecentApplication
    • From: Name="svchost.exe"
      To: Name=mshta.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: ID=4117ed6
      To: ID=41107b3f
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: Name="iexplore.exe"
      To: Name=mshta.exe
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: ID=4117b81
      To: ID=41107b3f

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. %Windows%\InstallDir\

Step 7

Search and delete this file

[ Learn More ]
There may be some component 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%\x.html

Step 8

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

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\rmwVtVjLGyFlzfB.xtr


Did this description help? Tell us how we did.