2020-09-22 13:52:01 +02:00
[ metadata ]
creation_date = "2020/08/14"
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"
2022-09-19 11:06:30 -07:00
updated_date = "2022/09/15"
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"
2022-07-18 15:41:32 -04:00
note = "" "## Setup
2022-04-01 15:27:08 -08:00
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2, events will not define `event.ingested` and default fallback for EQL rules was not added until 8.2, so you will need to add a custom pipeline to populate `event.ingested` to @timestamp for this rule to work.
" ""
2020-09-22 13:52:01 +02:00
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 = '' '
2022-09-19 11:06:30 -07:00
process where event.type == "start" and
2020-12-08 17:27:16 +01:00
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