2020-12-09 00:13:34 +01:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/12/04"
|
2021-04-21 19:10:06 +00:00
|
|
|
deprecation_date = "2021/04/15"
|
|
|
|
|
maturity = "deprecated"
|
|
|
|
|
updated_date = "2021/04/15"
|
2020-12-09 00:13:34 +01:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = """
|
2021-02-16 10:52:48 -09:00
|
|
|
Enumeration or discovery of the Windows registry using reg.exe. This information can be used to perform follow-on
|
|
|
|
|
activities.
|
2020-12-09 00:13:34 +01:00
|
|
|
"""
|
2021-02-17 19:49:58 -09:00
|
|
|
from = "now-9m"
|
2021-01-28 20:53:57 -09:00
|
|
|
index = ["logs-endpoint.events.*", "winlogbeat-*", "logs-windows.*"]
|
2020-12-09 00:13:34 +01:00
|
|
|
language = "eql"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-12-09 00:13:34 +01:00
|
|
|
name = "Query Registry via reg.exe"
|
|
|
|
|
risk_score = 21
|
|
|
|
|
rule_id = "68113fdc-3105-4cdd-85bb-e643c416ef0b"
|
|
|
|
|
severity = "low"
|
|
|
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Discovery"]
|
2021-02-16 10:52:48 -09:00
|
|
|
timestamp_override = "event.ingested"
|
2020-12-09 00:13:34 +01:00
|
|
|
type = "eql"
|
|
|
|
|
|
|
|
|
|
query = '''
|
|
|
|
|
process where event.type in ("start", "process_started") and
|
|
|
|
|
(process.name : "reg.exe" or process.pe.original_file_name == "reg.exe") and
|
|
|
|
|
process.args == "query"
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1012"
|
|
|
|
|
name = "Query Registry"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1012/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0007"
|
|
|
|
|
name = "Discovery"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0007/"
|
|
|
|
|
|