ALIASES:

RDN/Generic.cf!a (McAfee); Trojan.Win32.Deshacop.en (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan horse MSIL7.CNCX (AVG)

 PLATFORM:

Windows

 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: 847,872 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 06 Jun 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.

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
BitC = "{malware path and file name} "

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\RunOnce
*BitC = "{malware path and file name} "

Other System Modifications

This Trojan modifies the following file(s):

  • %System%\WBEM\AutoRecover\88744D2A29102FC88ECF505DD2E984FC.mof

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

It deletes the following files:

  • %User Temp%\ztyhtwn5.pdb

(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 adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Wbem\WMIC

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Wbem\WMIC

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
mofcompstatus = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
WMICLC = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
mofcompMUIStatus = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
mofcompMUIStatus = "ffffffff"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
Cli.mof = "127360152460000000"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
CliEgAliases.mof = "127360152460000000"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
CliEgAliases.mfl = "127360152460000000"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\WMIC
mofcompstatus = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Wbem\WMIC
WMICLC = "49"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130760673028593750"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs = "{random characters}"

(Note: The default value data of the said registry entry is {random values}.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130760673562656250"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
WBEM\CIMOM
Autorecover MOFs timestamp = "130760673571406250"

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

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\ztyhtwn5.tmp
  • %User Temp%\ztyhtwn5.0.cs
  • %User Temp%\ztyhtwn5.dll
  • %User Temp%\ztyhtwn5.cmdline
  • %User Temp%\ztyhtwn5.out
  • %User Temp%\ztyhtwn5.err
  • %User Temp%\CSC7.tmp
  • %User Temp%\RESA.tmp
  • %User Temp%\tmpE.tmp
  • %User Temp%\tmp12.tmp
  • %System%\WBEM\AutoRecover\C8463ECBE33BC240263A0B094E46D510.mof
  • %User Temp%\tmp17.tmp
  • %System%\WBEM\AutoRecover\23BDE61F1F4FACE17E9B0C01F2A1FD9B.mof

(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.. %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

This report is generated via an automated analysis system.

  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

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Wbem\
    • WMIC
  • In HKEY_CURRENT_USER\SOFTWARE\Microsoft\Wbem\
    • WMIC

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\CurrentVersion\Run
    • BitC = "{malware path and file name} "
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
    • *BitC = "{malware path and file name} "
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
    • mofcompstatus = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
    • WMICLC = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
    • mofcompMUIStatus = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
    • mofcompMUIStatus = "ffffffff"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
    • Cli.mof = "127360152460000000"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
    • CliEgAliases.mof = "127360152460000000"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
    • CliEgAliases.mfl = "127360152460000000"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\WMIC
    • mofcompstatus = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Wbem\WMIC
    • WMICLC = "49"

Step 5

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs timestamp = "130760673028593750"
      To: Autorecover MOFs timestamp = ""129689362348742500""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs = "{random characters}"
      To: Autorecover MOFs = ""{random values}""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs timestamp = "130760673562656250"
      To: Autorecover MOFs timestamp = ""129689362348742500""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM
    • From: Autorecover MOFs timestamp = "130760673571406250"
      To: Autorecover MOFs timestamp = ""129689362348742500""

Step 6

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 Temp%\ztyhtwn5.tmp
  • %User Temp%\ztyhtwn5.0.cs
  • %User Temp%\ztyhtwn5.dll
  • %User Temp%\ztyhtwn5.cmdline
  • %User Temp%\ztyhtwn5.out
  • %User Temp%\ztyhtwn5.err
  • %User Temp%\CSC7.tmp
  • %User Temp%\RESA.tmp
  • %User Temp%\tmpE.tmp
  • %User Temp%\tmp12.tmp
  • %System%\WBEM\AutoRecover\C8463ECBE33BC240263A0B094E46D510.mof
  • %User Temp%\tmp17.tmp
  • %System%\WBEM\AutoRecover\23BDE61F1F4FACE17E9B0C01F2A1FD9B.mof

Step 7

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

    • %System%\WBEM\AutoRecover\88744D2A29102FC88ECF505DD2E984FC.mof

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 Temp%\ztyhtwn5.pdb


Did this description help? Tell us how we did.