580db2c13e
* Adds timeline_id to all network rules
- Uses the ID for the 'Generic Network Timeline' from Elastic
* Adds timeline_id to all endpoint rules
- Uses the ID for the 'Generic Endpoint Timeline' from Elastic
* Adds timeline_id to all process-oriented rules
- Uses the ID for the 'Generic Process Timeline' from Elastic
* Ran tests and toml-lint
* Bumped 'updated_date'
49 lines
1.4 KiB
TOML
49 lines
1.4 KiB
TOML
[metadata]
|
|
creation_date = "2020/02/18"
|
|
ecs_version = ["1.6.0"]
|
|
maturity = "production"
|
|
updated_date = "2020/10/27"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = "Identifies loadable kernel module errors, which are often indicative of potential persistence attempts."
|
|
false_positives = [
|
|
"""
|
|
Security tools and device drivers may run these programs in order to load legitimate kernel modules. Use of these
|
|
programs by ordinary users is uncommon.
|
|
""",
|
|
]
|
|
from = "now-9m"
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
|
language = "kuery"
|
|
license = "Elastic License"
|
|
name = "Persistence via Kernel Module Modification"
|
|
references = [
|
|
"https://www.hackers-arise.com/single-post/2017/11/03/Linux-for-Hackers-Part-10-Loadable-Kernel-Modules-LKM",
|
|
]
|
|
risk_score = 21
|
|
rule_id = "81cc58f5-8062-49a2-ba84-5cc4b4d31c40"
|
|
severity = "low"
|
|
tags = ["Elastic", "Host", "Linux", "Threat Detection", "Persistence"]
|
|
timeline_id = "76e52245-7519-4251-91ab-262fb1a1728c"
|
|
type = "query"
|
|
|
|
query = '''
|
|
event.category:process and event.type:(start or process_started) and process.name:(insmod or kmod or modprobe or rmod)
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1215"
|
|
name = "Kernel Modules and Extensions"
|
|
reference = "https://attack.mitre.org/techniques/T1215/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0003"
|
|
name = "Persistence"
|
|
reference = "https://attack.mitre.org/tactics/TA0003/"
|
|
|