Lateral Movement (TA0008)(external, opens in a new tab or window)
endpoint(external, opens in a new tab or window)
windows(external, opens in a new tab or window)
m365_defender(external, opens in a new tab or window)
sentinel_one_cloud_funnel(external, opens in a new tab or window)
text code block:/* Identifies the modification of RDP Shadow registry or the execution of processes indicative of active shadow RDP session */ any where host.os.type == "windows" and ( (event.category == "registry" and event.type == "change" and registry.value : "Shadow" and registry.path : ( "*\\Software\\Policies\\Microsoft\\Windows NT\\Terminal Services\\Shadow" ) and registry.data.strings : ("1", "0x00000001", "2", "0x00000002", "3", "0x00000003", "4", "0x00000004") ) or (event.category == "process" and event.type == "start" and (process.name : ("RdpSaUacHelper.exe", "RdpSaProxy.exe") and process.parent.name : "svchost.exe") or (?process.pe.original_file_name : "mstsc.exe" and process.args : "/shadow:*") ) )
Install detection rules in Elastic Security
Detect Potential Remote Desktop Shadowing Activity in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).