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