KeyPanic.Trojan - Removal

Risk Level 1: Very Low

Printer Friendly Page

Discovered: November 29, 2000
Updated: February 13, 2007 11:53:50 AM
Type: Trojan Horse


To remove the Datcheck.exe file and restore keyboard function, you need to:
  1. Start the computer in Safe mode.
  2. Enable "Show all files."
  3. Find and delete the Datcheck.exe or other Datcheck file.
  4. Remove the Datcheck.exe from the \Run key of the Windows registry.

For detailed instructions on how to do this, see the sections that follow.

To start the computer in Safe mode:
  • If you are running Windows 95:
    1. Exit all programs, and then shut down the computer. If the computer will not shut down normally, then proceed to the next step.
    2. Turn off the computer, and then wait 30 seconds. You must turn off the computer to remove the virus from memory. Do not use the Reset button.
    3. Turn on the computer. When you see the "Starting Windows 95" message, press F8.
    4. Press the number that corresponds with Safe mode, and then press Enter.
    5. Allow the computer to start in Safe mode. This could take some time.
    6. Click Start, point to Programs, point to Accessories, and then click Notepad.
    7. Type some sample text to see whether you have regained control of the keyboard.
      • If you can enter text, then proceed to the next section titled To enable show all files.
      • If you cannot enter text, and the obscene messages is still displayed, then skip to the section titled Removal using only the mouse.
    • If you are running Windows 98:
      1. Click Start, and then click Run.
      2. Click Start, point to Programs, point to Accessories, point to System Tools, and then click System Information.
      3. Click the Tools menu, and then System Configuration Utility.
      4. Click the General tab, and then click Advanced.
      5. Check Enable Startup Menu, click OK, and then click OK again.
      6. Exit all programs, and then shut down the computer. If the computer will not shut down normally, then proceed to the next step.
      7. Turn off the computer, and then wait 30 seconds. You must turn off the computer to remove the virus from memory. Do not use the Reset button.
      8. Turn on the computer, and then wait for the menu.
      9. Press the number for Safe mode, and then press Enter.
      10. Allow the computer to start in Safe mode. This could take some time.
      11. Click Start, point to Programs, point to Accessories, and then click Notepad.
      12. Type some sample text to see if you have regained control of the keyboard.
        • If you can enter text, go on to the next section titled Enable Show all files.
        • If you cannot enter text, and the obscene messages is still displayed, then skip to the section titled To remove the Datcheck.exe file, and restore keyboard function using only the mouse.

    To enable "Show all files:"
    Follow these steps to make sure that Windows is set to show all files:
    1. Start Windows Explorer.
    2. Click the View menu, and then click Options or Folder options.
    3. Click the View tab, and uncheck, if necessary, Hide file extensions for known file types.
    4. Click Show all files, and then click OK.

    To find and delete the Datcheck.exe file:
    Follow these steps to locate and delete the Datcheck file:
    1. Click Start, point to Find, and then click Files or Folders. The Find: All Files window appears.
    2. Make sure that "Look in" is set to (C:) and that "Include subfolders" is checked.
    3. In the Named box, type the following and then click Find Now:

      datcheck.*
    4. In the Results pane, select any Datcheck.exe files (or Datcheck files with other extensions) that are found, press Delete, and then click Yes to confirm.
    5. Do one of the following:
      • If you can delete the file or files, then proceed to the next step.
      • If you cannot delete the file or files, and you see the message, "Cannot delete Datcheck.exe: The specified file is being used by windows," then you must do the following:
        1. Skip to and complete the instructions in the section To edit the registry.
        2. Restart the computer.
        3. Return to the beginning of this section, and then start over with step 1.
    6. Right-click the Recycle Bin icon on the Windows desktop, and then click Empty Recycle Bin.

    To edit the registry:

    CAUTION: We strongly recommend that you back up the system registry before making any changes to it. Incorrect changes to the registry may result in permanent data loss or corrupted files. Please make sure that you modify only the keys specified. Please see the document How to back up the Windows 95/98/NT registry before proceeding.
    1. Click Start, and then 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 subkey:

      HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run
    4. In the right pane, select the following value:

      DATCHECK "C:\WINDOWS\SYSTEM\DATCHECK.EXE"
    5. Press Delete, and then click Yes to confirm.
    6. Click the Registry menu, and then click Exit to save the changes and close the Registry Editor.
    7. Restart the computer.

    To remove the Datcheck.exe file, and restore keyboard function using only the mouse:
    Use this removal procedure only if after, restarting in Safe mode, you still do not have control of the keyboard.

    To enable show all files:
    Follow these steps to make sure that Windows is set to show all files:
    1. Start Windows Explorer.
    2. Click the View menu, and then click Options or Folder options.
    3. Click the View tab, and then uncheck, if necessary, Hide file extensions for known file types.
    4. Click Show all files, and then click OK.

    To find and delete the Datcheck.exe file:
    Follow these steps to locate and delete the Datcheck file:
    1. Click Start, point to Programs, and then click Windows Explorer.
    2. Navigate to the C:\Windows\System folder and locate the Datcheck.exe file.

      NOTE: If Windows is installed to a different location, then make the appropriate substitution.
    3. Select the Datcheck.exe file, press Delete, and then click Yes to confirm.
    4. Close Windows Explorer
    5. Right-click the Recycle Bin icon on the Windows desktop, and then click Empty Recycle Bin.
    6. Restart the computer.

    To edit the registry:
    Follow these steps to remove the entry that was added to the registry:

    CAUTION: We strongly recommend that you back up the system registry before making any changes to it. Incorrect changes to the registry may result in permanent data loss or corrupted files. Please make sure that you modify only the keys specified. Please see the document How to back up the Windows 95/98/NT registry before proceeding.
    1. Click Start, and then 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 subkey:

      HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run
    4. In the right pane, select the following value:

      DATCHECK "C:\WINDOWS\SYSTEM\DATCHECK.EXE"
    5. Press Delete, and then click Yes to confirm.
    6. Click the Registry menu, and then click Exit to save the changes and close the Registry Editor.
    7. Restart the computer.



    Writeup By: Gor Nazaryan
    Search by name
    Example: W32.Beagle.AG@mm
    Windows 7
    Windows Vista Security