9f8638a004
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
60 lines
1.7 KiB
TOML
60 lines
1.7 KiB
TOML
[metadata]
|
|
creation_date = "2023/08/24"
|
|
integration = ["endpoint", "auditd_manager"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2024/03/08"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
building_block_type = "default"
|
|
description = """
|
|
Identify activity related where adversaries can include a trap command which then allows programs and shells to specify
|
|
commands that will be executed upon receiving interrupt signals.
|
|
"""
|
|
from = "now-119m"
|
|
interval = "60m"
|
|
index = ["logs-endpoint.events.*", "endgame-*", "auditbeat-*", "logs-auditd_manager.auditd-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Trap Signals Execution"
|
|
risk_score = 21
|
|
rule_id = "cf6995ec-32a9-4b2d-9340-f8e61acf3f4e"
|
|
severity = "low"
|
|
tags = [
|
|
"Domain: Endpoint",
|
|
"OS: Linux",
|
|
"OS: macOS",
|
|
"Use Case: Threat Detection",
|
|
"Tactic: Privilege Escalation",
|
|
"Rule Type: BBR",
|
|
"Data Source: Elastic Defend",
|
|
"Data Source: Elastic Endgame",
|
|
"Data Source: Auditd Manager"
|
|
]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
query = '''
|
|
process where event.type == "start" and event.action in ("exec", "exec_event", "executed", "process_started") and
|
|
process.name == "trap" and process.args : "SIG*"
|
|
'''
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
|
|
[[rule.threat.technique]]
|
|
id = "T1546"
|
|
name = "Event Triggered Execution"
|
|
reference = "https://attack.mitre.org/techniques/T1546/"
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1546.005"
|
|
name = "Trap"
|
|
reference = "https://attack.mitre.org/techniques/T1546/005/"
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0004"
|
|
name = "Privilege Escalation"
|
|
reference = "https://attack.mitre.org/tactics/TA0004/"
|