ALIASES:

Worm:Win32/Taterf.B (Microsoft); Generic PWS.ak (McAfee); W32.Gammima.AG!gen3 (Symantec); Trojan-GameThief.Win32.Magania.bfet (Kaspersky); Worm.Win32.Taterf.b (v) (Sunbelt); Trojan horse PSW.OnlineGames3.LAM (AVG)

 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: 196,608 bytes
File Type: EXE
Memory Resident: Yes
Initial Samples Received Date: 09 May 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 drops the following copies of itself into the affected system:

  • %System%\ahnsbsb.exe

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.)

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
ahnsoft = "%System%\ahnsbsb.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\{AF4DA69B-E1D6-469A-855B-6445294857D4}

Other System Modifications

This Trojan deletes the following files:

  • %System%\drivers\cdaudio.sys
  • %System Root%\a63grox.com

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\{AF4DA69B-E1D6-469A-855B-6445294857D4}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}\VersionIndependentProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}\Programmable

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0\
FLAGS

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0\
0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0\
0\win32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0\
HELPDIR

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}\ProxyStubClsid

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}\ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}\TypeLib

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}\InprocServer32
ThreadingModel = "Apartment"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}\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.)

Dropping Routine

This Trojan drops the following files:

  • %System%\ahnxsds0.dll
  • %System%\ahnfgss0.dll
  • %System Root%\autorun.inf
  • %System%\drivers\cdaudio.sys
  • %System Root%\a63grox.com

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}fd.com/xhg2/ll1.rar

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

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_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
    • {AF4DA69B-E1D6-469A-855B-6445294857D4}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}
    • VersionIndependentProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}
    • Programmable
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
    • {AF4DA692-E1D6-469A-855B-6445294857D4}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}
    • 1.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0
    • FLAGS
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0
    • 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0\0
    • win32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AF4DA692-E1D6-469A-855B-6445294857D4}\1.0
    • HELPDIR
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
    • {AF4DA69C-E1D6-469A-855B-6445294857D4}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}
    • ProxyStubClsid
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}
    • ProxyStubClsid32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}
    • 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
    • ahnsoft = "%System%\ahnsbsb.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{AF4DA69B-E1D6-469A-855B-6445294857D4}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{AF4DA69C-E1D6-469A-855B-6445294857D4}\TypeLib
    • Version = "1.0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • ShowSuperHidden = "0"

Step 6

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_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 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.
  • %System%\ahnxsds0.dll
  • %System%\ahnfgss0.dll
  • %System Root%\autorun.inf
  • %System%\drivers\cdaudio.sys
  • %System Root%\a63grox.com

Step 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_GAMETHI.AIN. 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%\drivers\cdaudio.sys
  • %System Root%\a63grox.com


Did this description help? Tell us how we did.