WORM_ONLINEG.HHI


 ALIASES:

Worm:Win32/Taterf.B (Microsoft); Generic PWS.ak (McAfee); Infostealer.Gampass (Symantec); Trojan-Dropper.Win32.Agent.ahzm (Kaspersky); Worm.Win32.Taterf.b (v) (Sunbelt); Trojan.PWS.OnLineGames.KCNQ (FSecure)

 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • 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.

  TECHNICAL DETAILS

File Size:

166,692 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

22 Jun 2012

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%\oukdfgr.exe

(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.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
hjdsdse = "%System%\oukdfgr.exe"

It registers itself as a BHO to ensure its automatic execution every time Internet Explorer is used by adding the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\
Browser Helper Objects\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}

It registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Services\KAVsys

Other System Modifications

This worm deletes the following files:

  • %System Root%\93to.bat

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

It adds the following registry keys:

HKEY_CLASSES_ROOT\IEHlprObj.IEHlprObj.1

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
IEHlprObj.IEHlprObj.1\CLSID

HKEY_CLASSES_ROOT\IEHlprObj.IEHlprObj

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
IEHlprObj.IEHlprObj\CurVer

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}\VersionIndependentProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}\Programmable

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\
Browser Helper Objects

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0\
FLAGS

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0\
0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0\
0\win32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0\
HELPDIR

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}\ProxyStubClsid

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}\ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}\TypeLib

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KAVsys
Type = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KAVsys
ErrorControl = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KAVsys
Start = "1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\KAVsys
ImagePath = "\??\%System%\drivers\klif.sys"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}\InprocServer32
ThreadingModel = "Apartment"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}\TypeLib
Version = "1.0"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
ShowSuperHidden = "0"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = "2"

(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 = "91"

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

It deletes the following registry keys:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Services\KAVsys\Enum

HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Services\KAVsys\Security

Dropping Routine

This worm drops the following files:

  • %System%\drivers\klif.sys
  • %System%\bgdferw0.dll
  • %System%\hyrteas0.dll
  • %System Root%\autorun.inf
  • %System Root%\93to.bat

(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.. %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)

Other Details

This worm connects to the following possibly malicious URL:

  • http://{BLOCKED}s.com/hg2/ll.rar

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

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

Close all opened browser windows

Step 4

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\System\CurrentControlSet\Services
    • KAVsys
  • In HKEY_CLASSES_ROOT
    • IEHlprObj.IEHlprObj.1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\IEHlprObj.IEHlprObj.1
    • CLSID
  • In HKEY_CLASSES_ROOT
    • IEHlprObj.IEHlprObj
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\IEHlprObj.IEHlprObj
    • CurVer
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {F171A450-7AF5-43E1-AFED-EDC826A1B0F5}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}
    • VersionIndependentProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}
    • Programmable
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    • Browser Helper Objects
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
    • {F171A442-7AF5-43E1-AFED-EDC826A1B0F5}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}
    • 1.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0
    • FLAGS
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0
    • 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0\0
    • win32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{F171A442-7AF5-43E1-AFED-EDC826A1B0F5}\1.0
    • HELPDIR
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
    • {F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}
    • ProxyStubClsid
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}
    • ProxyStubClsid32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}
    • TypeLib

Step 5

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
    • hjdsdse = "%System%\oukdfgr.exe"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KAVsys
    • Type = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KAVsys
    • ErrorControl = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KAVsys
    • Start = "1"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\KAVsys
    • ImagePath = "\??\%System%\drivers\klif.sys"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F171A450-7AF5-43E1-AFED-EDC826A1B0F5}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F171A44F-7AF5-43E1-AFED-EDC826A1B0F5}\TypeLib
    • Version = "1.0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • ShowSuperHidden = "0"

Step 6

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\CurrentVersion\Explorer\Advanced
    • From: Hidden = "2"
      To: Hidden = ""2""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL
    • From: CheckedValue = "0"
      To: CheckedValue = ""1""
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    • From: NoDriveTypeAutoRun = "91"
      To: NoDriveTypeAutoRun = ""91""

Step 7

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.
  • %System%\drivers\klif.sys
  • %System%\bgdferw0.dll
  • %System%\hyrteas0.dll
  • %System Root%\autorun.inf
  • %System Root%\93to.bat

Step 8

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

  • %System Root%\93to.bat

Step 10

Restore these deleted registry keys/values from backup

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

  • In HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\KAVsys
    • Enum
  • In HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\KAVsys
    • Security


Did this description help? Tell us how we did.