Trojan.SpBot

Printer Friendly Page

Discovered: April 05, 2005
Updated: February 13, 2007 12:36:28 PM
Type: Trojan Horse
Systems Affected: Windows


Trojan.Spbot is a Trojan horse program that allows a compromised computer to be used as an email relay. Computers compromised in this way are often used to relay spam.

Antivirus Protection Dates

  • Initial Rapid Release version April 05, 2005
  • Latest Rapid Release version May 07, 2019 revision 006
  • Initial Daily Certified version April 05, 2005
  • Latest Daily Certified version May 07, 2019 revision 008
  • Initial Weekly Certified release date April 06, 2005

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


Technical Description


When the Trojan is executed, it performs the following actions:

  1. Creates the following file:

    %System%\smp.dll

    Note: %System% is a variable that refers to the System folder. 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:

    "(Default)" = "%System%\smp.dll"

    to the registry subkey:

    HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{0211C4D9-BC71-8916-38AD-9DEA5D213614}\InProcServer32

    so that Trojan.Spbot is loaded into Windows Explorer every time Windows starts.

  3. Adds the value:

    "{0211C4D9-BC71-8916-38AD-9DEA5D213614}" = "OLE Module"

    to the registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler

    so that Trojan.Spbot is loaded into Windows Explorer every time Windows starts.

  4. Modifies the value:

    "DoNotAllowXPSP2" = "1"

    in the registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

    to lower security settings.

  5. Modifies the values:

    "AntiVirusDisableNotify" = "1"
    "FirewallDisableNotify" = "1"
    "AntiVirusOverride" = "1"
    "FirewallOverride" = "1"
    "UpdatesDisableNotify" = "1"

    in the registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center

    to lower security settings.

  6. Modifies the value:

    "AUOptions" = "1"

    in the registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update

    to lower security settings.

  7. Modifies the value:

    "EnableFirewall" = "0x0"

    in the registry subkeys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile

    to disable the Microsoft firewall.

  8. Modifies the value:

    "Start" = "4"

    in the registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc

    to disable the Microsoft Security Center.

  9. Modifies the values:

    "1001" = "1"
    "1004" = "1"
    "1200" = "0"
    "1809" = "3"

    in the registry subkeys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones

    to lower security settings.

  10. Sends notifications of its status via the following URLs:

    • rsp.btthost.com/alive.php
    • rsp.btthost.com/inst.php
    • rsp.btthost.com/report.php
    • rsp.btthost.com/num.php
    • rsp.btthost.com/resend.php
    • rsp.btthost.com/task.php

  11. Opens a back door on UDP port 256.

  12. Works as an email relay for SPAM.

  13. Uses a randomly created sender address from one of the following domains:

    • @yyhmail.com
    • @wongfaye.com
    • @wartaponsel.com
    • @ultrapostman.com
    • @u2club.com
    • @tlcfan.com
    • @tenchiclub.com
    • @surfy.net
    • @southparkmail.com
    • @shaniastuff.com
    • @sammimail.com
    • @roxette.org
    • @rickymail.com
    • @ranmamail.com
    • @qdice.com
    • @purinmail.com
    • @otakumail.com
    • @norikomail.com
    • @nctta.org
    • @myfunnymail.com
    • @malaysia.net
    • @lovecat.com
    • @lopezclub.com
    • @lissamail.com
    • @leonlai.net
    • @kichimail.com
    • @kellychen.com
    • @jpopmail.com
    • @hingismartina.net
    • @grungecafe.com
    • @fffan.com
    • @dogmail.org
    • @chocofan.com
    • @celineclub.com
    • @britneyclub.com
    • @boyzoneclub.com
    • @badtzmail.com
    • @backstreetboysclub.com
    • @amuromail.com
    • @amuro.net
    • @amrer.net
    • @allsaintsfan.com
    • @aaronkwok.net
    • @168city.com
    • @zipolite.com
    • @zapopan.com
    • @veracruz-llave.com
    • @ustedopina.com
    • @universo.com
    • @tuxtla.com
    • @tlaxcala.com
    • @tepasasdeveras.com
    • @tegucigalpa.com
    • @tamaulipas.com
    • @surrealismo.com
    • @surfeador.com
    • @supersonicos.com
    • @superdirectorio.com
    • @sexxxo.com
    • @sanluis.com
    • @saladeprensa.com
    • @rotario.com
    • @regiomontano.com
    • @rdominicana.com
    • @radiomexico.com
    • @radioactivo.com
    • @quintanaroo.com
    • @queretaro.com
    • @puertorrico.com
    • @puebla.com
    • @programador.com
    • @postaldigital.com
    • @pormexico.com
    • @picanteperosabroso.com
    • @osopanda.com
    • @ondagrupera.com
    • @oficinadecorreo.com
    • @nuevoleon.com
    • @notimexico.com
    • @nayarit.com
    • @mundoanimal.com
    • @morelos.com
    • @michoacan.com
    • @mexxxico.com
    • @mejico.com
    • @m3xico.com
    • @lujuria.com
    • @lapalabra.com
    • @jerusalen.com
    • @islasmarias.com
    • @infantil.com
    • @ilusionista.com
    • @horafeliz.com
    • @guanajuato.com
    • @guadalupano.com
    • @grandesligas.com
    • @gobiernofederal.com
    • @garzagarcia.com
    • @futbolsoccer.com
    • @futbolamericano.com
    • @fumador.com
    • @filantropia.com
    • @fiestabrava.com
    • @femenino.com
    • @exalumnos.com
    • @esoterico.com
    • @elturista.com
    • @elchavo.com
    • @ejecutivo.com
    • @edomex.com
    • @derechoshumanos.com
    • @deportista.com
    • @depelicula.com
    • @cuernavaca.com
    • @costarrica.com
    • @correo1.com
    • @comidamexicana.com
    • @colima.com
    • @coahuila.com
    • @cinemexicano.com
    • @cienciaficcion.com
    • @chihuahua.com
    • @chido.com
    • @cartonista.com
    • @capitalino.com
    • @busquedas.com
    • @buenhumor.com
    • @billonario.com
    • @belice.com
    • @barriolatino.com
    • @bajacalifornianorte.com
    • @asistencia.org
    • @artesmarciales.com
    • @ardiente.com
    • @anuncia.com
    • @antronomia.com
    • @altacocina.com
    • @alcoholicosanonimos.com
    • @albur.com
    • @alacarta.com
    • @aguascalientes.com
    • @acuario.com
    • @juno.com
    • @pacific.net.hk
    • @worldnet.att.net
    • @mcimail.com
    • @263.net
    • @163.net
    • @libero.it
    • @hot.ee
    • @gmx.de
    • @geocities.com
    • @gateway.net
    • @ns.sympatico.ca
    • @mindspring.com
    • @atlanta.com
    • @cs.com
    • @erols.com
    • @webtv.net
    • @t-online.de
    • @pacbell.net
    • @earthlink.net
    • @usa.net
    • @server.com
    • @server.n@arkansas.net
    • @softhome.net
    • @zzn.com
    • @home.com
    • @compuserve.com

  14. Uses an X-Mailer randomly choosen from the following:

    • Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
    • Mutt/1.5.1i
    • Sylpheed version 0.8.2 (GTK+ 1.2.10; i586-alt-linux)
    • Pegasus Mail for Win32 (v2.53/R1)
    • SmartMailer Version 1.56 -German Privat License-
    • MIME-tools 4.104 (Entity 4.116)
    • Calypso Version 3.20.01.01 (4)
    • Mozilla 4.61 [en]C-CCK-MCD C-UDP; (Win98; I)
    • QUALCOMM Windows Eudora Pro Version 4.0
    • The Bat! (v1.51) Educational
    • AOL 6.0 for Windows US sub 10551
    • AOL 7.0 for Windows UK sub 52
    • The Bat! (v1.53d)
    • Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020513 Netscape/7.0b1
    • MailGate v3.0
    • The Bat! (v1.60q)
    • Microsoft Internet Mail 4.70.1155
    • Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-20000103-CURRENT i386)
    • Microsoft Outlook Express 4.72.3110.5
    • The Bat! (v1.61)
    • Calypso Version 3.30.00.00
    • PObox II beta1.0
    • AOL 7.0 for Windows US sub 118
    • eGroups Message Poster
    • Microsoft Outlook Express 5.50.4133.2400
    • Microsoft Outlook Express 5.00.2919.6700
    • Internet Mail Service (5.5.2650.21)
    • QUALCOMM Windows Eudora Version 5.1
    • Microsoft Outlook, Build 10.0.2627
    • Microsoft Outlook, Build 10.0.2616
    • Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
    • Microsoft Outlook Express 6.00.2462.0000
    • MIME-tools 5.503 (Entity 5.501)
    • Microsoft Outlook Express 5.00.2615.200
    • Microsoft Outlook Express 6.00.2600.0000
    • The Bat! (v1.52f) Business
    • Microsoft Outlook Express 5.50.4522.1200

  15. Creates the following files from data downloaded from rsp.btthost.com domain:

    • %temp%\url.sys
    • %temp%\mailz.dat
    • %temp%\tsk.sys
    • %temp%\body.dat

      Note: %Temp% is a variable that refers to the Windows temporary folder. By default, this is C:\Windows\TEMP (Windows 95/98/Me/XP) or C:\WINNT\Temp (Windows NT/2000).

  16. Uses those files to send spam e-mail then deletes the files.

  17. Attempts to download an additional file from rsp.btthost.com domain to %temp%\file.exe and runs it.

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.


Removal



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

  1. Disable System Restore (Windows Me/XP).
  2. Update the virus definitions.
  3. Run a full system scan and delete all the files detected as Trojan.SpBot.
  4. Delete any values added to the registry.
  5. Restore the Windows Security Center
For specific details on each of these steps, read the following instructions.

1. To disable System Restore (Windows Me/XP)
If you are running Windows Me or Windows XP, we recommend that you temporarily turn off System Restore. Windows Me/XP uses this feature, which is enabled by default, to restore the files on your computer in case they become damaged. If a virus, worm, or Trojan infects a computer, System Restore may back up the virus, worm, or Trojan on the computer.

Windows prevents outside programs, including antivirus programs, from modifying System Restore. Therefore, antivirus programs or tools cannot remove threats in the System Restore folder. As a result, System Restore has the potential of restoring an infected file on your computer, even after you have cleaned the infected files from all the other locations.

Also, a virus scan may detect a threat in the System Restore folder even though you have removed the threat.

For instructions on how to turn off System Restore, read your Windows documentation, or one of the following articles:
Note:
When you are completely finished with the removal procedure and are satisfied that the threat has been removed, reenable System Restore by following the instructions in the aforementioned documents.

For additional information, and an alternative to disabling Windows Me System Restore, see the Microsoft Knowledge Base article: Antivirus Tools Cannot Clean Infected Files in the _Restore Folder (Article ID: Q263455).

2. To update 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 document: Virus Definitions (LiveUpdate).
  • Downloading the definitions using the Intelligent Updater: The Intelligent Updater virus definitions are posted daily. 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 document: Virus Definitions (Intelligent Updater).

    The latest Intelligent Updater virus definitions can be obtained here: Intelligent Updater virus definitions. For detailed instructions read the document: How to update virus definition files using the Intelligent Updater.


3. To scan for and delete 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 Trojan.SpBot, click Delete.

    Note:
    If your Symantec antivirus product reports that it cannot delete an infected file, Windows may be using the file. To fix this, run the scan in Safe mode. For instructions, read the document: How to start the computer in Safe Mode. Once you have restarted in Safe mode, run the scan again.

    After the files are deleted, restart the computer in Normal mode and proceed with section 4.

    Warning messages may be displayed when the computer is restarted, as the threat has not been fully removed at this point. Please ignore these messages and just click OK. These messages will not appear when the computer is restarted after the removal instructions have been fully completed. The messages displayed may be similar to the following:

    Title: [File path]
    Message body: Windows cannot find [file name]. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.

4. To delete the value from the registry
Important: Symantec strongly recommends that you back up the registry before making any changes to it. Incorrect changes to the registry can result in permanent data loss or corrupted files. Modify the specified subkeys only. For instructions refer to the document: How to make a backup of the Windows registry.
  1. Click Start > Run.

  2. Type regedit

  3. Click OK.

  4. Navigate to the subkey:

    HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{0211C4D9-BC71-8916-38AD-9DEA5D213614}\InProcServer32

  5. In the right pane, delete the value:

    "(Default)" = "%System%\smp.dll"

  6. Navigate to the subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler

  7. In the right pane, delete the value:

    "{0211C4D9-BC71-8916-38AD-9DEA5D213614}" = "OLE Module"

  8. Exit the Registry Editor.
    5. To restore the Windows Security Center
      This threat attempts to disable the features in the Windows Security Center, available in Windows XP Service Pack 2. If you are running Windows XP Service Pack 2 and would like to restore the full functionality of the Windows Security Center, please complete the following steps:

      Important: If your computer is connected to a domain, you may not be able to adjust these settings. If so, contact your network administrator for more information.
      1. Click Start > Control Panel.
      2. Double-click the Security Center.
      3. In the right pane, click Windows Firewall. The Windows Firewall appears.
      4. Select On.
      5. Click OK to close the Windows Firewall.
      6. In the left pane of the Security Center, select Change the way Security Center alerts me.
      7. Click Alert Settings.
      8. Select Alert Settings, Firewall, and Virus Protection.
      9. Click OK
      10. Click Automatic Updates.
      11. Select Automatic.
      12. Click OK.
      13. Exit the Security Center.

    Writeup By: Ka Chun Leung