Files
sigma-rules/rules/_deprecated/persistence_creation_of_kernel_module.toml
T

59 lines
1.5 KiB
TOML
Raw Normal View History

2023-08-25 19:10:12 +05:30
[metadata]
creation_date = "2023/08/23"
deprecation_date = "2026/02/04"
2023-08-25 19:10:12 +05:30
integration = ["endpoint"]
maturity = "deprecated"
updated_date = "2026/02/04"
2023-08-25 19:10:12 +05:30
[rule]
author = ["Elastic"]
building_block_type = "default"
2024-05-23 00:45:10 +05:30
description = "Identifies activity related to loading kernel modules on Linux via creation of new ko files in the LKM directory.\n"
2023-08-25 19:10:12 +05:30
from = "now-119m"
index = ["logs-endpoint.events.*", "endgame-*"]
2024-05-23 00:45:10 +05:30
interval = "60m"
2023-08-25 19:10:12 +05:30
language = "eql"
license = "Elastic License v2"
2026-01-07 16:52:40 +01:00
name = "Deprecated - Creation of Kernel Module"
2023-08-25 19:10:12 +05:30
risk_score = 21
rule_id = "947827c6-9ed6-4dec-903e-c856c86e72f3"
severity = "low"
2023-12-19 20:17:53 +01:00
tags = [
2024-05-23 00:45:10 +05:30
"Domain: Endpoint",
"OS: Linux",
"Use Case: Threat Detection",
"Tactic: Persistence",
"Rule Type: BBR",
"Data Source: Elastic Defend",
"Data Source: Elastic Endgame",
]
2023-08-25 19:10:12 +05:30
timestamp_override = "event.ingested"
type = "eql"
2023-08-25 19:10:12 +05:30
query = '''
2024-03-07 12:35:33 +01:00
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"
)
2023-08-25 19:10:12 +05:30
'''
2023-08-25 19:10:12 +05:30
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1547"
name = "Boot or Logon Autostart Execution"
reference = "https://attack.mitre.org/techniques/T1547/"
[[rule.threat.technique.subtechnique]]
id = "T1547.006"
name = "Kernel Modules and Extensions"
reference = "https://attack.mitre.org/techniques/T1547/006/"
2023-08-25 19:10:12 +05:30
[rule.threat.tactic]
id = "TA0003"
name = "Persistence"
reference = "https://attack.mitre.org/tactics/TA0003/"