1. /
  2. Security Response/
  3. Adware.Margoc

Adware.Margoc - Removal

Updated:
February 13, 2007 11:37:42 AM
Type:
Adware
Risk Impact:
High
File Names:
restsrv32.sys,restsrv32a.sys,regsvrac32.dll,varies.
Systems Affected:
Windows 2000, Windows 95, Windows 98, Windows Me, Windows NT, Windows Server 2003, Windows XP

The following instructions pertain to all Symantec antivirus products that support Security Risk detection.
  1. Update the definitions.
  2. Scan for and write down file names.
  3. Unregister the Browser Helper Object.
  4. Delete the value that was added to the registry.
  5. Run a full system scan and delete all the files detected as Adware.Margoc.
For specific details on each of these steps, read the following instructions.

1. To update the definitions
To obtain the most recent definitions, start your Symantec program and run LiveUpdate.

2. To scan for and write down file names
  1. Start your Symantec antivirus program, and then run a full system scan.
  2. If any files are detected as Adware.Margoc, write down the full path and file name. Do not try to delete the detected files at this time.
  3. Exit the Symantec antivirus program.

3. To unregister the Browser Helper Object
In this step you unregister the .dll files that were detected in section 2. You do not have to unregister any other detected files such as .exe files.
  1. Click Start > Run.
  2. Type the following for any .dll file that was found in section 2:

    regsvr32 /u "path\file name.dll"

    then click OK.

  3. If a dialog box confirming this action appears, click OK.
  4. If more than one .dll file was found in the scan, repeat steps a. and b. for each one until all have been unregistered.
  5. Click OK.

4. To delete the keys and values from the registry

WARNING: 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 keys only. Read the document, "How to make a backup of the Windows registry," for instructions.

  1. Click Start > Run.
  2. Type regedit

    Then click OK.

  3. Navigate to the subkeys:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

  4. In the right pane, delete any values that refer to the file detected as Adware.Margoc.

  5. Navigate to and delete the following subkeys:

    HKEY_CURRENT_USER\Software\[Random characters]
    HKEY_CURRENT_USER\Software\[Random characters]\symbols
    HKEY_CURRENT_USER\Software\margo

    HKEY_CLASSES_ROOT\CLSID\{D537A3D0-8C07-4D62-953F-162207F5090D}
    HKEY_CLASSES_ROOT\CLSID\{A78860C8-EE1A-46DF-A97F-E3E6D433E80B}
    HKEY_CLASSES_ROOT\CLSID\{63AC6939-D0EE-48C9-8ED7-F236344B263B}
    HKEY_CLASSES_ROOT\CLSID\{81D66134-ADC3-4C6D-B0A9-03D4EE35B849}
    HKEY_CLASSES_ROOT\CLSID\{A3E9059A-4253-4912-9585-878782F24B80}
    HKEY_CLASSES_ROOT\CLSID\{A5A350A7-C939-467A-9342-D2C8439AC411}
    HKEY_CLASSES_ROOT\CLSID\{FA040B34-FBE9-4BEF-9D85-F90BECAACA99}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{D537A3D0-8C07-4D62-953F-162207F5090D}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{A78860C8-EE1A-46DF-A97F-E3E6D433E80B}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{63AC6939-D0EE-48C9-8ED7-F236344B263B}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{81D66134-ADC3-4C6D-B0A9-03D4EE35B849}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{A3E9059A-4253-4912-9585-878782F24B80}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{A5A350A7-C939-467A-9342-D2C8439AC411}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
    \Browser Helper Objects\{FA040B34-FBE9-4BEF-9D85-F90BECAACA99}


  6. Navigate to the subkey:

    HKEY_CURRENT_USER\Software\[Random characters]

  7. In the right pane, delete the values:

    "fr" = "0"
    "FirstConnected" = "00 00 00 00 00 00 00 00"
    "LastConnected" = "00 00 00 00 00 00 00 00"


  8. Exit the registry editor.

5. To run a full system scan and delete all the files detected as Adware.Margoc
  1. Start your Symantec antivirus program, and then run a full system scan.
  2. If any files are detected as Adware.Margoc and depending on which software version you are using, you may see one or more of the following options:

    Note: This applies only to versions of Norton AntiVirus that support security risk detection. If you are running a version of Symantec AntiVirus Corporate Edition that supports security risk detection, and security risk detection has been enabled, you will only see a message box that gives the results of the scan. If you have questions in this situation, contact your network administrator.
    • Exclude (Not recommended): If you click this button, it will set the risk so that it is no longer detectable. That is, the antivirus program will keep the security risk on your computer and will no longer detect it to remove from your computer.

    • Ignore or Skip: This option tells the scanner to ignore the risk for this scan only. It will be detected again the next time that you run a scan.

    • Cancel: This option is new to Norton Antivirus 2005. It is used when Norton Antivirus 2005 has determined that it cannot delete a security risk. This Cancel option tells the scanner to ignore the risk for this scan only, and thus, the risk will be detected again the next time that you run a scan.

      To actually delete the security risk:
      • Click its file name (under the Filename column).
      • In the Item Information box that displays, write down the full path and file name.
      • Then use Windows Explorer to locate and delete the file.

        If Windows reports that it cannot delete the file, this indicates that the file is in use. In this situation, complete the rest of the instructions on this page, restart the computer in Safe mode, and then delete the file using Windows Explorer. Restart the computer in Normal mode.

    • Delete: This option will attempt to delete the detected files. In some cases, the scanner will not be able to do this.
      • If you see a message, "Delete Failed" (or similar message), manually delete the file.
      • Click the file name of the threat that is under the Filename column.
      • In the Item Information box that displays, write down the full path and file name.
      • Then use Windows Explorer to locate and delete the file.

        If Windows reports that it cannot delete the file, this indicates that the file is in use. In this situation, complete the rest of the instructions on this page, restart the computer in Safe mode, and then delete the file using Windows Explorer. Restart the computer in Normal mode.


Search Threats

Search by name
Example: W32.Beagle.AG@mm
STAR Antimalware Protection Technologies
Internet Security Threat Report
Symantec DeepSight Screensaver