2020-12-08 20:51:14 +01:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/11/25"
|
2023-01-04 09:30:07 -05:00
|
|
|
integration = ["endpoint"]
|
2020-12-08 20:51:14 +01:00
|
|
|
maturity = "production"
|
2022-08-24 10:38:49 -06:00
|
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
|
|
|
min_stack_version = "8.3.0"
|
2023-06-22 18:38:56 -03:00
|
|
|
updated_date = "2023/06/22"
|
2020-12-08 20:51:14 +01:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = """
|
|
|
|
|
Identifies registry write modifications to hide an encoded portable executable. This could be indicative of adversary
|
|
|
|
|
defense evasion by avoiding the storing of malicious content directly on disk.
|
|
|
|
|
"""
|
|
|
|
|
from = "now-9m"
|
2022-10-19 08:27:44 -07:00
|
|
|
index = ["logs-endpoint.events.*", "endgame-*"]
|
2020-12-08 20:51:14 +01:00
|
|
|
language = "eql"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-12-08 20:51:14 +01:00
|
|
|
name = "Encoded Executable Stored in the Registry"
|
|
|
|
|
risk_score = 47
|
|
|
|
|
rule_id = "93c1ce76-494c-4f01-8167-35edfb52f7b1"
|
|
|
|
|
severity = "medium"
|
2023-09-05 15:22:01 -03:00
|
|
|
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Defense Evasion", "Data Source: Elastic Endgame", "Data Source: Elastic Defend"]
|
2021-02-16 10:52:48 -09:00
|
|
|
timestamp_override = "event.ingested"
|
2020-12-08 20:51:14 +01:00
|
|
|
type = "eql"
|
|
|
|
|
|
|
|
|
|
query = '''
|
2023-03-05 09:41:19 -09:00
|
|
|
registry where host.os.type == "windows" and
|
2020-12-08 20:51:14 +01:00
|
|
|
/* update here with encoding combinations */
|
|
|
|
|
registry.data.strings : "TVqQAAMAAAAEAAAA*"
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
2021-09-23 14:08:38 -03:00
|
|
|
id = "T1112"
|
|
|
|
|
name = "Modify Registry"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1112/"
|
2020-12-08 20:51:14 +01:00
|
|
|
|
2023-01-04 09:30:07 -05:00
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1140"
|
|
|
|
|
name = "Deobfuscate/Decode Files or Information"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1140/"
|
|
|
|
|
|
|
|
|
|
|
2020-12-08 20:51:14 +01:00
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0005"
|
|
|
|
|
name = "Defense Evasion"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
2021-02-16 10:52:48 -09:00
|
|
|
|