Tools for researching CMK Linux Kernel Rootkit, but also other Linux Kernel rootkits implementing magic packets via Netfilter hooks.
Yara rule for identifying the CMK Linux Kernel Rootkit packer layer and the corresponding unpacking tool. cmk_rootkit_packer_layer.
Ghidra script that aims to extract all the possible values for the magic packets and then brute force the sample using those values.
Spawning the reverse shell: cmk_rootkit_magic_packet_reverse_shell.py