elastic-protections
high
eql
Loadable Kernel Module Load Followed by Log Clearing
This rule detects when a loadable kernel module (LKM) is loaded, followed shortly by an attempt to clear system logs using common log-clearing commands like "dmesg" or "journalctl". Rootkits often use LKMs to hide their presence, and clearing logs right after loading is a common tactic to evade detection after such activities.