New Remote Desktop Connection Initiated Via Mstsc.EXE

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the usage of "mstsc.exe" with the "/v" flag to initiate a connection to a remote server. Adversaries may use valid accounts to log into a computer using the Remote Desktop Protocol (RDP). The adversary may then perform actions as the logged-on user.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\mstsc.exe" OR ORIGINALFILENAME = "mstsc.exe") AND COMMANDLINE contains " -v:, /v:, –v:, —v:, ―v:") 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

frack113