BackOrifice2K.Trojan

Printer Friendly Page

Discovered: July 11, 1999
Updated: February 13, 2007 11:58:22 AM
Type: Trojan Horse


Back Orifice 2000 is a new version of BackOrifice.Trojan. When installed on a Microsoft Windows system, this backdoor trojan horse program allows others to gain full access to the system through a network connection. Similar to the original BackOrifice , it consists of two pieces: a server and a client application. However, now both applications are capable of running under Windows NT. The client application, running on one machine, may be used to monitor and control a second machine running the server application.

The port number through which the client controls the server is configurable. However, as long as the port is blocked by a firewall, this trojan horse will not be able to infiltrate the server. It does not matter whether the TCP or UDP protocol is implemented. There have not been any reports of this program being able to break through a firewall.

Antivirus Protection Dates

  • Initial Rapid Release version July 11, 1999
  • Latest Rapid Release version July 30, 2017 revision 020
  • Initial Daily Certified version July 11, 1999
  • Latest Daily Certified version July 31, 2017 revision 004

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


Technical Description


Technical Notes

The server application may be configured with several different options. The networking protocol may be TCP or UDP. Any port number between 1 and 65535 may be selected for communication.

In the US version, the information transmitted may be encrypted by XOR or using 3DES. The 3DES encryption is not available in the international version.

The encryption key is programmable for both types of encryption. When the server program is executed for the first time on a system, it may copy itself to the \WINDOWS\SYSTEM directory on a Windows 9x system, and the \WINNT\SYSTEM32 directory on a Windows NT system. After being copied to the Windows system directory, the program may delete the original copy of itself. The name of the copied file is programmable. The default name of the copied executable begins with UMGR32. The server program may be configured to start itself upon Windows startup by adding an entry to the registry.

The program may also be set to hide itself from a process viewer such as Task Manager in Windows NT. If it is not hidden, the process name may be any name because it is also configurable. Plug-ins to this program may be integrated to add new functionality.

The following is a list of commands the client program may send to the server program:

  • Ping and query the server
  • Reboot or lock up the system
  • List cached and screen saver passwords
  • Display system information
  • Log keystrokes, view the keystroke log and delete the keystroke log
  • Display a message box
  • Map a port to another IP address, application, HTTP file server, or filename
  • List ports mapped by BackOrifice 2000
  • Send a file through another port
  • Share a drive, unshare a drive, list shared drives, list shared devices on a LAN, mapped a shared device, unmap a shared device and list all connections
  • List current processes, kill a process and start a process
  • View and edit the registry - create a key, set a value, get a value, delete a key, delete a value, rename a key, rename a value, enumerate keys and enumerate values
  • Video and audio capture and playback
  • Capture a screen shot
  • File and directory commands - list directory, find file, delete file, view file, move file, rename file, copy file, make directory, remove directory and set file attributes
  • Receive and send files
  • Compress and uncompress files
  • Resolve host name and address
  • Server control - shutdown server, restart server, load plug-in, remove plug-in and list plug-ins


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


Windows 9x Systems with NAV Installed

Note the name of the file NAV detects as the BackOrifice2k.Trojan. Reboot the machine to a clean DOS boot or Windows Startup floppy disk. Go to the \WINDOWS\SYSTEM directory on the drive where Windows is installed. Delete the file NAV detected as the BackOrifice2k.Trojan. Remove the floppy disk and restart the system. Edit the Windows registry using REGEDIT.EXE. Go to the following registry key:

      HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\

      CurrentVersion\RunServices

Delete the value that contains the name of the file NAV detected as the BackOrifice2k.Trojan.

Windows NT Systems with NAV Installed

Note the name of the file NAV detects as the BackOrifice2k.Trojan. Edit the Windows registry using REGEDIT.EXE. If you have Administrator access, go to the following registry key:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

      Services

Press CTRL+F and enter the name of the file NAV detected as the BackOrifice2k.Trojan. Delete the entire registry key that contains this value. This will delete the key from all ControlSet registry keys (i.e., ControlSet01, ControlSet02, etc.). Then, restart the system. Once Windows has started, go into the Command Prompt in the Start/Programs... menu, and delete the file NAV detected as the BackOrifice2k.Trojan. Check the registry again to make sure the trojan did not reinstall itself. Follow the instructions below to check if the trojan was installed without Administrator access. For users without Administrator access, go to the following registry key:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\

      CurrentVersion\Run

Check if the name of the file NAV detected as the BackOrifice2k.Trojan appears in this key. If so, delete that value from the registry. Then, restart the system. Once Windows has started, go into the Command Prompt in the Start/Programs... menu, and delete the file NAV detected as the BackOrifice2k.Trojan. Check the registry again to make sure that the trojan did not reinstall itself.

Windows 9x Systems without NAV Installed

If you do not have an antivirus product that detects this trojan, search through the following Windows 9x registry keys for any unusual entries:

      HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\

      CurrentVersion\RunServices

The default server file name will start with UMGR32, but it can be any name. The data value will have \WINDOWS\SYSTEM\ followed by the file name in the string. Note the name of the file. Delete this value from the registry. Then, reboot the system to a clean DOS boot or Windows Startup floppy disk. Go to the \WINDOWS\SYSTEM directory on the drive where Windows is installed. Delete the file with the same name as the deleted registry value. Remove the floppy disk and restart the system. Check the registry again to make sure the trojan did not reinstall itself.

Windows NT Systems without NAV Installed

If you do not have an antivirus product that detects this trojan, you must search through the registry manually. For users with Administrator access, run REGEDIT.EXE, and look for unusual entries in the following registry key:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\

      Services

The default key is Remote Administration Service nested in the key listed above, but it can have any key name. Note the name of the file listed for ImagePath. Delete the entire key. This will delete the key from all ControlSet registry keys (i.e., ControlSet01, ControlSet02, etc.). Then, restart the system. Once Windows has started, go into the Command Prompt in the Start/Programs... menu, and delete the file listed for ImagePath in the deleted registry key. Restart the system, and check the registry again to make sure the trojan did not reinstall itself. Follow the instructions below to check if the program was installed without Administrator access. For users without Administrator access, run REGEDIT.EXE, and look in the following registry key:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\

      CurrentVersion\Run

Search for any unusual entries that have \WINNT\SYSTEM32\ in the data field. Note the name of the file that follows \WINNT\SYSTEM32\. Delete this registry value. Then, restart the system. Once Windows has started, go into the Command Prompt in the Start/Programs... menu, and delete the file listed in the deleted registry value. Restart the system, and check the registry again to make sure the trojan did not reinstall itself. Contact your administrator to check if the trojan horse program was installed with Administrator access.

Writeup By: Raul Elnitiarta