TROJ_MSIDEBAR.B


 ALIASES:

Trojan:Win32/Msidebar.A (Microsoft); RDN/Generic.dx!cgw (McAfee); Adware.Adpopup (Symantec); Trojan.Win32.Generic!BT (Sunbelt)

 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:

874,513 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

09 Jun 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:

  • %User Temp%\$inst
  • %Program Files%\smartsearch

(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.. %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), and 7 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), and 7 (64-bit).)

Autostart Technique

This Trojan 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\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\$inst\0.tmp
  • %User Temp%\$inst\1.tmp
  • %User Temp%\$inst\3.tmp
  • %User Temp%\$inst\4.tmp
  • %User Temp%\$inst\5.tmp
  • %User Temp%\$inst\6.tmp
  • %User Temp%\$inst\7.tmp
  • %User Temp%\$inst\8.tmp
  • %User Temp%\$inst\9.tmp
  • %User Temp%\$inst\10.tmp
  • %User Temp%\$inst\11.tmp
  • %User Temp%\$inst\12.tmp
  • %User Temp%\$inst\13.tmp
  • %User Temp%\$inst\14.tmp
  • %User Temp%\$inst\15.tmp
  • %User Temp%\$inst\16.tmp
  • %User Temp%\$inst\17.tmp
  • %User Temp%\$inst\20.tmp
  • %User Temp%\$inst\50.tmp
  • %User Temp%\$inst\21.tmp
  • %User Temp%\$inst\51.tmp

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

It adds the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
smartsearch

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0\
FLAGS

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0\
0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0\
0\win32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0\
HELPDIR

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}\ProxyStubClsid

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}\ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}\TypeLib

HKEY_CLASSES_ROOT\CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}\InprocServer32

HKEY_CLASSES_ROOT\smartsearchpg.smartsearch

HKEY_LOCAL_MACHINE\SOFTWARE\smartsearch\
tsurl

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Control

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{48E59290-9880-11CF-9754-00AA00C00908}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{48E59290-9880-11CF-9754-00AA00C00908}\1.0\
0

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
smartsearch
DisplayName = "smartsearch"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
smartsearch
DisplayIcon = "%Program Files%\smartsearch\Uninstall.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
smartsearch
UninstallString = "%Program Files%\smartsearch\Uninstall.exe"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
smartsearch
NoModify = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
smartsearch
NoRepair = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}\TypeLib
Version = "11.0"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
ProgID = "smartsearchpg.smartsearch"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}\InprocServer32
ThreadingModel = "Apartment"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
TypeLib = "{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
VERSION = "17.0"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
smartsearchpg.smartsearch
Clsid = "{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
ProxyStubClsid = "{00020424-0000-0000-C000-000000000046}"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
ProxyStubClsid32 = "{00020424-0000-0000-C000-000000000046}"

HKEY_LOCAL_MACHINE\SOFTWARE\smartsearch
Thnd = "2134"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion
smartsearch = "1"

It modifies the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\InprocServer32
ThreadingModel = "Apartment"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{48E59291-9880-11CF-9754-00AA00C00908}\TypeLib
Version = "1.0"

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

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{48E59292-9880-11CF-9754-00AA00C00908}\TypeLib
Version = "1.0"

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

It deletes the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\TypeLib

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented Categories\
{40FC6ED5-2438-11CF-A3DB-080036F12502}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented Categories

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59293-9880-11CF-9754-00AA00C00908}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59294-9880-11CF-9754-00AA00C00908}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59294-9880-11CF-9754-00AA00C00908}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59295-9880-11CF-9754-00AA00C00908}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{48E59295-9880-11CF-9754-00AA00C00908}

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\$inst\2.tmp
  • %User Temp%\$inst\temp_0.tmp
  • %Program Files%\smartsearch\Uninstall.ini

(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.. %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000, Server 2003, and XP (32-bit), Vista (32-bit), and 7 (32-bit), or C:\Program Files (x86) in Windows XP (64-bit), Vista (64-bit), and 7 (64-bit).)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://{BLOCKED}.93.27/~paran/execute.php?{random characters}

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

Close all opened browser windows

Step 3

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\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    • smartsearch
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
    • {AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}
    • 11.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0
    • FLAGS
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0
    • 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0\0
    • win32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}\11.0
    • HELPDIR
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
    • {997974DB-4CFC-47A0-91AE-C687D82F686F}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
    • ProxyStubClsid
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
    • ProxyStubClsid32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
    • TypeLib
  • In HKEY_CLASSES_ROOT\CLSID
    • {BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
    • InprocServer32
  • In HKEY_CLASSES_ROOT
    • smartsearchpg.smartsearch
  • In HKEY_LOCAL_MACHINE\SOFTWARE\smartsearch
    • tsurl
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}
    • Control
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
    • {48E59290-9880-11CF-9754-00AA00C00908}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{48E59290-9880-11CF-9754-00AA00C00908}\1.0
    • 0

Step 4

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\Uninstall\smartsearch
    • DisplayName = "smartsearch"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartsearch
    • DisplayIcon = "%Program Files%\smartsearch\Uninstall.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartsearch
    • UninstallString = "%Program Files%\smartsearch\Uninstall.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartsearch
    • NoModify = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\smartsearch
    • NoRepair = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}\TypeLib
    • Version = "11.0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
    • ProgID = "smartsearchpg.smartsearch"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
    • TypeLib = "{AA3B5F0E-FC96-4660-A3CA-5E2E9AD1554D}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}
    • VERSION = "17.0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\smartsearchpg.smartsearch
    • Clsid = "{BE48C8A9-73C8-433A-A705-A800ABB5D5A0}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
    • ProxyStubClsid = "{00020424-0000-0000-C000-000000000046}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{997974DB-4CFC-47A0-91AE-C687D82F686F}
    • ProxyStubClsid32 = "{00020424-0000-0000-C000-000000000046}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\smartsearch
    • Thnd = "2134"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
    • smartsearch = "1"

Step 5

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_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\InprocServer32
    • From: ThreadingModel = "Apartment"
      To: ThreadingModel = ""Apartment""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{48E59291-9880-11CF-9754-00AA00C00908}\TypeLib
    • From: Version = "1.0"
      To: Version = ""1.0""
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{48E59292-9880-11CF-9754-00AA00C00908}\TypeLib
    • From: Version = "1.0"
      To: Version = ""1.0""

Step 6

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%\$inst\2.tmp
  • %User Temp%\$inst\temp_0.tmp
  • %Program Files%\smartsearch\Uninstall.ini

Step 7

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.
  • %User Temp%\$inst
  • %Program Files%\smartsearch

Step 8

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

  • %User Temp%\$inst\0.tmp
  • %User Temp%\$inst\1.tmp
  • %User Temp%\$inst\3.tmp
  • %User Temp%\$inst\4.tmp
  • %User Temp%\$inst\5.tmp
  • %User Temp%\$inst\6.tmp
  • %User Temp%\$inst\7.tmp
  • %User Temp%\$inst\8.tmp
  • %User Temp%\$inst\9.tmp
  • %User Temp%\$inst\10.tmp
  • %User Temp%\$inst\11.tmp
  • %User Temp%\$inst\12.tmp
  • %User Temp%\$inst\13.tmp
  • %User Temp%\$inst\14.tmp
  • %User Temp%\$inst\15.tmp
  • %User Temp%\$inst\16.tmp
  • %User Temp%\$inst\17.tmp
  • %User Temp%\$inst\20.tmp
  • %User Temp%\$inst\50.tmp
  • %User Temp%\$inst\21.tmp
  • %User Temp%\$inst\51.tmp

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\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented Categories
    • {40FC6ED5-2438-11CF-A3DB-080036F12502}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59293-9880-11CF-9754-00AA00C00908}
    • Implemented Categories
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {48E59293-9880-11CF-9754-00AA00C00908}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59294-9880-11CF-9754-00AA00C00908}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {48E59294-9880-11CF-9754-00AA00C00908}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{48E59295-9880-11CF-9754-00AA00C00908}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {48E59295-9880-11CF-9754-00AA00C00908}


Did this description help? Tell us how we did.