2020-09-22 13:52:01 +02:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/08/14"
|
|
|
|
|
maturity = "production"
|
2021-03-03 22:12:11 -09:00
|
|
|
updated_date = "2021/03/03"
|
2020-09-22 13:52:01 +02:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
2020-09-24 01:03:29 -05:00
|
|
|
description = """
|
|
|
|
|
Identifies suspicious psexec activity which is executing from the psexec service that has been renamed, possibly to
|
|
|
|
|
evade detection.
|
|
|
|
|
"""
|
2020-09-30 19:16:04 -05:00
|
|
|
from = "now-9m"
|
2021-01-28 20:53:57 -09:00
|
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
|
2020-12-08 17:27:16 +01:00
|
|
|
language = "eql"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-09-22 13:52:01 +02:00
|
|
|
name = "Suspicious Process Execution via Renamed PsExec Executable"
|
|
|
|
|
risk_score = 47
|
|
|
|
|
rule_id = "e2f9fdf5-8076-45ad-9427-41e0e03dc9c2"
|
|
|
|
|
severity = "medium"
|
2020-10-26 13:50:45 -05:00
|
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Execution"]
|
2021-02-16 10:52:48 -09:00
|
|
|
timestamp_override = "event.ingested"
|
2020-12-08 17:27:16 +01:00
|
|
|
type = "eql"
|
2020-09-22 13:52:01 +02:00
|
|
|
|
|
|
|
|
query = '''
|
2020-12-08 17:27:16 +01:00
|
|
|
process where event.type in ("start", "process_started", "info") and
|
|
|
|
|
process.pe.original_file_name : "psexesvc.exe" and not process.name : "PSEXESVC.exe"
|
2020-09-22 13:52:01 +02:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
2020-12-18 12:46:16 -09:00
|
|
|
id = "T1569"
|
|
|
|
|
name = "System Services"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1569/"
|
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
|
|
|
id = "T1569.002"
|
2020-09-22 13:52:01 +02:00
|
|
|
name = "Service Execution"
|
2020-12-18 12:46:16 -09:00
|
|
|
reference = "https://attack.mitre.org/techniques/T1569/002/"
|
2020-09-22 13:52:01 +02:00
|
|
|
|
|
|
|
|
|
2021-02-16 10:52:48 -09:00
|
|
|
|
2020-09-22 13:52:01 +02:00
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0002"
|
|
|
|
|
name = "Execution"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|
2020-09-24 01:03:29 -05:00
|
|
|
|