W32.HLLW.Lovgate@mm

Printer Friendly Page

Discovered: February 19, 2003
Updated: February 13, 2007 11:43:15 AM
Also Known As: Win32/Lovgate.A@mm [RAV], W32/Lovgate.a@M [McAfee], I-Worm.Supnot.b [KAV]
Type: Worm
Systems Affected: Windows


W32.HLLW.Lovgate@mm is a mass mailing worm that attempts to email itself to all the email addresses that it finds in the files, with a file extension that starts with "ht" (for example, all the .htm or .hta files). The subject and attachment of the incoming email are chosen from a predetermined list.

W32.HLLW.Lovgate@mm also attempts to copy itself to all the computers on a local network, and then infect these computers. The worm also has a backdoor Trojan capability. By default, the Trojan component listens on port 10168.

If the infected computer runs Windows NT, 2000, or XP, the worm will attempt to disguise itself as the normal Windows process, "LSASS.EXE."

W32.HLLW.Lovgate@mm is written in the C++ programming language and is compressed with ASPack.

Antivirus Protection Dates

  • Initial Rapid Release version February 19, 2003
  • Latest Rapid Release version August 08, 2016 revision 023
  • Initial Daily Certified version February 19, 2003
  • Latest Daily Certified version August 09, 2016 revision 001
  • Initial Weekly Certified release date February 19, 2003

Click here for a more detailed description of Rapid Release and Daily Certified virus definitions.

Writeup By: Robert X Wang

Discovered: February 19, 2003
Updated: February 13, 2007 11:43:15 AM
Also Known As: Win32/Lovgate.A@mm [RAV], W32/Lovgate.a@M [McAfee], I-Worm.Supnot.b [KAV]
Type: Worm
Systems Affected: Windows


When W32.HLLW.Lovgate@mm is executed, it does the following:

  1. Copies itself to the %System% folder as:
    • WinRpcsrv.exe
    • syshelp.exe
    • winrpc.exe
    • WinGate.exe
    • rpcsrv.exe

      NOTE: %System% is a variable. The worm locates the System folder and copies itself to that location. By default, this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).

  2. If the infected computer runs Windows 95, 98, or ME, it adds the following line:

    run=rpcsrv.exe

    to the [windows] section in the Win.ini file.
  3. Copies the following files to the %System% folder, and then executes them.
    • ily.dll
    • task.dll
    • reg.dll
    • 1.dll

      NOTE: These files are the Backdoor Trojan components of W32.HLLW.Lovgate@mm. Symantec Antivirus products will detect them as Backdoor.Trojan.

  4. Adds the values:

    syshelp                             %system%\syshelp.exe
    WinGate initialize           %system%\WinGate.exe -remoteshell
    Module Call initialize     RUNDLL32.EXE reg.dll ondll_reg

    to the registry key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
  5. Modifies the default value of the following registry key:

    HKEY_CLASS_ROOT\txtfile\shell\open\command

    to:

    winrpc.exe %1
  6. Copies itself to all the network-shared folders and subfolders as any of the following:
    • pics.exe
    • images.exe
    • joke.exe
    • pspgame.exe
    • news_doc.exe
    • hamster.exe
    • tamagotxi.exe
    • searchurl.exe
    • setup.exe
    • card.exe
    • billgt.exe
    • midsong.exe
    • s3msong.exe
    • docs.exe
    • humor.exe
    • fun.exe

  7. Listens on port 10168 and notifies the hacker via email. The worm has a password authentication routine. After entering the correct password, the worm will start a command shell for the hacker.
  8. Searches the following folders:
    • .\ (This is the folder in which the worm has been executed.)
    • winpath
    • The folder listed in the following registry value:

      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
      Explorer\Shell Folders\Personal

  9. If the worm finds any files in the aforementioned folders, whose extension starts with "ht," then it will attempt to get all the email addresses from the files, create an email with an attachment infected with W32.HLLW.Lovgate@mm, and then send the infected email to the email addresses in the .ht* file.
If the infected computer runs Windows NT, 2000, or XP, the worm will perform the following additional actions:
  1. Copies itself as %System%\ssrv.exe and creates the following registry key:

    HKEY_LOCAL_MACHINE\Software\KittyXP.sql\Install

    NOTE: %System% is a variable. The worm locates the System folder and copies itself to that location. By default, this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).
  2. Adds the value:

    run              rpcsrv.exe

    to the registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
  3. If the worm detects the process, "LSASS.EXE," it will attempt to create a remote thread in that particular process and inject itself into it.
  4. Injects another thread into "LSASS.EXE", which starts a listening server that provides a command shell on port 20168 without requiring any authentication.
  5. Starts the Backdoor Trojan component as the service, "Windows Management Extension."
  6. Scans all the computers on the local network and uses the following passwords to log in as "Administrator:"
    • <empty.password>
    • 123
    • 321
    • 123456
    • 654321
    • guest
    • administrator
    • admin
    • 111111
    • 666666
    • 888888
    • abc
    • abcdef
    • abcdefg
    • 12345678
    • abc123

      NOTE: <empty.password> is a variable, which is an empty password.

  7. If the worm successfully logs on to a remote computer, it will attempt to copy itself as:

    \\<remote.computer.name>\admin$\system32\stg.exe

    and then attempt to start the file on the remote computer as the service, "Microsoft NetWork Services FireWall."

    NOTE: <remote.computer.name> is a variable, which refers to the name of the remote computer.

Email Routine Details

To replicate, the worm uses its own SMTP engine to create emails, add infected attachments to the email, and then mass mail the infected emails. The email message is one of the following:

Subject : Documents
Attachment : Docs.exe
Body : Send me your comments...

or:

Subject : Roms
Attachment : Roms.exe
Body : Test this ROM! IT ROCKS!.

or:

Subject : Pr0n!
Attachment : Sex.exe
Body : Adult content!!! Use with parental advisory.

or:

Subject : Evaluation copy
Attachment : Setup.exe
Body : Test it 30 days for free.

or:

Subject : Help
Attachment : Source.exe
Body : I'm going crazy... please try to find the bug!

or:

Subject : Beta
Attachment : _SetupB.exe
Body : Send reply if you want to be official beta tester.

or:

Subject : Do not release
Attachment : Pack.exe
Body : This is the pack ;)

or:

Subject : Last Update
Attachment : LUPdate.exe
Body : This is the last cumulative update.

or:

Subject : The patch
Attachment : Patch.exe
Body : I think all will work fine.

or:

Subject : Cracks!
Attachment : CrkList.exe
Body : Check our list and mail your requests!


Recommendations

Symantec Security Response encourages all users and administrators to adhere to the following basic security "best practices":

  • Use a firewall to block all incoming connections from the Internet to services that should not be publicly available. By default, you should deny all incoming connections and only allow services you explicitly want to offer to the outside world.
  • Enforce a password policy. Complex passwords make it difficult to crack password files on compromised computers. This helps to prevent or limit damage when a computer is compromised.
  • Ensure that programs and users of the computer use the lowest level of privileges necessary to complete a task. When prompted for a root or UAC password, ensure that the program asking for administration-level access is a legitimate application.
  • Disable AutoPlay to prevent the automatic launching of executable files on network and removable drives, and disconnect the drives when not required. If write access is not required, enable read-only mode if the option is available.
  • Turn off file sharing if not needed. If file sharing is required, use ACLs and password protection to limit access. Disable anonymous access to shared folders. Grant access only to user accounts with strong passwords to folders that must be shared.
  • Turn off and remove unnecessary services. By default, many operating systems install auxiliary services that are not critical. These services are avenues of attack. If they are removed, threats have less avenues of attack.
  • If a threat exploits one or more network services, disable, or block access to, those services until a patch is applied.
  • Always keep your patch levels up-to-date, especially on computers that host public services and are accessible through the firewall, such as HTTP, FTP, mail, and DNS services.
  • Configure your email server to block or remove email that contains file attachments that are commonly used to spread threats, such as .vbs, .bat, .exe, .pif and .scr files.
  • Isolate compromised computers quickly to prevent threats from spreading further. Perform a forensic analysis and restore the computers using trusted media.
  • Train employees not to open attachments unless they are expecting them. Also, do not execute software that is downloaded from the Internet unless it has been scanned for viruses. Simply visiting a compromised Web site can cause infection if certain browser vulnerabilities are not patched.
  • If Bluetooth is not required for mobile devices, it should be turned off. If you require its use, ensure that the device's visibility is set to "Hidden" so that it cannot be scanned by other Bluetooth devices. If device pairing must be used, ensure that all devices are set to "Unauthorized", requiring authorization for each connection request. Do not accept applications that are unsigned or sent from unknown sources.
  • For further information on the terms used in this document, please refer to the Security Response glossary.

Writeup By: Robert X Wang

Discovered: February 19, 2003
Updated: February 13, 2007 11:43:15 AM
Also Known As: Win32/Lovgate.A@mm [RAV], W32/Lovgate.a@M [McAfee], I-Worm.Supnot.b [KAV]
Type: Worm
Systems Affected: Windows


Removal using the W32.HLLW.Lovgate Removal Tool
This is the easiest way to remove this threat. Symantec Security Response has created a W32.HLLW.Lovgate Removal Tool .

Manual Removal
As an alternative to using the removal tool, you can manually remove this threat.

These instructions pertain to all current and recent Symantec antivirus products, including the Symantec AntiVirus and Norton AntiVirus product lines.

  1. Reverse the changes that the worm made to the registry.
  2. Remove the text from the Windows 95, 98, Me Win.ini file (Windows 95, 98, ME only)
    Restart the computer.
  3. Update the virus definitions.
  4. Run a full system scan and delete all the files detected as W32.HLLW.Lovgate@mm or Backdoor.Trojan.

For specific details on each of these steps, read the following instructions.

1. Reversing the changes in the Windows registry

CAUTION : Symantec strongly recommends that you back up the registry before you make any changes to it. Incorrect changes to the registry can result in permanent data loss or corrupted files. Modify the specified keys only. Read the document, "How to make a backup of the Windows registry ," for instructions.
  1. Click Start, and then click Run. (The Run dialog box appears.)
  2. Type regedit

    Then click OK. (The Registry Editor opens.)
  3. Navigate to the key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  4. In the right pane, delete the values:

    syshelp
    WinGate initialize
    Module Call initialize
  5. Navigate to the key:

    HKEY_CLASS_ROOT\txtfile\shell\open\command
  6. In the right pane, modify the default value to:

    notepad.exe %1
  7. Navigate to the key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
  8. In the right pane, delete the value: run
  9. Delete the key:

    HKEY_LOCAL_MACHINE\Software\KittyXP.sql
  10. Exit the Registry Editor.


2. Removing the text from the Windows 95/98/Me Win.ini file

Note for Windows Me users only: Due to the file-protection process in Windows Me, a backup copy of Win.ini exists in the C:\Windows\Recent folder. Symantec recommends that you delete this file before continuing with the steps in this section. To do this using Windows Explorer, go to C:\Windows\Recent, and in the right pane select the Win.ini file and delete it. The Win.ini file will be recreated in C:\Windows\Recent when you save your changes to Win.ini in C:\Windows.
  1. Click Start, and then click Run.
  2. Type the following:

    edit c:\windows\win.ini

    And then click OK. (The MS-DOS Editor opens.)

    NOTE: If Windows is installed in a different location, make the appropriate path substitution.
  3. In the [windows] section of the file, look for an entry similar to:

    run=rpcsrv.exe
  4. If this line exists, highlight the text. Be sure that you do not select any other text, and then press Delete.
  5. Click File, and then click Save.
  6. Click File, and then click Exit.


3. Updating the virus definitions
Symantec Security Response fully tests all the virus definitions for quality assurance before they are posted to our servers. There are two ways to obtain the most recent virus definitions:
  • Running LiveUpdate, which is the easiest way to obtain virus definitions: These virus definitions are posted to the LiveUpdate servers once each week (usually on Wednesdays), unless there is a major virus outbreak. To determine whether definitions for this threat are available by LiveUpdate, refer to the Virus Definitions (LiveUpdate).
  • Downloading the definitions using the Intelligent Updater: The Intelligent Updater virus definitions are posted on U.S. business days (Monday through Friday). You should download the definitions from the Symantec Security Response Web site and manually install them. To determine whether definitions for this threat are available by the Intelligent Updater, refer to the Virus Definitions (Intelligent Updater).

    The Intelligent Updater virus definitions are available here. For detailed instructions on how to download and install the Intelligent Updater virus definitions from the Symantec Security Response Web site, click here.

4. Scanning for and deleting the infected files
  1. Start your Symantec antivirus program and make sure that it is configured to scan all the files.
  2. Run a full system scan.
  3. If any files are detected as infected with W32.HLLW.Lovgate@mm or Backdoor.Trojan, click Delete.


Writeup By: Robert X Wang