2020-11-30 23:24:44 +01:00
[ metadata ]
creation_date = "2020/10/28"
2023-01-04 09:30:07 -05:00
integration = [ "endpoint" , "windows" ]
2020-11-30 23:24:44 +01:00
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"
2023-03-05 09:41:19 -09:00
updated_date = "2023/02/22"
2020-11-30 23:24:44 +01:00
[ rule ]
author = [ "Elastic" ]
description = "" "
2021-02-16 10:52:48 -09:00
Identifies the creation, change, or deletion of a DLL module within a Windows SxS local folder. Adversaries may abuse
shared modules to execute malicious payloads by instructing the Windows module loader to load DLLs from arbitrary local
paths.
2020-11-30 23:24:44 +01:00
" ""
from = "now-9m"
2022-10-19 08:27:44 -07:00
index = [ "winlogbeat-*" , "logs-endpoint.events.*" , "logs-windows.*" , "endgame-*" ]
2020-11-30 23:24:44 +01:00
language = "eql"
2021-03-03 22:12:11 -09:00
license = "Elastic License v2"
2020-11-30 23:24:44 +01:00
name = "Execution via local SxS Shared Module"
2021-05-10 13:40:56 -08:00
note = "" "## Triage and analysis
2022-04-01 15:27:08 -08:00
The SxS DotLocal folder is a legitimate feature that can be abused to hijack standard modules loading order by forcing an executable on the same application.exe.local folder to load a malicious DLL module from the same directory.
2022-07-18 15:41:32 -04:00
## 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-11-30 23:24:44 +01:00
references = [ "https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-redirection" ]
2021-02-08 13:15:42 -05:00
risk_score = 47
2020-11-30 23:24:44 +01:00
rule_id = "a3ea12f3-0d4e-4667-8b44-4230c63f3c75"
severity = "medium"
2022-10-19 08:27:44 -07:00
tags = [ "Elastic" , "Host" , "Windows" , "Threat Detection" , "Execution" , "Elastic Endgame" ]
2021-02-16 10:52:48 -09:00
timestamp_override = "event.ingested"
2020-11-30 23:24:44 +01:00
type = "eql"
query = '' '
2023-03-05 09:41:19 -09:00
file where host.os.type == "windows" and file.extension : "dll" and file.path : "C:\\*\\*.exe.local\\*.dll"
2020-11-30 23:24:44 +01:00
' ''
[ [ rule . threat ] ]
framework = "MITRE ATT&CK"
[ [ rule . threat . technique ] ]
id = "T1129"
name = "Shared Modules"
reference = "https://attack.mitre.org/techniques/T1129/"
[ rule . threat . tactic ]
id = "TA0002"
name = "Execution"
reference = "https://attack.mitre.org/tactics/TA0002/"
2021-02-16 10:52:48 -09:00