56 lines
2.1 KiB
TOML
56 lines
2.1 KiB
TOML
[metadata]
|
|
creation_date = "2020/11/23"
|
|
integration = ["endpoint", "windows"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2023/10/23"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = "Detects attempts to establish persistence on an endpoint by installing a rogue Microsoft Outlook VBA Template."
|
|
false_positives = ["A legitimate VBA for Outlook is usually configured interactively via OUTLOOK.EXE."]
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.*", "winlogbeat-*", "logs-windows.*", "endgame-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Persistence via Microsoft Outlook VBA"
|
|
references = [
|
|
"https://www.mdsec.co.uk/2020/11/a-fresh-outlook-on-mail-based-persistence/",
|
|
"https://www.linkedin.com/pulse/outlook-backdoor-using-vba-samir-b-/",
|
|
]
|
|
risk_score = 47
|
|
rule_id = "397945f3-d39a-4e6f-8bcb-9656c2031438"
|
|
setup = """
|
|
|
|
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2,
|
|
events will not define `event.ingested` and default fallback for EQL rules was not added until version 8.2.
|
|
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
|
|
`event.ingested` to @timestamp.
|
|
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
|
|
"""
|
|
severity = "medium"
|
|
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Persistence", "Data Source: Elastic Endgame", "Data Source: Elastic Defend"]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
file where host.os.type == "windows" and event.type != "deletion" and
|
|
file.path : "C:\\Users\\*\\AppData\\Roaming\\Microsoft\\Outlook\\VbaProject.OTM"
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1137"
|
|
name = "Office Application Startup"
|
|
reference = "https://attack.mitre.org/techniques/T1137/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0003"
|
|
name = "Persistence"
|
|
reference = "https://attack.mitre.org/tactics/TA0003/"
|
|
|