TROJ_AGENT.LABC


 ALIASES:

Generic Dropper.aei (McAfee); Adware.Adpopup (Symantec); ARC:NSIS, PAK:[$PLUGINSDIR\SelfDel.dll]:UPX (Kaspersky); AdAgent (Sunbelt); Gen:Variant.Adware.Sidetab.1 (FSecure)

 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.

It deletes itself after execution.

  TECHNICAL DETAILS

File Size:

306,704 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

09 Jul 2012

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:

  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\ADMINI~1
  • %User Profile%\LOCALS~1
  • %User Temp%\nsg2.tmp
  • %Program Files%\WinPro

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} 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.. %Program Files% is the default Program Files folder, usually C:\Program Files.)

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
WinPro = "%Program Files%\WinPro\WinPro.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\{339E5541-DA75-412A-9F9B-3C014BE1050B}

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\nsg1.tmp
  • %User Temp%\nsg2.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.)

It adds the following registry keys:

HKEY_CURRENT_USER\Software\WinPro

HKEY_LOCAL_MACHINE\Software\Microsoft\
Windows\CurrentVersion\Uninstall\
WinPro

HKEY_CLASSES_ROOT\WinPro.BandHelper.1

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WinPro.BandHelper.1\CLSID

HKEY_CLASSES_ROOT\WinPro.BandHelper

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WinPro.BandHelper\CLSID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WinPro.BandHelper\CurVer

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\VersionIndependentProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\Programmable

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\TypeLib

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

HKEY_CLASSES_ROOT\WinPro.SideBand.1

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WinPro.SideBand.1\CLSID

HKEY_CLASSES_ROOT\WinPro.SideBand

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WinPro.SideBand\CLSID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
WinPro.SideBand\CurVer

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\VersionIndependentProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\Programmable

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\TypeLib

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0\
FLAGS

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0\
0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0\
0\win32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0\
HELPDIR

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}\ProxyStubClsid

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}\ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}\TypeLib

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}\ProxyStubClsid

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}\ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}\TypeLib

It adds the following registry entries:

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

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

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

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

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\InprocServer32
ThreadingModel = "Apartment"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\InprocServer32
ThreadingModel = "Apartment"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}\TypeLib
Version = "1.0"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}\TypeLib
Version = "1.0"

It deletes the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Discardable\PostSetup\Component Categories\
{00021493-0000-0000-C000-000000000046}\Enum

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Discardable\PostSetup\Component Categories\
{00021494-0000-0000-C000-000000000046}\Enum

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\Implemented Categories\
{00021493-0000-0000-C000-000000000046}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\Implemented Categories

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\nsg2.tmp\UAC.dll
  • %User Temp%\nsg2.tmp\NSISdl.dll
  • %User Temp%\updini.xxx
  • %User Temp%\nsg2.tmp\fct.dll
  • %User Temp%\nsg2.tmp\nsProcess.dll
  • %Program Files%\WinPro\Helper.dll
  • %Program Files%\WinPro\WinPro.dll
  • %Program Files%\WinPro\WinPro.exe
  • %Program Files%\WinPro\Uninstall.exe
  • %User Temp%\nsg2.tmp\IpConfig.dll
  • %User Temp%\updat.xxx
  • %User Temp%\nsg2.tmp\SelfDel.dll
  • %Program Files%\WinPro\ex.dat
  • %Program Files%\WinPro\except.dat

(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.. %Program Files% is the default Program Files folder, usually C:\Program Files.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://winpro.{BLOCKED}n.co.kr/update//WinPro.ini
  • http://winpro.{BLOCKED}n.co.kr/ex.dat
  • http://winpro.{BLOCKED}n.co.kr/except.dat

It deletes itself after execution.

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_CURRENT_USER\Software
    • WinPro
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
    • WinPro
  • In HKEY_CLASSES_ROOT
    • WinPro.BandHelper.1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinPro.BandHelper.1
    • CLSID
  • In HKEY_CLASSES_ROOT
    • WinPro.BandHelper
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinPro.BandHelper
    • CLSID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinPro.BandHelper
    • CurVer
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {339E5541-DA75-412A-9F9B-3C014BE1050B}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}
    • VersionIndependentProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}
    • Programmable
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    • Browser Helper Objects
  • In HKEY_CLASSES_ROOT
    • WinPro.SideBand.1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinPro.SideBand.1
    • CLSID
  • In HKEY_CLASSES_ROOT
    • WinPro.SideBand
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinPro.SideBand
    • CLSID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WinPro.SideBand
    • CurVer
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
    • VersionIndependentProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
    • Programmable
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
    • {C1F67743-C496-46C5-8476-489EF23E3665}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}
    • 1.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0
    • FLAGS
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0
    • 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0\0
    • win32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C1F67743-C496-46C5-8476-489EF23E3665}\1.0
    • HELPDIR
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
    • {DBC13F1E-3AD1-494B-A272-DCE6E39B856B}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}
    • ProxyStubClsid
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}
    • ProxyStubClsid32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
    • {83F09346-4F99-488B-8CAD-BD7E7A68E5DF}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}
    • ProxyStubClsid
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}
    • ProxyStubClsid32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}
    • 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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • WinPro = "%Program Files%\WinPro\WinPro.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinPro
    • DisplayName = "WinPro"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinPro
    • UninstallString = "%Program Files%\WinPro\Uninstall.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinPro
    • NoModify = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinPro
    • NoRepair = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{339E5541-DA75-412A-9F9B-3C014BE1050B}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{DBC13F1E-3AD1-494B-A272-DCE6E39B856B}\TypeLib
    • Version = "1.0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{83F09346-4F99-488B-8CAD-BD7E7A68E5DF}\TypeLib
    • Version = "1.0"

Step 6

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.
  • %User Temp%\nsg2.tmp\UAC.dll
  • %User Temp%\nsg2.tmp\NSISdl.dll
  • %User Temp%\updini.xxx
  • %User Temp%\nsg2.tmp\fct.dll
  • %User Temp%\nsg2.tmp\nsProcess.dll
  • %Program Files%\WinPro\Helper.dll
  • %Program Files%\WinPro\WinPro.dll
  • %Program Files%\WinPro\WinPro.exe
  • %Program Files%\WinPro\Uninstall.exe
  • %User Temp%\nsg2.tmp\IpConfig.dll
  • %User Temp%\updat.xxx
  • %User Temp%\nsg2.tmp\SelfDel.dll
  • %Program Files%\WinPro\ex.dat
  • %Program Files%\WinPro\except.dat

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.
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\ADMINI~1
  • %User Profile%\LOCALS~1
  • %User Temp%\nsg2.tmp
  • %Program Files%\WinPro

Step 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_AGENT.LABC. 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%\nsg1.tmp
  • %User Temp%\nsg2.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_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}
    • Enum
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}
    • Enum
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}\Implemented Categories
    • {00021493-0000-0000-C000-000000000046}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F543A3E8-AC7D-4A6E-86A8-5916DC31256D}
    • Implemented Categories


Did this description help? Tell us how we did.