forked from elastic/detection-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
execution_potential_widespread_malware_infection.toml
58 lines (51 loc) · 1.65 KB
/
execution_potential_widespread_malware_infection.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[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/"