Deprecated - Creation of Kernel Module

Last updated 21 days ago on 2025-12-24
Created 2 years ago on 2023-08-23

About

Identifies activity related to loading kernel modules on Linux via creation of new ko files in the LKM directory.
Tags
Domain: EndpointOS: LinuxUse Case: Threat DetectionTactic: PersistenceRule Type: BBRData Source: Elastic DefendData Source: Elastic EndgameLanguage: eql
Severity
low
Risk Score
21
MITRE ATT&CK™

Persistence (TA0003)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-endpoint.events.*endgame-*
Related Integrations

endpoint(external, opens in a new tab or window)

Query
text code block:
file where host.os.type == "linux" and event.type in ("change", "creation") and file.path : "/lib/modules/*" and file.extension == "ko" and not process.name : ( "dpkg", "systemd", "falcon-sensor*", "dnf", "yum", "rpm", "cp" )

Install detection rules in Elastic Security

Detect Deprecated - Creation of Kernel Module in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).