2020-12-07 20:08:12 +01:00
[ metadata ]
creation_date = "2020/10/27"
2023-12-19 20:59:48 +00:00
deprecation_date = "2023/12/15"
2023-01-04 09:30:07 -05:00
integration = [ "endpoint" , "windows" ]
2023-12-19 20:59:48 +00:00
maturity = "deprecated"
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-12-19 20:59:48 +00:00
updated_date = "2023/12/15"
2020-12-07 20:08:12 +01:00
[ rule ]
author = [ "Elastic" ]
description = "" "
2021-01-28 20:53:57 -09:00
Identifies process execution followed by a file overwrite of an executable by the same parent process. This may indicate
an evasion attempt to execute malicious code in a stealthy way.
2020-12-07 20:08:12 +01:00
" ""
from = "now-9m"
2021-01-28 20:53:57 -09:00
index = [ "logs-endpoint.events.*" , "winlogbeat-*" , "logs-windows.*" ]
2020-12-07 20:08:12 +01:00
language = "eql"
2021-03-03 22:12:11 -09:00
license = "Elastic License v2"
2020-12-07 20:08:12 +01:00
name = "Potential Process Herpaderping Attempt"
references = [ "https://github.com/jxy-s/herpaderping" ]
risk_score = 73
rule_id = "ccc55af4-9882-4c67-87b4-449a7ae8079c"
severity = "high"
2023-12-19 20:59:48 +00:00
tags = [
"Domain: Endpoint" ,
"OS: Windows" ,
"Use Case: Threat Detection" ,
"Tactic: Defense Evasion" ,
"Data Source: Elastic Defend" ,
]
2020-12-07 20:08:12 +01:00
type = "eql"
query = '' '
sequence with maxspan=5s
2023-03-05 09:41:19 -09:00
[process where host.os.type == "windows" and event.type == "start" and not process.parent.executable :
2022-10-05 13:45:36 -04:00
(
"?:\\Windows\\SoftwareDistribution\\*.exe",
"?:\\Program Files\\Elastic\\Agent\\data\\*.exe",
"?:\\Program Files (x86)\\Trend Micro\\*.exe"
)
] by host.id, process.executable, process.parent.entity_id
2023-03-05 09:41:19 -09:00
[file where host.os.type == "windows" and event.type == "change" and event.action == "overwrite" and file.extension == "exe"] by host.id, file.path, process.entity_id
2020-12-07 20:08:12 +01:00
' ''
[ [ rule . threat ] ]
framework = "MITRE ATT&CK"
[ [ rule . threat . technique ] ]
id = "T1036"
name = "Masquerading"
reference = "https://attack.mitre.org/techniques/T1036/"
[ rule . threat . tactic ]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"
2021-01-28 20:53:57 -09:00