Mstsc.EXE Execution With Local RDP File

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects potential RDP connection via Mstsc using a local ".rdp" file

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\mstsc.exe" OR ORIGINALFILENAME = "mstsc.exe") AND COMMANDLINE endswith ".rdp,.rdp"") AND (PARENTPROCESSNAME != "C:\Windows\System32\lxss\wslhost.exe" OR COMMANDLINE notcontains "C:\ProgramData\Microsoft\WSL\wslg.rdp") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems), Christopher Peacock @securepeacock