TROJ_KRYPTIK.KCH


 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.

  TECHNICAL DETAILS

File Size:

164,368 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

20 Aug 2013

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:

  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nsx5.tmp
  • %User Temp%\nsy9.tmp

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %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 current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.)

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
Microsoft = "RUNDLL32.EXE %Application Data%\Microsoft\hjbdgxgv.dll,DllGetClassObject"

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\nss1.tmp
  • %User Temp%\nsx5.tmp
  • %User Temp%\nsy9.tmp
  • %Application Data%\Microsoft\hjbdgxgv.dll
  • %Application Data%\Microsoft\hjbdgxgv.dll.old
  • %Application Data%\Microsoft\fkxpdfjz.dll

(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, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.. %Application Data% is the current user's Application Data folder, which is usually C:\Documents and Settings\{user name}\Application Data on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Roaming on Windows Vista and 7.)

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft
{BEBB4E22-760C-A84B-66D7-0E378ACC1E91} = "{random values}"

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\nsh3.tmp
  • %User Temp%\nsx5.tmp\System.dll
  • %User Temp%\nsy9.tmp\xwdkocjt.dll

(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, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.)

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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 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
    • Microsoft = "RUNDLL32.EXE %Application Data%\Microsoft\hjbdgxgv.dll,DllGetClassObject"
  • In HKEY_CURRENT_USER\Software\Microsoft
    • {BEBB4E22-760C-A84B-66D7-0E378ACC1E91} = "{random values}"

Step 4

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%\nsh3.tmp
  • %User Temp%\nsx5.tmp\System.dll
  • %User Temp%\nsy9.tmp\xwdkocjt.dll

Step 5

Search and delete these folders

[ 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 Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nsx5.tmp
  • %User Temp%\nsy9.tmp

Step 6

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

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%\nss1.tmp
  • %User Temp%\nsx5.tmp
  • %User Temp%\nsy9.tmp
  • %Application Data%\Microsoft\hjbdgxgv.dll
  • %Application Data%\Microsoft\hjbdgxgv.dll.old
  • %Application Data%\Microsoft\fkxpdfjz.dll


Did this description help? Tell us how we did.