Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Preventing Denial of Service (DoS) Attacks - win2k,2k3 (https://postpacific.loc-online.com/showthread.php?t=1139)

Digital 07.07.2005 04:35

Preventing Denial of Service (DoS) Attacks - win2k,2k3
 
Preventing Denial of Service (DoS) Attacks
Denial of Service attacks are difficult to defend against. One approach is to harden the TCP/IP stack on a Windows 2000 server or workstation to help prevent DoS attacks

By default, the TCP/IP stack is configured to handle normal traffic and to be robust under normal working conditions. If a Windows 2000 server or workstation is going to be exposed to the Internet, the TCP/IP stack should be reconfigured to handle the various TCP/IP protocol attacks.

All of the TCP/IP parameters are located under the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es

SynAttackProtect

Key: Tcpip\Parameters
Value Type: REG_DWORD—Boolean
Valid Range: 0, 1, 2
Default: 0


When enabled, this parameter causes TCP to adjust the retransmission of SYN-ACKS to cause connection responses to time out more quickly if it appears that there is a SYN-ATTACK in progress. This determination is based on the TcpMaxPortsExhausted parameter.
Parameters:

0: Default Value – Normal protection against SYN Attacks.
1: Better Protection - This parameter causes TCP to adjust the retransmission of SYN-ACKS to cause connection responses to time out more quickly if it appears that there is a SYN-ATTACK in progress. This determination is based on the TcpMaxPortsExhausted, TCPMaxHalfOpen, and TCPMaxHalfOpenRetried.
2: Best Protection – Adds in additional delays to connection indications to quickly timeout TCP connection requests when a SYN=Attack is in progress. This is the recommended setting. Note: When using this setting, the following socket options will no longer work: Scalable windows (RFC 1323) and per adapter configured TCP parameters (Initial RTT, window size).

for more information:
http://www.awprofessional.com/articl...?p=371702&rl=1

vieruemil 07.07.2005 10:47

What about xp? Is it safer, are these parameters predefined ?

EverCooL 07.07.2005 11:19

nice guide ... I applied it :) Yeah it should work for Xp too without any problem at all since they use same registry engine ... NT :/
i thought the windows didn't had SYN protection ... but it looks it has a lot more hidden functions ...

BiGBoY 07.07.2005 11:33

@EverCooL
NT platform got almost everything to do proper OS protection just u need to reveal it. Most of the vital things got not so nice GUI or no GUI at all. If u r familiar with command line handling, u would be amazed what all is hidden there.


All times are GMT. The time now is 16:42.