d0dfa479bb
* [Rule Tuning] Windows BBR Rule Tuning - 1 * Update non-ecs-schema.json * Update rules_building_block/command_and_control_certutil_network_connection.toml Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com> * Update rules_building_block/collection_common_compressed_archived_file.toml Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com> * Update defense_evasion_dll_hijack.toml --------- Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com> Co-authored-by: Ruben Groenewoud <78494512+Aegrah@users.noreply.github.com>
82 lines
2.3 KiB
TOML
82 lines
2.3 KiB
TOML
[metadata]
|
|
creation_date = "2023/09/21"
|
|
integration = ["endpoint"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2024/04/05"
|
|
bypass_bbr_timing = true
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies the creation of a memory dump file with an unusual extension, which can indicate an attempt to disguise a
|
|
memory dump as another file type to bypass security defenses.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.file-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Memory Dump File with Unusual Extension"
|
|
risk_score = 21
|
|
rule_id = "c0b9dc99-c696-4779-b086-0d37dc2b3778"
|
|
severity = "low"
|
|
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Credential Access", "Tactic: Defense Evasion", "Data Source: Elastic Defend", "Rule Type: BBR"]
|
|
timestamp_override = "event.ingested"
|
|
building_block_type = "default"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
file where host.os.type == "windows" and event.type == "creation" and
|
|
|
|
/* MDMP header */
|
|
file.Ext.header_bytes : "4d444d50*" and
|
|
not file.extension : ("dmp", "mdmp", "hdmp", "edmp", "full", "tdref", "cg", "tmp", "dat") and
|
|
not
|
|
(
|
|
process.executable : "?:\\Program Files\\Endgame\\esensor.exe" and
|
|
process.code_signature.trusted == true and length(file.extension) == 0
|
|
) and
|
|
not
|
|
(
|
|
process.name : "System" and file.extension : "tmpscan"
|
|
)
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1003"
|
|
name = "OS Credential Dumping"
|
|
reference = "https://attack.mitre.org/techniques/T1003/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1003.001"
|
|
name = "LSASS Memory"
|
|
reference = "https://attack.mitre.org/techniques/T1003/001/"
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0006"
|
|
name = "Credential Access"
|
|
reference = "https://attack.mitre.org/tactics/TA0006/"
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1036"
|
|
name = "Masquerading"
|
|
reference = "https://attack.mitre.org/techniques/T1036/"
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1036.008"
|
|
name = "Masquerade File Type"
|
|
reference = "https://attack.mitre.org/techniques/T1036/008/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0005"
|
|
name = "Defense Evasion"
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|