Potential Remote Desktop Tunneling Detected

edit

Identifies potential use of an SSH utility to establish RDP over a reverse SSH Tunnel. This could be indicative of adversary lateral movement to interactively access restricted networks.

Rule type: eql

Rule indices:

  • logs-endpoint.events.*
  • winlogbeat-*

Severity: high

Risk score: 73

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Lateral Movement

Version: 2 (version history)

Added (Elastic Stack release): 7.11.0

Last modified (Elastic Stack release): 7.11.2

Rule authors: Elastic

Rule license: Elastic License

Rule query

edit
process where event.type in ("start", "process_started", "info") and
/* RDP port and usual SSH tunneling related switches in commandline */
wildcard(process.args, "*:3389") and wildcard(process.args,"-L", "-P",
"-R", "-pw", "-ssh")

Threat mapping

edit

Framework: MITRE ATT&CKTM

Rule version history

edit
Version 2 (7.11.2 release)
  • Updated query, changed from:

    process where event.type in ("start", "process_started", "info") and
    /* RDP port and usual SSH tunneling related switches in commandline */
    wildcard(process.args, "*:3389") and wildcard(process.args,"-L", "-P",
    "-R", "-pw", "-ssh")