$ echo "install dccp /bin/true" >> /etc/modprobe.d/dccp.conf
$ sudo rmmod dccp # in case it's already loaded
This is a good idea for any modules you don't expect to ever need. In my case: $ cat /etc/modprobe.d/disabled_modules.conf
install appletalk /bin/true
install bluetooth /bin/true
install cramfs /bin/true
install dccp /bin/true
install firewire-core /bin/true
*snipped*
install tipc /bin/true
install udf /bin/true
install usb-storage /bin/true
install vfat /bin/true
The original -- to me -- recommendations for this were found in some "hardening guide" for RHEL (CIS, NSA, etc.), although I don't remember which.See also the "modprobe.blacklist=" kernel parameter, which you'll have to use for "modules" that are compiled into the kernel itself (i.e., they are not actually loadable kernel modules).
15 years ago, when building your own kernels was a normal everyday thing, I simply built my kernels with everything compiled in and modules disabled. This (would have) prevented attacks such as kernel-level rootkits.
In addition, "one neat trick" was that you could halt (not poweroff) the machine (!) -- such as in the case of a Linux box simply acting as a router/firewall -- and the kernel would still be running. Good luck compromising that! :-)