Prevent the DECnet Protocol from loading on your system by default. Potential attackers could exploit this protocol to compromise your system.

About this task

Avoid loading the DECnet Protocol module unless it is absolutely necessary. Binding this protocol to the network stack increases the attack surface of the host. Unprivileged local processes could cause the system to dynamically load a protocol handler by using the protocol to open a socket.

Procedure

  1. Open the DECnet Protocol /etc/modprobe.conf.local file in a text editor.
  2. Ensure that the following line appears in this file.

    install decnet /bin/true

  3. Save the file and close it.