The file speck.ko
can be found in /lib/modules/4.18.1-041801-generic/kernel/crypto
and it was built by the NSA (added since Linux Kernel 4.17).
I really want to remove this thing from my computer. If I see it in the /crypto
folder, does it mean it is enabled by default and used somehow?
This can be done in two ways:
Via the
/etc/modprobe.d/blacklist.conf
fileCreate that file (if it does not exist) and add the following line into it:
Note: They might make it dependent on another module hence it will load regardless, so the workaround is to add the line in this way rather than how it is written above:
Then reboot.
Via command line:
Simply add this to your bootloader's kernel line
Then boot as normal and the module should not be loaded.
TIP:- From
man modprobe
I see the-b
option which you can use after finding the name vialsmod
:Sources:
https://itsfoss.com/nsas-encryption-algorithm-in-linux-kernel-is-creating-unease-in-the-community/?utm_source=newsletter&utm_medium=email&utm_campaign=nsas_controversial_algorithm_video_player_and_other_linux_stuff&utm_term=2018-08-20
https://wiki.archlinux.org/index.php/Kernel_module#Blacklisting