TROJ_RIGTOY.DAM


 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:

221,808 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

13 Dec 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:

  • %Windows%\cursor
  • %User Profile%\Application Data\g
  • %User Profile%\g\d

(Note: %Windows% is the Windows folder, which is usually C:\Windows.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

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
1MJPM1G9.l = "%System%\rundll32.exe %System%\MSVIDE0.dll,Run"

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\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}

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\EventLog\Application\
LANMANW0RKSTATI0N

Other System Modifications

This Trojan deletes the following files:

  • %System%\AdobeAid.dll
  • %System%\MsNetEx.exe -u
  • %System%\OLENET.dll
  • %Windows%\MS3990.dll
  • %Windows%\MS399.dll
  • %User Temp%\cmlC.tmp

(Note: %System% is the Windows system folder, which is usually C:\Windows\System32.. %Windows% is the Windows folder, which is usually C:\Windows.. %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\Classes\
AppID\{CA0E09D1-0510-477A-B5BF-70D7E7FE9C2A}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
AppID\PDFHelp.DLL

HKEY_CLASSES_ROOT\PDFHelp.HelpIE.1

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
PDFHelp.HelpIE.1\CLSID

HKEY_CLASSES_ROOT\PDFHelp.HelpIE

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
PDFHelp.HelpIE\CLSID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
PDFHelp.HelpIE\CurVer

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\VersionIndependentProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\Programmable

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\TypeLib

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0\
FLAGS

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0\
0

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0\
0\win32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0\
HELPDIR

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}\ProxyStubClsid

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}\ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}\TypeLib

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
AppID\PDFHelp.DLL
AppID = "{CA0E09D1-0510-477A-B5BF-70D7E7FE9C2A}"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\InprocServer32
ThreadingModel = "Apartment"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
AppID = "{CA0E09D1-0510-477A-B5BF-70D7E7FE9C2A}"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}\TypeLib
Version = "1.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Eventlog\Application\
LANMANW0RKSTATI0N
EventMessageFile = "%System%\WINSP00L.EXE"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Eventlog\Application\
LANMANW0RKSTATI0N
TypesSupported = "7"

Dropping Routine

This Trojan drops the following files:

  • %Windows%\cursor\MS90.cur
  • %System%\MSVIDE0.dll
  • %System%\C0MMDLG.DLL
  • %System%\WINSP00L.EXE
  • %System%\drivers\MS0e5.sys
  • %Windows%\MS39.dll
  • %System%\MS085.exe
  • %Windows%\Fonts\MS54.ttf

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

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://log.{BLOCKED}u.com/log/log.login?{random characters}

It deletes itself after execution.

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_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
    • LANMANW0RKSTATI0N
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID
    • {CA0E09D1-0510-477A-B5BF-70D7E7FE9C2A}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID
    • PDFHelp.DLL
  • In HKEY_CLASSES_ROOT
    • PDFHelp.HelpIE.1
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PDFHelp.HelpIE.1
    • CLSID
  • In HKEY_CLASSES_ROOT
    • PDFHelp.HelpIE
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PDFHelp.HelpIE
    • CLSID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PDFHelp.HelpIE
    • CurVer
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
    • {5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
    • VersionIndependentProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
    • Programmable
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
    • {D9F82311-69F1-44BE-90C1-B790ADF9BAC7}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}
    • 1.0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0
    • FLAGS
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0
    • 0
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0\0
    • win32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{D9F82311-69F1-44BE-90C1-B790ADF9BAC7}\1.0
    • HELPDIR
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
    • {F310092B-201D-48CD-9692-EA312EE4BDC3}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}
    • ProxyStubClsid
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}
    • ProxyStubClsid32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}
    • 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
    • 1MJPM1G9.l = "%System%\rundll32.exe %System%\MSVIDE0.dll,Run"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\PDFHelp.DLL
    • AppID = "{CA0E09D1-0510-477A-B5BF-70D7E7FE9C2A}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{5EF1DFF3-AF25-4000-A6ED-41668F83B82B}
    • AppID = "{CA0E09D1-0510-477A-B5BF-70D7E7FE9C2A}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{F310092B-201D-48CD-9692-EA312EE4BDC3}\TypeLib
    • Version = "1.0"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\LANMANW0RKSTATI0N
    • EventMessageFile = "%System%\WINSP00L.EXE"
  • In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\LANMANW0RKSTATI0N
    • TypesSupported = "7"

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.
  • %Windows%\cursor\MS90.cur
  • %System%\MSVIDE0.dll
  • %System%\C0MMDLG.DLL
  • %System%\WINSP00L.EXE
  • %System%\drivers\MS0e5.sys
  • %Windows%\MS39.dll
  • %System%\MS085.exe
  • %Windows%\Fonts\MS54.ttf

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.
  • %Windows%\cursor
  • %User Profile%\Application Data\g
  • %User Profile%\g\d

Step 8

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_RIGTOY.DAM. 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%\AdobeAid.dll
  • %System%\MsNetEx.exe -u
  • %System%\OLENET.dll
  • %Windows%\MS3990.dll
  • %Windows%\MS399.dll
  • %User Temp%\cmlC.tmp


Did this description help? Tell us how we did.