97ee8cc9ac
* Refresh beats and ecs schemas and default to use latest to validate * remove incorrect ecs_version from zoom rule * remove stale ecs_version from rules
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[metadata]
|
|
creation_date = "2020/09/02"
|
|
maturity = "production"
|
|
updated_date = "2020/11/03"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies the installation of custom Application Compatibility Shim databases. This Windows functionality has been
|
|
abused by attackers to stealthily gain persistence and arbitrary code execution in legitimate Windows processes.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.*", "winlogbeat-*"]
|
|
language = "eql"
|
|
license = "Elastic License"
|
|
name = "Installation of Custom Shim Databases"
|
|
risk_score = 21
|
|
rule_id = "c5ce48a6-7f57-4ee8-9313-3d0024caee10"
|
|
severity = "medium"
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Persistence"]
|
|
type = "eql"
|
|
|
|
query = '''
|
|
sequence by process.entity_id with maxspan=5m
|
|
[process where event.type in ("start", "process_started") and
|
|
not (process.name : "sdbinst.exe" and process.parent.name : "msiexec.exe")]
|
|
[registry where event.type in ("creation", "change") and
|
|
wildcard(registry.path, "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Custom\\*.sdb")]
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1138"
|
|
name = "Application Shimming"
|
|
reference = "https://attack.mitre.org/techniques/T1138/"
|
|
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0003"
|
|
name = "Persistence"
|
|
reference = "https://attack.mitre.org/tactics/TA0003/"
|
|
|