W32.HLLW.Qaz.B

Printer Friendly Page

Discovered: August 03, 2000
Updated: February 13, 2007 11:50:29 AM
Type: Worm


W32.HLLW.Qaz.B is a minor variant of W32.HLLW.Qaz.A. There is no difference between these two variants in terms of execution routines and side effects.


Configure Windows for maximum protection
Because this virus spreads by using shared folders on networked computers, to ensure that the virus does not reinfect the computer after it has been removed, Symantec suggests sharing with read-only access or using password protection. For instructions on how to do this, see your Windows documentation or the document How to configure shared Windows folders for maximum network protection .


Antivirus Protection Dates

  • Initial Rapid Release version August 03, 2000
  • Latest Rapid Release version August 08, 2016 revision 023
  • Initial Daily Certified version August 03, 2000
  • Latest Daily Certified version August 09, 2016 revision 001

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

Writeup By: Cary Ng

Discovered: August 03, 2000
Updated: February 13, 2007 11:50:29 AM
Type: Worm


W32.HLLW.Qaz.B is a Win32 companion virus that can spread over a network. W32.HLLW.Qaz.B also has a backdoor that enables a remote user to connect to and control the computer. Because W32.HLLW.Qaz.B does not have the ability to spread to computers outside of a network, it may have originally been sent out by email. When W32.HLLW.Qaz.B is launched, it searches for and renames Notepad.exe to Note.com. W32.HLLW.Qaz.B then copies itself to the computer as Notepad.exe. Each time Notepad.exe is executed, it runs the virus code and the original Notepad, which was renamed to Note.com, to avoid being noticed.
The virus adds the following string value:

startIE   notepad qazwsx.hsq

to the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run

W32.HLLW.Qaz.B enumerates through Network Neighborhood and attempts to find a computer to infect. When it finds a computer, it infects it by searching for Notepad.exe and making the same modifications as previously described. It does not require any mapped drives to infect other computers. Once the computer is infected, its IP address is emailed to a remote user. The backdoor payload in the virus uses WinSock and awaits connection. This enables a hacker to connect to and gain access to the infected computer.


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: Cary Ng

Discovered: August 03, 2000
Updated: February 13, 2007 11:50:29 AM
Type: Worm


To remove this virus:

  • Delete the virus's program files
  • Remove the startIE and bymer.scanner registry entries
  • Restore the original Notepad.exe file

Detailed instructions follow. If you are on a network, then you must perform these steps for each computer that is connected to the network.

NOTE: Some components of this virus are distributed, at least in part, using an illegally altered version of a legitimate program. For additional information on distributed.net, the legitimate program that has been illegally altered to do this, see the document What is Distributed.net?

To delete the virus's program files:
Run a full system scan, and delete any infected files. Boot to MS-DOS mode, and then delete the virus-infected Notepad.exe and Note.com files, and in some cases, an infected copy of the Wininit.exe file. Follow these steps to do this:

NOTE: These instructions tell you to delete the files in MS-DOS mode. This is because you must be disconnected from the network when deleting these files. If you are sure that you can restart the computer without connecting to the network, then you can delete the files in Windows using Windows Explorer.
  1. After running LiveUpdate to make sure that you have the most recent virus definitions, run a full system scan, making sure that NAV is set to scan all files as previously described.
  2. Delete any files that NAV finds that are infected with this virus.
  3. Click Start, and then click Shut Down.
  4. Click Restart in MS-DOS mode, and then click OK. The computer restarts to DOS mode, at the C:\Windows prompt.

    NOTE: This feature has been removed from Windows Me. If you are using Windows Me, you will have to use a Windows Me startup disk to boot to DOS. See your Windows Me documentation for information on how to do this.
  5. Type the following, pressing Enter after each line:

    del notepad.exe
    ren note.com notepad.exe
  6. Type the following, and then press Enter:

    cd system

    The prompt should now look similar to the following:

    C:\Windows\System>

    CAUTION: In the next step you will delete a file. This file may not be found on all systems infected with this virus. It is extremely important that you make sure that you are at the \Windows\System prompt and not at the \Windows prompt. A core Windows file with this file name is in the \Windows folder. If you delete the wrong copy, then you may not be able to restart Windows.
  7. Type the following, and then press Enter:

    del wininit.exe
  8. Restart the computer. Click OK if you see any error messages.

To remove the startIE and bymer.scanner registry entries:
There is one, and in some cases, two registry entries that you must remove. Follow these steps to do this:

CAUTION: We strongly recommend that you back up the system registry before making any changes. Incorrect changes to the registry could result in permanent data loss or damaged files. Please make sure you modify only the keys specified. Please see the document How to back up the Windows registry before proceeding.
  1. Click Start, and click Run. The Run dialog box appears.
  2. Type regedit and then click OK. The Registry Editor opens.
  3. Navigate to and select the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
    Windows\CurrentVersion\Run
  4. In the right pane, look for the following Name and Data:

    startIE "notepad qazwsx.hsq"

    NOTES:
    • In most cases, the text in the Data column points to Notepad. A few cases have been reported in which it pointed to a different file. In either case, this entry points to the virus and must be deleted.
    • In some cases, this entry does not exist. If it does not exist, then skip to step 6.
  5. Delete the startIE value. Click Yes to confirm.
  6. In the right pane, look for the following value:

    bymer.scanner
  7. If the value exists, select it, press Delete, and then click Yes to confirm.
  8. Exit the Registry Editor.

Perform another full system scan when you have finished.

Writeup By: Cary Ng