Detecting rootkit using Linux Kernel Runtime Guard
You want to determine whether there is an anomaly in your system, that might be caused by some rootkit installed by some hacker. These steps are tested on a Centos 7.9 VM. Installation steps First you need to install kernel-headers, kernel-tools, kernel-devel and gcc (gnu c compiler). Remove enablerepo stuffs if you are using latest kernel version in your distribution. yum install --enablerepo=C7.8.2003-base --enablerepo=C7.8.2003-updates kernel-headers-3.10.0-1127.10.1.el7.x86_64 kernel-tools-3.10.0-1127.10.1.el7.x86_64 kernel-devel-3.10.0-1127.10.1.el7.x86_64 gcc Alternative for using latest kernel version : yum install kernel-headers kernel-tools kernel-devel gcc Download lkrg from the main website : https://www.openwall.com/lkrg/ # wget https://www.openwall.com/ lkrg / lkrg -0.9.1.tar.gz # ls -l lkrg-0.9.1.tar.gz -rw-r--r--. 1 root root 121565 Apr 28 02:43 lkrg-0.9.1.tar.gz Extract and compile the stuffs. # tar -xvzf lkrg -0.9.1.tar.gz # make # make install ...