Article ID: 269239 - Last Review: February 20, 2007 - Revision: 8.3 MS00-047: NetBIOS Vulnerability May Cause Duplicate Name on the Network ConflictsThis article was previously published under Q269239 On This PageSYMPTOMS Microsoft has released a patch that improves the ability of
an administrator to protect against denial-of-service attacks against Windows
NT 4.0 and Windows 2000-based computers. The NetBIOS over TCP/IP (NBT) protocols are, by design, unauthenticated and therefore vulnerable to "spoofing." A malicious user could misuse the unauthenticated nature of the protocol to send a name-conflict datagram to a target computer to cause it to relinquish its name and stop responding to queries. Upon receiving an unsolicited name-conflict datagram, the computer stops responding to the NetBIOS name that is in conflict, and it may display an error message stating that a duplicate name exists on the network. Also, the affected computer may experience one or more of the following symptoms: Intermittent Connectivity IssuesThe computer may have intermittent issues communicating with another computer.NetBIOS Name Service Conflicts
This patch changes the behavior of Windows to accept a name conflict datagram only in direct response to a name registration attempt. CAUSEIntermittent Connectivity IssuesA computer receives and then caches an unsolicited NetBT Datagram Service datagram in its remote NetBIOS name cache with the TCP/IP address specified in the unsolicited datagram.Datagram Service datagrams are used to transport data between different computers, and they are sent and received by NetBT only over UDP port 138. NetBIOS Name Service ConflictsA computer receives a Name Service datagram with an unsolicited negative name registration response for a name that is registered locally. For example, the following list describes some NetBIOS name services that can be affected by this issue:
RESOLUTION To resolve these issues, use the appropriate method: Intermittent Connectivity IssuesApply the appropriate hotfix listed later in this article for the operating system affected by this issue. In addition, preload sensitive NetBIOS names in the Lmhosts file, which causes NetBIOS to discard packets that attempt to overwrite the cache entry of Lmhosts preloaded names, preserving their address mapping.NetBIOS Name Service ConflictsApply the appropriate hotfix for the operating system affected by this issue, which causes unsolicited name registration responses that do not originate from a Windows Internet Name Service (WINS) server that the computer is registered with to be ignored.NOTE: For this issue, the hotfix only works if the affected computer is configured to use WINS. IMPORTANT: Microsoft recommends that this hotfix only be applied to computers that specifically require it, that is, computers that play a central role in the network and that the administrator judges could be a target for such an attack. Microsoft does not recommend that you apply this hotfix globally without testing it in a specific environment. Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows Follow these
steps:
Windows 2000To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:260910
(http://support.microsoft.com/kb/260910/EN-US/
)
How to Obtain the Latest Windows 2000 Service Pack
The following files are available for download from the Microsoft
Download Center:Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() Collapse this image ![]() 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
The English version of this fix should have the
following file attributes or later: Date Time Version Size File name -------------------------------------------------------- 07/20/2000 4:09:13pm 5.0.2195.2103 142,832 Netbt.sys For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base: 249149
(http://support.microsoft.com/kb/249149/EN-US/
)
Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
Windows NT 4.0To resolve this problem, obtain the individual package referenced below or obtain the Windows NT 4.0 Security Rollup Package. For additional information on the SRP, click the article number below to view the article in the Microsoft Knowledge Base:299444
(http://support.microsoft.com/kb/299444/EN-US/
)
Post-Windows NT 4.0 Service Pack 6a Security Rollup Package (SRP)
The following file is available for download from the Microsoft
Download Center:Collapse this image ![]() 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on secure servers that prevent any unauthorized
changes to the file.The English version of this fix should have the following file attributes or later: Date Time Size File name Platform ----------------------------------------------------- 08/29/2000 4:39pm 123,600 Netbt.sys x86 Windows NT Server 4.0, Terminal Server EditionTo resolve this problem, either obtain the hotfix referenced in this section or the Windows NT Server 4.0, Terminal Server Edition, Security Rollup Package (SRP). For additional information about the SRP, click the article number below to view the article in the Microsoft Knowledge Base:317636
(http://support.microsoft.com/kb/317636/EN-US/
)
Windows NT Server 4.0, Terminal Server Edition, Security Rollup Package
A supported fix is now available from Microsoft, but it is only
intended to correct the problem that is described in this article. Apply it
only to computers that are experiencing this specific problem.To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
(http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)
NOTE: In special cases, charges that are ordinarily incurred for
support calls may be canceled if a Microsoft Support Professional determines
that a specific update will resolve your problem. The usual support costs will
apply to additional support questions and issues that do not qualify for the
specific update in question.The following file is available for download from the Microsoft Download Center: Collapse this image ![]() 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on secure servers that prevent any unauthorized
changes to the file.The English version of this fix should have the following file attributes or later: Date Time Size File name Platform ----------------------------------------------------- 08/29/2000 06:23p 123,536 Netbt.sys x86 Windows Millennium EditionAs of August 14, 2000, there is no hotfix available for this operating system.To work around these issues, configure a firewall to block ports 137-139, which keeps external users from exploiting this NetBIOS vulnerability. You can also work around the NetBIOS name-service conflict issue by performing an operation that causes the TCP/IP stack to remove and then resend TCP/IP address notifications. You can trigger this by using one of the following methods:
Windows 95, Windows 95 OSR 2, Windows 98, and Windows 98 Second EditionThe English version of this fix should have the following file attributes or later:Date Time Version Size File Name Platform ------------------------------------------------------------------------- 07/31/2000 11:11a 4.10.1659 87,769 Vnbt.386 Windows 95, all versions 07/10/2000 11:23a 4.10.1721 87,749 Vnbt.386 Windows 98 07/10/2000 11:36a 4.10.2149 90,893 Vnbt.386 Windows 98 Second Edition STATUS This problem
was first corrected in Windows 2000 Service Pack 2. MORE INFORMATION For more information, please see the following Microsoft
Security Bulletin: http://www.microsoft.com/technet/security/bulletin/MS00-047.mspx
(http://www.microsoft.com/technet/security/bulletin/MS00-047.mspx)
The NetBIOS over TCP/IP protocols are unauthenticated by design,
and therefore are vulnerable to "spoofing." This vulnerability does not result
from a product flaw in any of the affected operating systems, it is simply an
outcome of the nature of the industry-standard protocol being used. A malicious
user could misuse the unauthenticated nature of the protocol to send a Name
Service datagram to a target computer, causing it to relinquish its name and
stop responding to queries.NetBIOS name conflicts specified in RFC 1001 (section 15.1.3.5) occur when a unique NetBIOS name is registered by more than one node. Under typical circumstances, name conflicts are detected during the NetBIOS name discovery process; a NetBIOS name should only be marked in conflict when an end node is actively resolving a NetBIOS name. The delivery of an unsolicited NetBIOS Name Service datagram to a computer that is running any of the Microsoft Windows operating systems listed earlier in this article places a registered NetBIOS name into a conflicted state. Conflicted NetBIOS names are effectively shut down because they are unable to respond to name discovery requests, to be used for session establishment, or to be used for sending and receiving NetBIOS datagrams. For unprotected names (names that are not preloaded in the Lmhosts file), only communication with the name whose TCP/IP address is modified by the unsolicited datagram is affected; this name is flushed from the NetBIOS cache within 5 seconds. To keep the remote name cache corrupted, the suspected attacker needs to send a stream of unsolicited datagrams, risking exposing his or her identity. Customers who need 100 percent protection against "spoofing" attacks may want to consider using IP Security Protocol (IPSec) in Windows 2000 to establish authenticated sessions over ports 137-139. Under some circumstances, this fix may cause several 4320 Errors logged by NetBT in the system event log, which may look confusing to the user. The reason for this is the release requests to common group names being broadcast to the subnet from other machines during shutdown, if 'b node' or improperly configured 'h node' machines are on the same subnet. For additional information about Windows 95 hotfixes, click the article number below to view the article in the Microsoft Knowledge Base: 161020
(http://support.microsoft.com/kb/161020/EN-US/
)
Implementing Windows 95 Updates
For
additional information about Windows 98 and Windows 98 Second Edition hotfixes,
click the article number below to view the article in the Microsoft Knowledge
Base: 206071
(http://support.microsoft.com/kb/206071/EN-US/
)
General Information on Windows 98 and SE Hotfixes
APPLIES TO
| Article Translations
|

Back to the top

