Networking / Beginners

TCP Hardening

The TCP stack in Windows 2000 and higher is quite solid actually. However, you should consider making at least one tweak on servers. SynAttackProtect makes the system considerably more resilient to TCP SYN-flood attacksan attack where the attacker simply attempts to make many concurrent connections to a system to exhaust its capability to service legitimate users. SynAttackProtect is a REG_DWORD under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters. Note that it may not be there by default, in which case you have to add it. It can take three values: 0, 1, and 2. 0, the default, is appropriate for clients and servers on slow links. We recommend that servers on the Internet or otherwise subject to SYN-floods have SynAttackProtect set to 2. Systems on slow links cannot have this value set because it would cause legitimate connections to be timed out. The Windows 2000 Hardening Guide will add this value to the Group Policy UI. The Windows Server 2003 guide contains information on how to manually add it.

There are several other TCP hardening settings, but the majority of them have a relatively low or specialized impact.

[Previous] [Contents] [Next]