TROJ_MSIL_0000034.TOMA


 ALIASES:

VirTool:Win32/Obfuscator.LM (Microsoft); Trojan.ADH (Symantec); Trojan-Dropper.MSIL.Agent.gjz (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt)

 PLATFORM:

Windows 2000, Windows XP, Windows 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.

It modifies files, disabling programs and applications from properly running.

  TECHNICAL DETAILS

File Size:

234,706 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

20 Nov 2012

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 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
HKLM = "%Windows%\InstallDir\testing.exe"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
HKCU = "%Windows%\InstallDir\testing.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{J71KL3N7-5805-67G5-030J-4SE20457M461}
StubPath = "%Windows%\InstallDir\testing.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{J71KL3N7-5805-67G5-030J-4SE20457M461}
StubPath = "%Windows%\InstallDir\testing.exe restart"

Other System Modifications

This Trojan modifies the following files:

  • %Application Data%\GDIPFONTCACHEV1.DAT

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

It deletes the following files:

  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.608.43515
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.608.43531
  • %User Profile%\v2.0.50727.42\security.config.cch.608.43656
  • %User Profile%\Windows\XTx6fi94JY35d0.xtr

(Note: %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.. %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\XtremeRAT

HKEY_CURRENT_USER\SOFTWARE\XTx6fi94JY35d0

HKEY_LOCAL_MACHINE\Software\Microsoft\
Active Setup\Installed Components\{J71KL3N7-5805-67G5-030J-4SE20457M461}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\XtremeRAT
Mutex = "XTx6fi94JY35d0"

HKEY_CURRENT_USER\Software\XTx6fi94JY35d0
ServerStarted = "19/11/2012 15:02:43"

HKEY_CURRENT_USER\Software\XTx6fi94JY35d0
ServerName = "%Windows%\InstallDir\testing.exe"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
GDIPlus
FontCachePath = "%Application Data%"

(Note: The default value data of the said registry entry is %User Profile%\Local Settings\Application Data.)

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

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

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

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

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

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

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

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

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\1192.exe
  • %User Temp%\server.exe
  • %User Temp%\397121_10150552723087663_971601574_n.jpg
  • %User Temp%\x.html
  • %Windows%\InstallDir\testing.exe

(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.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.)

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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
    • XtremeRAT
  • In HKEY_CURRENT_USER\SOFTWARE
    • XTx6fi94JY35d0
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components
    • {J71KL3N7-5805-67G5-030J-4SE20457M461}

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 = "%Windows%\InstallDir\testing.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • HKCU = "%Windows%\InstallDir\testing.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{J71KL3N7-5805-67G5-030J-4SE20457M461}
    • StubPath = "%Windows%\InstallDir\testing.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{J71KL3N7-5805-67G5-030J-4SE20457M461}
    • StubPath = "%Windows%\InstallDir\testing.exe restart"
  • In HKEY_CURRENT_USER\Software\XtremeRAT
    • Mutex = "XTx6fi94JY35d0"
  • In HKEY_CURRENT_USER\Software\XTx6fi94JY35d0
    • ServerStarted = "19/11/2012 15:02:43"
  • In HKEY_CURRENT_USER\Software\XTx6fi94JY35d0
    • ServerName = "%Windows%\InstallDir\testing.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_CURRENT_USER\Software\Microsoft\GDIPlus
    • From: FontCachePath = "%Application Data%"
      To: FontCachePath = ""%User Profile%\Local Settings\Application Data""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: Name = "svchost.exe"
      To: Name = ""iexplore.exe""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: ID = "4117ed6"
      To: ID = ""41107b81""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: Name = "iexplore.exe"
      To: Name = ""iexplore.exe""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\MostRecentApplication
    • From: ID = "4117b81"
      To: ID = ""41107b81""

Step 6

Search and delete these files

[ 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%\1192.exe
  • %User Temp%\server.exe
  • %User Temp%\397121_10150552723087663_971601574_n.jpg
  • %User Temp%\x.html
  • %Windows%\InstallDir\testing.exe

Step 7

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 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_MSIL_0000034.TOMA. 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 deleted/modified files and/or registry entries from backup

*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

    • %Application Data%\GDIPFONTCACHEV1.DAT

Step 10

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.

  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\security.config.cch.608.43515
  • %Windows%\Microsoft.NET\Framework\v2.0.50727\config\enterprisesec.config.cch.608.43531
  • %User Profile%\v2.0.50727.42\security.config.cch.608.43656
  • %User Profile%\Windows\XTx6fi94JY35d0.xtr


Did this description help? Tell us how we did.