heroui logo

Loading of Kernel Module via Insmod

Sigma Rules

View Source
Summary
This detection rule identifies the loading of kernel modules using the `insmod` command on Linux systems. Loadable Kernel Modules (LKMs) are critical components that allow for extending the functionality of the Linux kernel dynamically. Attackers may exploit this functionality to gain persistent access to the system or to escalate their privileges, thereby potentially compromising the system security. The detection is based on monitoring system calls using the audit logging service (auditd). It specifically looks for the 'insmod' command being executed, which is known to load kernel modules. As kernel modules run with kernel privileges, their unauthorized loading via 'insmod' could signify malicious activity or attempts to perform unauthorized actions in the system context. The rule serves to alert system administrators to take immediate action if such activity is detected, particularly in environments where high-security measures are necessary.
Categories
  • Linux
  • Endpoint
Data Sources
  • Process
  • Logon Session
  • Kernel
  • Service
ATT&CK Techniques
  • T1547.006
Created: 2021-11-02