74 lines
2.5 KiB
TOML
74 lines
2.5 KiB
TOML
[metadata]
|
|
creation_date = "2020/11/19"
|
|
integration = ["endpoint", "windows"]
|
|
maturity = "production"
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
min_stack_version = "8.3.0"
|
|
updated_date = "2023/10/23"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = """
|
|
Identifies suspicious Image Loading of the Remote Desktop Services ActiveX Client (mstscax), this may indicate the
|
|
presence of RDP lateral movement capability.
|
|
"""
|
|
from = "now-9m"
|
|
index = ["logs-endpoint.events.*", "winlogbeat-*", "logs-windows.*", "endgame-*"]
|
|
language = "eql"
|
|
license = "Elastic License v2"
|
|
name = "Suspicious RDP ActiveX Client Loaded"
|
|
references = ["https://posts.specterops.io/revisiting-remote-desktop-lateral-movement-8fb905cb46c3"]
|
|
risk_score = 47
|
|
rule_id = "71c5cb27-eca5-4151-bb47-64bc3f883270"
|
|
setup = """
|
|
|
|
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 version 8.2.
|
|
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
|
|
`event.ingested` to @timestamp.
|
|
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
|
|
"""
|
|
severity = "medium"
|
|
tags = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Lateral Movement", "Data Source: Elastic Endgame", "Data Source: Elastic Defend"]
|
|
timestamp_override = "event.ingested"
|
|
type = "eql"
|
|
|
|
query = '''
|
|
any where host.os.type == "windows" and
|
|
(event.category : ("library", "driver") or (event.category == "process" and event.action : "Image loaded*")) and
|
|
(dll.name : "mstscax.dll" or file.name : "mstscax.dll") and
|
|
/* depending on noise in your env add here extra paths */
|
|
process.executable :
|
|
(
|
|
"C:\\Windows\\*",
|
|
"C:\\Users\\Public\\*",
|
|
"C:\\Users\\Default\\*",
|
|
"C:\\Intel\\*",
|
|
"C:\\PerfLogs\\*",
|
|
"C:\\ProgramData\\*",
|
|
"\\Device\\Mup\\*",
|
|
"\\\\*"
|
|
) and
|
|
/* add here FPs */
|
|
not process.executable : ("C:\\Windows\\System32\\mstsc.exe", "C:\\Windows\\SysWOW64\\mstsc.exe")
|
|
'''
|
|
|
|
|
|
[[rule.threat]]
|
|
framework = "MITRE ATT&CK"
|
|
[[rule.threat.technique]]
|
|
id = "T1021"
|
|
name = "Remote Services"
|
|
reference = "https://attack.mitre.org/techniques/T1021/"
|
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
id = "T1021.001"
|
|
name = "Remote Desktop Protocol"
|
|
reference = "https://attack.mitre.org/techniques/T1021/001/"
|
|
|
|
[rule.threat.tactic]
|
|
id = "TA0008"
|
|
name = "Lateral Movement"
|
|
reference = "https://attack.mitre.org/tactics/TA0008/"
|
|
|