601254488b
* [BBR Promotion] Q2 Linux BBR Promotion * Update collection_linux_clipboard_activity.toml * Update defense_evasion_creation_of_hidden_files_directories.toml
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[metadata]
|
|
creation_date = "2024/02/05"
|
|
integration = ["endpoint"]
|
|
maturity = "production"
|
|
updated_date = "2024/10/18"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Monitors for grep activity related to memory mapping. The /proc/*/maps file in Linux provides a memory map for a
|
|
specific process, detailing the memory segments, permissions, and what files are mapped to these segments. Attackers may
|
|
read a process's memory map to identify memory addresses for code injection or process hijacking.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.*", "endgame-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Suspicious Memory grep Activity"
|
|
references = ["https://github.com/arget13/DDexec"]
|
|
risk_score = 21
|
|
rule_id = "d74d6506-427a-4790-b170-0c2a6ddac799"
|
|
severity = "low"
|
|
tags = [
|
|
"Domain: Endpoint",
|
|
"OS: Linux",
|
|
"Use Case: Threat Detection",
|
|
"Tactic: Discovery",
|
|
"Data Source: Elastic Defend",
|
|
"Data Source: Elastic Endgame",
|
|
]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
query = '''
|
|
process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event") and
|
|
process.name in ("grep", "egrep", "fgrep", "rgrep") and process.args in ("[stack]", "[vdso]", "[heap]")
|
|
'''
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
|
|
[[rule.threat.technique]]
|
|
id = "T1057"
|
|
name = "Process Discovery"
|
|
reference = "https://attack.mitre.org/techniques/T1057/"
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0007"
|
|
name = "Discovery"
|
|
reference = "https://attack.mitre.org/tactics/TA0007/"
|