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.
When W32.HLLW.Lovgate@mm is executed, it does the following:
Copies itself to the %System% folder as:
WinRpcsrv.exe
syshelp.exe
winrpc.exe
WinGate.exe
rpcsrv.exe
NOTE: %System% is a variable. Theworm 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).
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.
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.
Modifies the default value of the following registry key:
HKEY_CLASS_ROOT\txtfile\shell\open\command
to:
winrpc.exe %1
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
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.
Searches the following folders:
.\ (This is the folder in which the worm has been executed.)
winpath\
The folder listed in the following registry value:
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:
Copies itself as %System%\ssrv.exe and creates the following registry key:
HKEY_LOCAL_MACHINE\Software\KittyXP.sql\Install
NOTE: %System% is a variable. Theworm 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).
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.
Injects another thread into "LSASS.EXE", which starts a listening server that provides a command shell on port 20168 without requiring any authentication.
Starts the Backdoor Trojan component as the service, "Windows Management Extension."
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.
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!
Symantec Security Response encourages all users and administrators to adhere to the following basic security "best practices":
Turn off and remove unneeded services. By default, many operating systems install auxiliary services that are not critical, such as an FTP server, telnet, and a Web server. These services are avenues of attack. If they are removed, blended threats have less avenues of attack and you have fewer services to maintain through patch updates.
If a blended 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 (for example, all Windows-based computers should have the current Service Pack installed.). Additionally, please apply any security updates that are mentioned in this writeup, in trusted Security Bulletins, or on vendor Web sites.
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.
Configure your email server to block or remove email that contains file attachments that are commonly used to spread viruses, such as .vbs, .bat, .exe, .pif and .scr files.
Isolate infected computers quickly to prevent further compromising your organization. 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.
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.
Reverse the changes that the worm made to the registry.
Remove the text from the Windows 95, 98, Me Win.ini file (Windows 95, 98, ME only)
Restart the computer.
Update the virus definitions.
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.
Click Start, and then click Run. (The Run dialog box appears.)
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.
Click Start, and then click Run.
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.
In the [windows] section of the file, look for an entry similar to:
run=rpcsrv.exe
If this line exists, highlight the text. Be sure that you do not select any other text, and then press Delete.
Click File, and then click Save.
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
Start your Symantec antivirus program and make sure that it is configured to scan all the files.