Threat Explorer

The Threat Explorer is a comprehensive resource consumers can turn to for daily, accurate, up-to-date information on the latest threats, risks and vulnerabilities.

Adware.Margoc

Adware.Margoc

Updated:
February 13, 2007
Risk Impact:
High
File Names:
restsrv32.sys,restsrv32a.sys,regsvrac32.dll,varies.
Systems Affected:
Windows

Behavior


Adware.Margoc is an adware program that displays pop-up windows.

Symptoms


Your Symantec program detects this threat as Adware.Margoc.

Behavior


This adware component can be manually installed.

Antivirus Protection Dates

  • Initial Rapid Release version October 02, 2014 revision 022
  • Latest Rapid Release version July 09, 2017 revision 019
  • Initial Daily Certified version May 23, 2004
  • Latest Daily Certified version July 10, 2017 revision 003
  • Initial Weekly Certified release date May 26, 2004
Click here for a more detailed description of Rapid Release and Daily Certified virus definitions.

When Adware.Margoc runs, it performs the following actions:
  1. Creates some of the following files:

    • %System%\restsrv32.sys
    • %Windir%\restsrv32a.sys
    • %System%\regsvrac32.dll
    • %System%\[Random characters].sys
    • %Windir%\[Random characters].sys
    • %System%\[Random characters].dll
    • %UserProfile%\Local Settings\Temp\1fetrov.tmp
    • %UserProfile%\Local Settings\Temp\5ov.tmp
    • %UserProfile%\Local Settings\Temp\5ovis1.tmp
    • %UserProfile%\Local Settings\Temp\5ovis1000.tmp
    • %UserProfile%\Local Settings\Temp\ferro.tmp
    • %UserProfile%\Local Settings\Temp\ferro21.tmp
    • %UserProfile%\Local Settings\Temp\fetrov.tmp
    • %UserProfile%\Local Settings\Temp\fewrro21.tmp
    • %UserProfile%\Local Settings\Temp\gumlj.tmp
    • %UserProfile%\Local Settings\Temp\ironnew.tmp
    • %UserProfile%\Local Settings\Temp\margo.tmp
    • %UserProfile%\Local Settings\Temp\sres32a.tmp
    • %UserProfile%\Local Settings\Temp\sres32b.tmp
    • %UserProfile%\Local Settings\Temp\sres32d.tmp
    • %UserProfile%\Local Settings\Temp\sres32e.tmp
    • %UserProfile%\Local Settings\Temp\svironnew.tmp
    • %UserProfile%\Local Settings\Temp\tretr.tmp
    • %UserProfile%\Local Settings\Temp\vironnew.tmp
    • %UserProfile%\Local Settings\Temp\[Random characters].sys


      Notes:
    • %Windir% is a variable. The adware locates the Windows installation folder (by default, this is C:\Windows or C:\Winnt) and copies itself to that location.
    • %System% is a variable. The adware locates the System folder and copies itself to that location. By default, this is C:\Windows\System (Windows 95/98/Me), C:\Winnt\System32 (Windows NT/2000), or C:\Windows\System32 (Windows XP).
    • %UserProfile% is a variable that refers to the current user's profile folder. By default, this is C:\Documents and Settings\<Current User> (Windows NT/2000/XP).

  2. Creates the file %System%\[Random characters].exe.

  3. Adds the value:

    "[Random characters].exe" = "%System%\[Random characters].exe"

    to the registry subkeys:

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

    so that Adware.Margoc runs the next time Windows starts.

  4. May add the following registry subkeys:

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

  5. May add the values:

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

    to the registry subkey:

    HKEY_CURRENT_USER\Software\[Random characters]

  6. May add the following registry subkeys:

    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}

  7. Registers one of the following files as a Browser Helper Object:

    • %System%\Regsvrac32.dll
    • %System%\[Random characters].dll

  8. Queries a Web site for configuration information.

  9. Displays pop-up advertisements when certain Web pages are displayed.

    Note: The Web site can configure the content of the advertisements to be displayed and when they will be displayed. At the time of writing, they are triggered by queries to the Google search engine.



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.