DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 315056 - Last Review: December 24, 2014 - Revision: 3.0

This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://support.microsoft.com/kb/256986/EN-US/ ) Description of the Microsoft Windows Registry

On This Page

Summary

The patch that is provided in Microsoft Security Bulletin MS01-059 introduces new functionality to limit the ability of a Universal Plug and Play-capable computer to be used in distributed denial-of-service attacks. The purpose of this article is to list the new functions and describe how to use them most effectively.

NOTE: The information in this article applies to Windows 98-based and Windows 98 Second Edition-based computers if the Internet Connection Sharing client from Windows XP has been installed.

More information

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Regulating Device Description Downloads Based on Network Scope

The patch introduces the ability to limit the lengths to which the Universal Plug and Play (UPnP) service can go to download a device description. An administrator can use this functionality to cause a patched computer to attempt to download a device description only if it resides in a predetermined locality on the network. To enable this functionality:
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\UPnP Control Point
  3. On the Edit menu, click Add Value, and then add the following registry value:
    Value name: DownloadScope
    Data type: REG_DWORD
    Value data:
    0 - on the same subnet
    1 - same subnet or at a private address
    2 - same subnet or at a private address or within 4 hops
    3 - anywhere
  4. Quit Registry Editor.
If the target is beyond the configured scope, a download is not attempted. By default (no registry value set), Windows only downloads device descriptions from hosts on the same subnet or in the private network.

Regulating Device Description Downloads Based on Router Hops

You can use an existing capability to limit where the UPnP service will download device descriptions, based on the number of router hops. To alter this setting (which operates independently of the UPnP Control Point setting):
  1. Start Registry Editor (Regedt32.exe).
  2. Locate and click the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SSDPSRV\Parameters
  3. On the Edit menu, click Add Value, and then add the following registry value:
    Value name: TTL
    Data type: REG_DWORD
    Value data: maximum number of router hops between the computer and the device description host
  4. Quit Registry Editor.
If the target is separated from the local computer by more than the specified number of router hops, a download is not attempted. By default (no registry value set), the UPnP service traverses a maximum of 4 router hops in pursuit of a device description.

Port Restrictions for Device Description Downloads

The patch introduces restrictions on the ports that can be specified for downloading device descriptions. Patched computers do not attempt to download device histories from any port under 1024, except for port 80.

Delay Mechanism

The patch also includes a non-configurable delay mechanism that prevents a computer from repeatedly and continuously attempting to download a device description, particularly if the host is on a remote network.

When you start a new download, a patched computer consults two tables. The first provides a maximum delay that is based on the number of failed download attempts from the current host, and whether the host is located on the local network or on an external one. The more failures, and the farther away the host is located, the longer the maximum delay, up to a limit of 4 minutes. The second table provides a maximum delay that is based on the number of downloads already in progress. The more ongoing downloads, the longer the maximum delay, up to a limit of one minute.

The system sums the two delay values that are derived from the tables, and generates a random number between zero and the sum. It then delays that many seconds before attempting the download.

Microsoft Security Bulletin MS01-059

To view this security bulletin, please view the following Microsoft Web site: http://www.microsoft.com/technet/security/bulletin/MS01-059.mspx (http://www.microsoft.com/technet/security/bulletin/MS01-059.mspx)

Applies to
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbnosurvey kbarchive kbenv kbfix kbinfo kbnetwork KB315056
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support