11dca27974
* [New Rule] Potential Widespread Malware Infection * Update potential_widespread_malware_infection.toml * . * Update execution_potential_widespread_malware_infection.toml * Update rules/cross-platform/execution_potential_widespread_malware_infection.toml Co-authored-by: Justin Ibarra <16747370+brokensound77@users.noreply.github.com> * Update rules/cross-platform/execution_potential_widespread_malware_infection.toml Co-authored-by: Justin Ibarra <16747370+brokensound77@users.noreply.github.com> --------- Co-authored-by: Justin Ibarra <16747370+brokensound77@users.noreply.github.com>
59 lines
1.7 KiB
TOML
59 lines
1.7 KiB
TOML
[metadata]
|
|
creation_date = "2024/05/08"
|
|
maturity = "production"
|
|
updated_date = "2024/05/08"
|
|
min_stack_comments = "ES|QL rule type is still in technical preview as of 8.13, however this rule was tested successfully"
|
|
min_stack_version = "8.13.0"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
This rule uses alert data to determine when a malware signature is triggered in multiple hosts. Analysts can use this
|
|
to prioritize triage and response, as this can potentially indicate a widespread malware infection.
|
|
"""
|
|
from = "now-9m"
|
|
language = "esql"
|
|
license = "Elastic License v2"
|
|
name = "Potential Widespread Malware Infection Across Multiple Hosts"
|
|
references = [
|
|
"https://github.com/elastic/protections-artifacts/tree/main/yara/rules"
|
|
]
|
|
risk_score = 73
|
|
rule_id = "28371aa1-14ed-46cf-ab5b-2fc7d1942278"
|
|
severity = "high"
|
|
tags = [
|
|
"Domain: Endpoint",
|
|
"Data Source: Elastic Defend",
|
|
"Use Case: Threat Detection",
|
|
"Tactic: Execution",
|
|
"Rule Type: Higher-Order Rule"
|
|
]
|
|
timestamp_override = "event.ingested"
|
|
type = "esql"
|
|
|
|
query = '''
|
|
from logs-endpoint.alerts-*
|
|
| where event.code in ("malicious_file", "memory_signature", "shellcode_thread") and rule.name is not null
|
|
| stats hosts = count_distinct(host.id) by rule.name, event.code
|
|
| where hosts >= 3
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1204"
|
|
name = "User Execution"
|
|
reference = "https://attack.mitre.org/techniques/T1204/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1204.002"
|
|
name = "Malicious File"
|
|
reference = "https://attack.mitre.org/techniques/T1204/002/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0002"
|
|
name = "Execution"
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|