3.4 Enable Strong TCP Sequence Number Generation - Enforce Strong TCP Sequence Number Generation setting (TCP_STRONG_ISS = 2).

Information

The variable TCP_STRONG_ISS sets the mechanism for generating the order of TCP packets. If an attacker can predict the next sequence number, it is possible to inject fraudulent packets into the data stream to hijack the session. Solaris supports three sequence number methods-
0 = Old-fashioned sequential initial sequence number generation.
1 = Improved sequential generation, with random variance in increment.
2 = RFC 1948 sequence number generation, unique-per-connection-ID.

Solution

Run the following commands to set TCP_STRONG_ISS to use RFC 1948 sequence number generation-

cd /etc/default
awk '/TCP_STRONG_ISS=/ { $1 = 'TCP_STRONG_ISS=2' }; { print }' inetinit > inetinit.new
mv inetinit.new inetinit
pkgchk -f -n -p /etc/default/inetinit
ndd -set /dev/tcp tcp_strong_iss 2

See Also

https://workbench.cisecurity.org/files/614

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(12), CSCv6|9.2

Plugin: Unix

Control ID: d37eba26108e561f589c66c5c1f5117b02d9a2dc08b7beb220d5932b1b92b0aa