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
Impact:
The Stream Control Transmission Protocol (SCTP) is used by some telephony and signaling stacks (for example SS7 and Diameter). Disabling the sctp kernel module has no operational impact unless an application on the system requires SCTP.