3.2.5 Ensure sctp kernel module is not available

Information

The Stream Control Transmission Protocol (SCTP) is a transport layer protocol used to support message oriented communication, with several streams of messages in one connection. It serves a similar function as TCP and UDP, incorporating features of both. It is message-oriented like UDP, and ensures reliable in-sequence transport of messages with congestion control like TCP.

Removing support for unneeded protocols reduces the local attack surface of the system. If this protocol is not needed, disable it.

Solution

Unload and disable the sctp kernel module.

- Run the following commands to unload the sctp kernel module:

# modprobe -r sctp 2>/dev/null
# rmmod sctp 2>/dev/null
- Perform the following to disable the sctp kernel module:

Create a file ending in .conf with install sctp /bin/false in the /etc/modprobe.d/ directory

Example:

# printf '\n%s\n' "install sctp /bin/false" >> /etc/modprobe.d/60-sctp.conf

Create a file ending in .conf with blacklist sctp in the /etc/modprobe.d/ directory

Example:

# printf '\n%s\n' "blacklist sctp" >> /etc/modprobe.d/60-sctp.conf

See Also

https://workbench.cisecurity.org/benchmarks/23598

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: 518ba745986cb1d421136c49d26164d0e2adf6bc86d5852f5dd5dc51a54fc9e6