WORM_UTOTI.KH

 Modified by: Michael Cabel

 ALIASES:

Microsoft: Worm:Win32/Katar.A; Mcafee: W32/Autorun.worm.aaaz; Symantec: W32.Harakit

 PLATFORM:

Windows 2000, XP, Server 2003

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

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Propagates via removable drives


This worm arrives as an attachment to email messages spammed by other malware/grayware or malicious users. It may be downloaded by other malware/grayware/spyware from remote sites.

It uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.

It modifies registry entries to hide files with System and Read-only attributes.

It drops copies of itself into network drives. It drops copies of itself in all removable drives.

  TECHNICAL DETAILS

File Size:

581,120 bytes

File Type:

PE

Memory Resident:

Yes

Initial Samples Received Date:

29 Nov 2010

Payload:

Hides files and processes

Arrival Details

This worm arrives as an attachment to email messages spammed by other malware/grayware or malicious users.

It may be downloaded by other malware/grayware/spyware from remote sites.

Installation

This worm drops the following copies of itself into the affected system:

  • %System Root%\KHATRA.exe
  • %Windows%\Xplorer.exe
  • %Windows%\KHATARNAKH.exe
  • %System%\KHATRA.exe
  • %Windows%\system\gHost.exe
  • %Application Data%\Microsoft\CD Burning\KHATRA.exe
  • %Application Data%\Microsoft\CD Burning\winxp.exe
  • %Application Data%\Microsoft\CD Burning\New Folder(3).exe

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.. %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.. %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 drops the following non-malicious file:

  • %Windows%\inf\Autoplay.inF

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

It uses the Windows Task Scheduler to add a scheduled task that executes the copies it drops.

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer\Run
G_Host = %Windows%\System\gHost.exe /Reproduce

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Xplorer = ""%Windows%\Xplorer.exe" /Windows"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Taskman = "%System%\KHATRA.exe"

It modifies the following registry entries to ensure it automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
load = "%System%\KHATRA.exe"

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

Other System Modifications

This worm adds the following registry entries as part of its installation routine:

HKEY_CURRENT_USER\Software\Nico Mak Computing\
WinZip\caution
NoUnsafeTypeCautionForSCR = "1"

HKEY_CURRENT_USER\Software\Nico Mak Computing\
WinZip\caution
NoUnsafeTypeCautionForEXE = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
Window Title = "Internet Exploiter"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableRegistryTools = 1

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoControlPanel = 1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Tracing\FWCFG
EnableFileTracing = 0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Tracing\FWCFG
EnableConsoleTracing = 0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Tracing\FWCFG
FileTracingMask = dword:ffff0000

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Tracing\FWCFG
ConsoleTracingMask = ffff0000

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Tracing\FWCFG
MaxFileSize = 00100000

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Schedule
AtTaskMaxHours = 0

It modifies the following registry key(s)/entry(ies) as part of its installation routine:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoDriveTypeAutoRun = ff

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\mnmsrvc
Start = 2

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\NtmsSvc
Start = 2

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\ProtectedStorage
Start = 4

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\RDSessMgr
Start = 2

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TermService
Start = 2

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\TlntSvr
Start = 2

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\upnphost
Start = 2

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

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\wscsvc
Start = 4

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

It adds the following registry keys as part of its installation routine:

HKEY_CLASSES_ROOT\AOSMTP.FastSender

HKEY_CLASSES_ROOT\AOSMTP.FastSender.1

HKEY_CLASSES_ROOT\AOSMTP.Mail

HKEY_CLASSES_ROOT\AOSMTP.Mail.1

HKEY_CLASSES_ROOT\CLSID\{69620165-77DD-44EE-995C-3632E525A22B}

HKEY_CLASSES_ROOT\CLSID\{F8D07B72-B4B4-46A0-ACC0-C771D4614B82}

HKEY_CLASSES_ROOT\Interface\{1ECC44FB-970D-4BC8-90E3-002DA4DD21B8}

HKEY_CLASSES_ROOT\Interface\{63BD4EE4-660B-434D-A54B-7C1F53E2FEDD}

HKEY_CLASSES_ROOT\Interface\{6D2C09C4-EC95-4251-81FD-1CD01FD8AE44}

HKEY_CLASSES_ROOT\Interface\{D622E87A-35F9-4FB2-AFEE-4F5BF8407C7A}

HKEY_CLASSES_ROOT\TypeLib\{FF14B02B-6EE4-400F-A729-B0EA35F921C2}

HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA

It modifies the following registry entries to hide files with System and Read-only attributes:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = 0

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced\Folder\Hidden\
SHOWALL
CheckedValue = 0

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

It creates the following registry entry(ies) to bypass Windows Firewall:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%System%\KHATRA.exe = "%System%\KHATRA.exe:*:Enabled:System"

Propagation

This worm drops copies of itself into network drives.

It drops copies of itself in all removable drives.

Other Details

This worm does the following:

  • It drops several .CAB files in the Windows folder that contains a copy of itself.
  • It uses file names of popular games and applications as the file names of the said .CAB files.
  • It also searches for folders in the following directory and drops a copy using the name of folders found:
    • %User Profile%\My Documents
  • It searches for registry entries under the following registry hive and replaces the registry data with "%System%\KHATRA.exe" to enable execution in every system startup:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

  SOLUTION

Minimum Scan Engine:

8.900

VSAPI PATTERN File:

7.660.02

VSAPI PATTERN Date:

29 Nov 2010

VSAPI PATTERN Date:

11/29/2010 12:00:00 AM

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 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\policies\Explorer\Run
    • G_Host = %Windows%\System\gHost.exe /Reproduce
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • Xplorer = %Windows%\Xplorer.exe /Windows
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • Taskman = %System%\KHATRA.exe
  • In HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\caution
    • NoUnsafeTypeCautionForSCR = 1
  • In HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\caution
    • NoUnsafeTypeCautionForEXE = 1
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
    • Window Title = Internet Exploiter
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
    • DisableRegistryTools = 1
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • NoControlPanel = 1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\FWCFG
    • EnableFileTracing = 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\FWCFG
    • EnableConsoleTracing = 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\FWCFG
    • FileTracingMask = dword:ffff0000
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\FWCFG
    • ConsoleTracingMask = ffff0000
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\FWCFG
    • MaxFileSize = 00100000
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule
    • AtTaskMaxHours = 0
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
    • %System%\KHATRA.exe = %System%\KHATRA.exe:*:Enabled:System

Step 4

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\Windows NT\CurrentVersion\Windows
    • From: load = %System%\KHATRA.exe
      To:
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • From: NoDriveTypeAutoRun = ff
      To: 91
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mnmsrvc
    • From: Start = 2
      To: 3
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtmsSvc
    • From: Start = 2
      To: 3
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ProtectedStorage
    • From: Start = 4
      To: 2
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RDSessMgr
    • From: Start = 2
      To: 3
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService
    • From: Start = 2
      To: 3
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TlntSvr
    • From: Start = 2
      To: 3
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upnphost
    • From: Start = 2
      To: 3
  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc
    • From: Start = 4
      To: 2

Step 5

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. Before you could do this, you must restart in Safe Mode. For instructions on how to do this, you may refer to this page If the preceding step requires you to restart in safe mode, you may proceed to edit the system registry.

  • In HKEY_CLASSES_ROOT
    • AOSMTP.FastSender
  • In HKEY_CLASSES_ROOT
    • AOSMTP.FastSender.1
  • In HKEY_CLASSES_ROOT
    • AOSMTP.Mail
  • In HKEY_CLASSES_ROOT
    • AOSMTP.Mail.1
  • In HKEY_CLASSES_ROOT\CLSID
    • {69620165-77DD-44EE-995C-3632E525A22B}
  • In HKEY_CLASSES_ROOT\CLSID
    • {F8D07B72-B4B4-46A0-ACC0-C771D4614B82}
  • In HKEY_CLASSES_ROOT\Interface
    • {1ECC44FB-970D-4BC8-90E3-002DA4DD21B8}
  • In HKEY_CLASSES_ROOT\Interface
    • {63BD4EE4-660B-434D-A54B-7C1F53E2FEDD}
  • In HKEY_CLASSES_ROOT\Interface
    • {6D2C09C4-EC95-4251-81FD-1CD01FD8AE44}
  • In HKEY_CLASSES_ROOT\Interface
    • {D622E87A-35F9-4FB2-AFEE-4F5BF8407C7A}
  • In HKEY_CLASSES_ROOT\TypeLib
    • {FF14B02B-6EE4-400F-A729-B0EA35F921C2}
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • KHATRA

Step 6

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. %Windows%\inf\Autoplay.inF

Step 7

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

    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

    Note: Restore the modified autostart registry entries from backup. You may also reinstall the applications related to the modified registry entries in this registry hive.

Step 9

Scan your computer with your Trend Micro product to delete files detected as WORM_UTOTI.KH. 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.


Did this description help? Tell us how we did.