WORM_ONLINEG.JVS


 ALIASES:

TrojanSpy:Win32/Ambler.D (Microsoft); Generic PWS.y!r (McAfee); Trojan Horse (Symantec); Trojan.Win32.Agent2.jtc (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Trojan-Spy:W32/Ambler.gen!B (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.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

59,392 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

06 Nov 2011

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.

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
Locale = "EN"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
StubPath = "rundll32 msfgw32.dll,InitO"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
IsInstalled = "1"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
Version = "4,3,6,3"

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\{1925C7E1-5540-4675-8198-8A2779D4072A}

Other System Modifications

This worm deletes the following files:

  • %System%\i2.txt
  • %System%\r2.txt
  • %System%\e3.txt
  • %System%\bs.txt
  • %System%\sdd.txt
  • %System%\p1.txt
  • %System%\bxx.txt
  • %System%\r24.txt

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

It adds the following registry keys:

HKEY_LOCAL_MACHINE\Software\Firefox

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

HKEY_CLASSES_ROOT\CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}\InprocServer32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}\ProgID

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}\TypeLib

HKEY_LOCAL_MACHINE\Software\Firefox\
V

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
D1 = "{random values}"

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
D2 = "{random values}"

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
D3 = "{random values}"

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
pr = "{random values}"

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
JU = "FXML\_CHAR(0x18)__CHAR(0x19)_"

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
BNM = "l&.%"T R&:""#':#! ":/&./:/V% .S#' %Vj"

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}\InprocServer32
ThreadingModel = "Apartment"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
Enable Browser Extensions = "yes"

HKEY_LOCAL_MACHINE\SOFTWARE\Firefox\
V
L = "29102011_035029_37812"

It deletes the following registry keys:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\
Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}

Dropping Routine

This worm drops the following files:

  • %System%\inform.dat
  • %System%\ormh
  • %System%\msfgw32.dll

(Note: %System% is the Windows system folder, where it usually is C:\Windows\System32 on all Windows operating system versions.)

Other Details

This worm deletes the initially executed copy of itself

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

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\Software
    • Firefox
  • In HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer
    • Browser Helper Objects
  • In HKEY_CLASSES_ROOT\CLSID
    • {1925C7E1-5540-4675-8198-8A2779D4072A}
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}
    • InprocServer32
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}
    • ProgID
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}
    • TypeLib
  • In HKEY_LOCAL_MACHINE\Software\Firefox
    • V
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components
    • {901A929E-1477-4b67-94FA-7A8EE43ED159}

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\Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
    • Locale = "EN"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
    • StubPath = "rundll32 msfgw32.dll,InitO"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
    • IsInstalled = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{901A929E-1477-4b67-94FA-7A8EE43ED159}
    • Version = "4,3,6,3"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
    • D1 = "{random values}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
    • D2 = "{random values}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
    • D3 = "{random values}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
    • pr = "{random values}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
    • JU = "FXML\_CHAR(0x18)__CHAR(0x19)_"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox
    • BNM = "l&.%"T R&:""#':#! ":/&./:/V% .S#' %Vj"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{1925C7E1-5540-4675-8198-8A2779D4072A}\InprocServer32
    • ThreadingModel = "Apartment"
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
    • Enable Browser Extensions = "yes"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Firefox\V
    • L = "29102011_035029_37812"

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.
  • %System%\inform.dat
  • %System%\ormh
  • %System%\msfgw32.dll

Step 7

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

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%\i2.txt
  • %System%\r2.txt
  • %System%\e3.txt
  • %System%\bs.txt
  • %System%\sdd.txt
  • %System%\p1.txt
  • %System%\bxx.txt
  • %System%\r24.txt

Step 9

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\Active Setup\Installed Components
    • {901A929E-1477-4b67-94FA-7A8EE43ED159}


Did this description help? Tell us how we did.