Article ID: 810207 - Last Review: February 18, 2008 - Revision: 9.0 IPSec default exemptions are removed in Windows Server 2003IMPORTANT: 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 PageSUMMARYThe Internet Protocol Security (IPsec) feature in Windows
Server 2003 was not designed as a full-featured host-based firewall. It was
designed to provide basic permit and block filtering using address, protocol
and port information in network packets. IPsec was also designed as an
administrative tool to enhance the security of communications in a way that is
transparent to the programs. Because of this, it provides traffic filtering
that is necessary to negotiate security for IPsec transport mode or IPsec
tunnel mode, primarily for intranet environments where machine trust was
available from the Kerberos service or for specific paths across the Internet
where public key infrastructure (PKI) digital certificates can be
used. The default exemptions to IPsec policy filters are documented in the Microsoft Windows 2000 and Microsoft Windows XP Help. These filters make it possible for Internet Key Exchange (IKE) and Kerberos to function. The filters also make it possible for the network Quality of Service(QoS) to be signaled (RSVP) when the data traffic is secured by IPsec, and for traffic that IPsec cannot secure such as multicast and broadcast traffic. For additional information about these filters, click the following article number to view the article in the Microsoft Knowledge Base: 253169
(http://support.microsoft.com/kb/253169/
)
Traffic that can--and cannot--be secured by IPSec
MORE INFORMATIONWARNING: 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.
As IPsec is increasingly used for basic host-firewall
packet filtering, particularly in Internet-exposed scenarios, the effect of
these default exemptions has not been fully understood. Because of this, some
IPsec administrators may create IPsec policies that they believe to be secure,
but that are not secure against inbound attacks that use the default
exemptions. For these reasons, Microsoft has removed most of the default exemptions in Windows Server 2003. This may require IPsec policy changes for Windows Server 2003 for IPsec deployment scenarios where you use IKE to negotiate security and IPsec protection for upper-layer protocol traffic. Removal of default exemptions WindowsBy default, Windows Server 2003, removes all default exemptions, except for the IKE exemption. Changes to existing IPsec policy designs may be required before you can use the policy on Windows Server 2003 .Administrators should start planning for these changes for all existing and new IPsec deployments by using NoDefaultExempt=1 on their Windows 2000-based and Windows XP-based computers. The NoDefaultExempt=1 registry key is supported in Windows Server 2003 to make it possible for administrators to restore the earlier default exemption behavior for backward compatibility with earlier IPsec policy designs and program compatibility. During the upgrade to Windows Server 2003, the value of an existing NoDefaultExempt=1 registry key setting is preserved. For additional information about default exemptions for Windows 2000-based and Windows XP-based computers, click the following article number to view the article in the Microsoft Knowledge Base: 811832
(http://support.microsoft.com/kb/811832/
)
IPSec default exemptions can be used to bypass IPsec protection in some scenarios
Note Review this article (811832) before you use the registry key to
re-enable the default exemptions.Also review the "Specifying Default Exemptions to IPSec Filtering" section in the Windows Server 2003 IPsec Deployment kit for more information. To obtain the Microsoft Windows 2003 Server Deployment Kit, visit the following Microsoft Web site: http://technet2.microsoft.com/WindowsServer/en/library/0bd06cf7-2ed6-46f1-bb55-2bf870273e151033.mspx?mfr=true
(http://technet2.microsoft.com/WindowsServer/en/library/0bd06cf7-2ed6-46f1-bb55-2bf870273e151033.mspx?mfr=true)
To modify the default filtering behavior for Windows Server 2003
IPSec, you can use the Netsh IPSec command or modify the
registry.To modify the default filtering behavior by using the Netsh IPSec command:
Impact of IKE exemptionThe effect of the IKE exemption is the same as for Windows 2000 and Windows XP. However, Windows Server 2003 provides improved DoS avoidance to flooding attacks.For additional information about IKE exemption for Windows 2000 and Windows XP, click the following article number to view the article in the Microsoft Knowledge Base: 811832
(http://support.microsoft.com/kb/811832/EN-US/
)
IPSec Default Exemptions Can Be Used to Bypass IPsec Protection in Some
Scenarios
Effect of Kerberos exemptionIf NoDefaultExempt is set to 0 or 2 to restore the exemption, the effect of Kerberos exemption is the same as described for Windows 2000 and Windows XP.For more information about Kerberos exemption for Windows 2000 and Windows XP, click the following article number to view the article in the Microsoft Knowledge Base: 811832
(http://support.microsoft.com/kb/811832/
)
IPSec Default Exemptions Can Be
Used to Bypass IPsec Protection in Some Scenarios
Effect of RSVP exemptionIf NoDefaultExempt is set to 0 or 2 to restore the exemption, the RSVP exemption risk is limited to third-party RSVP implementations that may be installed. By default, Windows Server 2003 does not include the QoS RSVP service. The –R option has been removed from the Pathping utility so it does not support the RSVP protocol.Effect of broadcast and multicast exemptionsIf NoDefaultExempt is set to 0 or 1 to restore the exemption, the effect of broadcast and multicast exemptions is the same as described for Windows 2000 and Windows XP. However, Windows Server 2003 IPsec does support filtering broadcast and multicast traffic. An IPsec policy design may have filters that would be matched by outbound broadcast or multicast such as a filter with source address of “My IP Address” and a destination address of “Any IP Address”. IPsec policies should be tested in the lab and in operation to confirm the effect of an existing policy design on this traffic. Broadcast and multicast traffic can be blocked in a limited way by using an IPsec filter with source and destination address of “Any IP Address”. The Microsoft Windows Server 2003 Resource Kit contains more information.For additional information about broadcast and multicast exemptions for Windows 2000 and Windows XP, click the following article number to view the article in the Microsoft Knowledge Base: 811832
(http://support.microsoft.com/kb/811832/EN-US/
)
IPSec Default Exemptions Can Be Used to Bypass IPsec Protection in Some
Scenarios
Which programs can receive broadcast traffic?Windows Server 2003 supports a socket option for programs to explicitly disable the receipt of broadcast traffic, but there is no change to the default behavior that programs that are listening on UDP ports receive broadcast traffic.Which Programs can receive multicast traffic?In Windows Server 2003, programs still must explicitly register with the TCPIP stack to receive inbound multicast traffic types, and traffic may be dropped if the multicast group is unregistered.Using IPsec with the Internet Connection FirewallAs in Windows XP, ICF and IPsec filtering capabilities can be combined to create advanced filtering behaviors. This is particularly useful where IPsec must statically permit certain outbound traffic to the Internet such as for HTTP or DNS or SMTP. This makes it possible for ICF to provide stateful filtering of outbound traffic that IPsec permits.REFERENCES
For additional information about the effect of IP Security default exemptions, click the following article number to view the article in the Microsoft Knowledge Base:
811832
(http://support.microsoft.com/kb/811832/
)
IPsec default exemptions can be used to bypass IPsec protection in some scenarios for Windows 2000 and Windows XP
For more information about filtering and deployment
guidance for IPsec in Windows Server 2003, see the IPsec deployment chapter in
the Microsoft Windows 2003 Server Deployment Kit. To do so, visit the following
Microsoft Web site:http://technet2.microsoft.com/WindowsServer/en/library/0bd06cf7-2ed6-46f1-bb55-2bf870273e151033.mspx?mfr=true
(http://technet2.microsoft.com/WindowsServer/en/library/0bd06cf7-2ed6-46f1-bb55-2bf870273e151033.mspx?mfr=true)
APPLIES TO
| Article Translations
|
Back to the top
