WORM_IMAUT.SMA
Worm:Win32/Abfewsm.A, Scanning damaged file () (Microsoft); W32/Autorun.worm.bcb (McAfee); W32.SillyFDC (Symantec); Trojan-Dropper.Win32.Autoit.k (Kaspersky); Worm.Win32.Abfewsm.a (v) (Sunbelt); Worm/Generic.BBIE (AVG)
Windows 2000, Windows XP, Windows Server 2003
Threat Type: Worm
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This worm arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It disables Task Manager, Registry Editor, and Folder Options.
TECHNICAL DETAILS
392,608 bytes
EXE
Yes
08 May 2013
Arrival Details
This worm 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 worm drops the following copies of itself into the affected system:
- %System Root%\KHATRA.exe
- %System%\KHATRA.exe
- %Windows%\Xplorer.exe
- %System%\gHost.exe
- %Windows%\KHATARNAKH.exe
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %System% is the Windows system folder, which is usually C:\Windows\System32.. %Windows% is the Windows folder, which is usually C:\Windows.)
It creates the following folders:
- %Windows%\K.Backup
(Note: %Windows% is the Windows folder, which is usually C:\Windows.)
Autostart Technique
This worm adds the following registry entries to enable its automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
Taskman = "%System%\KHATRA.exe"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Xplorer = "%Windows%\Xplorer.exe /Windows"
Other System Modifications
This worm deletes the following files:
- %Windows%\Xplorer.exe
- %System%\gHost.exe
- %System Root%\KHATRA.exe
- %System%\KHATRA.exe
- %Application Data%\Microsoft\CD Burning\AUTORUN.inF
- %Application Data%\Microsoft\CD Burning\New Folder(3).exe
(Note: %Windows% is the Windows folder, which is usually C:\Windows.. %System% is the Windows system folder, which is usually C:\Windows\System32.. %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %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 keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer\Run
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
HKEY_CURRENT_USER\Software\Nico Mak Computing\
WinZip\caution
HKEY_LOCAL_MACHINE\Software\KHATRA\
Startup_List
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer\Run
G_Host = "%System%\gHost.exe /Reproduce"
HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
Window Title = "Internet Exploiter"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Schedule
AtTaskMaxHours = "0"
HKEY_CURRENT_USER\Software\Nico Mak Computing\
WinZip\caution
NoUnsafeTypeCautionForSCR = "1"
HKEY_CURRENT_USER\Software\Nico Mak Computing\
WinZip\caution
NoUnsafeTypeCautionForEXE = "1"
HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\
Startup_List
Adobe Reader Speed Launcher = "%Program Files%\Adobe\Reader 10.0\Reader\Reader_sl.exe"
HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\
Startup_List
Adobe ARM = "%Program Files%\Common Files\Adobe\ARM\1.0\AdobeARM.exe"
HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\
Startup_List
restart_run = "%System Root%\cwsandbox_manager\restart_run\run.bat"
HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\
Startup_List
Xplorer = "%Windows%\Xplorer.exe /Windows"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%System%\KHATRA.exe = "%System%\KHATRA.exe:*:Enabled:System"
It modifies the following registry entries:
HKEY_CURRENT_USER\Software\Microsoft\
Windows NT\CurrentVersion\Windows
Load = "%System%\KHATRA.exe"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = "0"
(Note: The default value data of the said registry entry is 2.)
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.)
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\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Adobe Reader Speed Launcher = "%System%\KHATRA.exe"
(Note: The default value data of the said registry entry is "%Program Files%\Adobe\Reader 8.0\Reader\Reader_sl.exe".)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
Adobe ARM = "%Windows%\Xplorer.exe"
(Note: The default value data of the said registry entry is "%Program Files%\Common Files\Adobe\ARM\1.0\AdobeARM.exe".)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\wscsvc
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\ProtectedStorage
Start = "4"
(Note: The default value data of the said registry entry is 2.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\upnphost
Start = "2"
(Note: The default value data of the said registry entry is 3.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\mnmsrvc
Start = "2"
(Note: The default value data of the said registry entry is 3.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\RDSessMgr
Start = "2"
(Note: The default value data of the said registry entry is 3.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\NtmsSvc
Start = "2"
(Note: The default value data of the said registry entry is 3.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\TermService
Start = "2"
(Note: The default value data of the said registry entry is 3.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\TlntSvr
Start = "2"
(Note: The default value data of the said registry entry is 4.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi
LogSessionName = "stdout"
(Note: The default value data of the said registry entry is {random values}.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi
Active = "1"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi
ControlFlags = "1"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi\ImapiSvc
Guid = "8107d8e9-e323-49f5-bba2-abc35c243dca"
(Note: The default value data of the said registry entry is 8107d8e9-e323-49f5-bba2-abc35c243dca.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Tracing\
Microsoft\Imapi\ImapiSvc
BitNames = "{random characters}"
(Note: The default value data of the said registry entry is ImapiDebugError ImapiDebugWarning ImapiDebugTrace ImapiDebugInfo ImapiDebugX ImapiDebugSort.)
It creates the following registry entry(ies) to disable Task Manager, Registry Tools and Folder Options:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
System
DisableRegistryTools = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoControlPanel = "1"
Dropping Routine
This worm drops the following files:
- %Common Startup%\(Empty).LNK
- %User Temp%\autE.tmp
- %User Temp%\aut13.tmp
- %Temp%\o44vkx4p.TMP
- %Application Data%\Microsoft\CD Burning\KHATRA.exe
- %Application Data%\Microsoft\CD Burning\AUTORUN.inF
- %Application Data%\Microsoft\CD Burning\Wilbert.exe
- %Application Data%\Microsoft\CD Burning\New Folder(3).exe
(Note: %Common Startup% is the system's shared Startup folder, which is usually C:\Documents and Settings\All Users\Start Menu\Programs\Startup on Windows 2000, XP, and Server 2003.. %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.. %Temp% is the Windows Temporary folder, which is usually C:\Windows\Temp.. %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.)
This report is generated via an automated analysis system.
SOLUTION
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
Identify and delete files detected as WORM_IMAUT.SMA using either the Startup Disk or Recovery Console
Step 3
Enable Registry Editor, Task Manager, and Folder options
Step 4
Delete this registry key
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
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
- System
- In HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip
- caution
- In HKEY_LOCAL_MACHINE\Software\KHATRA
- Startup_List
Step 5
Delete this registry value
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 NT\CurrentVersion\Winlogon
- Taskman = "%System%\KHATRA.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Xplorer = "%Windows%\Xplorer.exe /Windows"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run
- G_Host = "%System%\gHost.exe /Reproduce"
- In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- Window Title = "Internet Exploiter"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Schedule
- AtTaskMaxHours = "0"
- 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_LOCAL_MACHINE\SOFTWARE\KHATRA\Startup_List
- Adobe Reader Speed Launcher = "%Program Files%\Adobe\Reader 10.0\Reader\Reader_sl.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\Startup_List
- Adobe ARM = "%Program Files%\Common Files\Adobe\ARM\1.0\AdobeARM.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\Startup_List
- restart_run = "%System Root%\cwsandbox_manager\restart_run\run.bat"
- In HKEY_LOCAL_MACHINE\SOFTWARE\KHATRA\Startup_List
- Xplorer = "%Windows%\Xplorer.exe /Windows"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %System%\KHATRA.exe = "%System%\KHATRA.exe:*:Enabled:System"
Step 6
Restore these modified registry values
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_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
- Load = "%System%\KHATRA.exe"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
- From: Hidden = "0"
To: Hidden = ""2""
- From: Hidden = "0"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL
- From: CheckedValue = "0"
To: CheckedValue = ""1""
- From: CheckedValue = "0"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- From: NoDriveTypeAutoRun = "ff"
To: NoDriveTypeAutoRun = ""91""
- From: NoDriveTypeAutoRun = "ff"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- From: Adobe Reader Speed Launcher = "%System%\KHATRA.exe"
To: Adobe Reader Speed Launcher = """%Program Files%\Adobe\Reader 8.0\Reader\Reader_sl.exe"""
- From: Adobe Reader Speed Launcher = "%System%\KHATRA.exe"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- From: Adobe ARM = "%Windows%\Xplorer.exe"
To: Adobe ARM = """%Program Files%\Common Files\Adobe\ARM\1.0\AdobeARM.exe"""
- From: Adobe ARM = "%Windows%\Xplorer.exe"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\wscsvc
- From: Start = "4"
To: Start = ""2""
- From: Start = "4"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ProtectedStorage
- From: Start = "4"
To: Start = ""2""
- From: Start = "4"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\upnphost
- From: Start = "2"
To: Start = ""3""
- From: Start = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\mnmsrvc
- From: Start = "2"
To: Start = ""3""
- From: Start = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\RDSessMgr
- From: Start = "2"
To: Start = ""3""
- From: Start = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NtmsSvc
- From: Start = "2"
To: Start = ""3""
- From: Start = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TermService
- From: Start = "2"
To: Start = ""3""
- From: Start = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TlntSvr
- From: Start = "2"
To: Start = ""4""
- From: Start = "2"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi
- From: LogSessionName = "stdout"
To: LogSessionName = ""{random values}""
- From: LogSessionName = "stdout"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi
- From: Active = "1"
To: Active = ""1""
- From: Active = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi
- From: ControlFlags = "1"
To: ControlFlags = ""1""
- From: ControlFlags = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi\ImapiSvc
- From: Guid = "8107d8e9-e323-49f5-bba2-abc35c243dca"
To: Guid = ""8107d8e9-e323-49f5-bba2-abc35c243dca""
- From: Guid = "8107d8e9-e323-49f5-bba2-abc35c243dca"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Tracing\Microsoft\Imapi\ImapiSvc
- From: BitNames = "{random characters}"
To: BitNames = "" ImapiDebugError ImapiDebugWarning ImapiDebugTrace ImapiDebugInfo ImapiDebugX ImapiDebugSort""
- From: BitNames = "{random characters}"
Step 7
Search and delete these components
- %Common Startup%\(Empty).LNK
- %User Temp%\autE.tmp
- %User Temp%\aut13.tmp
- %Temp%\o44vkx4p.TMP
- %Application Data%\Microsoft\CD Burning\KHATRA.exe
- %Application Data%\Microsoft\CD Burning\AUTORUN.inF
- %Application Data%\Microsoft\CD Burning\Wilbert.exe
- %Application Data%\Microsoft\CD Burning\New Folder(3).exe
Step 8
Search and delete this folder
- %Windows%\K.Backup
Step 9
Scan your computer with your Trend Micro product to delete files detected as WORM_IMAUT.SMA. 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 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%\Xplorer.exe
- %System%\gHost.exe
- %System Root%\KHATRA.exe
- %System%\KHATRA.exe
- %Application Data%\Microsoft\CD Burning\AUTORUN.inF
- %Application Data%\Microsoft\CD Burning\New Folder(3).exe
Did this description help? Tell us how we did.