heroui logo

AWS SSM Data Channel Created for Session Targeted to Another Node

Elastic Detection Rules

View Source
Summary
This rule detects possible lateral movement in AWS Systems Manager Session Manager by correlating two CloudTrail events for the same SSM session: a StartSession event targeting a managed node, followed by a successful CreateDataChannel event that is initiated by a different managed node. Under normal operation, the node hosting the target session uses its own credentials to establish the data channel; a CreateDataChannel caller from another node may indicate that credentials from a compromised node are being used to join or impersonate the target's session. The detection looks for: (1) a StartSession and a subsequent CreateDataChannel for the same session_id, (2) at least two distinct managed nodes involved (one target, one caller), and (3) the first CreateDataChannel occurring after the first StartSession within a 30-minute window. The rule aggregates by cloud.account.id, cloud.region, and Esql.session_id, and requires at least one start and one data-channel event across separate nodes. It maps to MITRE ATT&CK technique T1021 (Remote Services) with subtechnique T1021.007 (Cloud Services) and is categorized under Lateral Movement. Suppression is available by grouping on account, region, and session_id for up to one hour. Investigating this alert should focus on session brokers, IAM roles, and the sequence of session and channel events to determine if the cross-node data channel was expected, legitimate, or malicious, followed by containment actions if a breach is confirmed.
Categories
  • Cloud
  • AWS
Data Sources
  • Cloud Service
  • Logon Session
  • Instance
ATT&CK Techniques
  • T1021
  • T1021.007
Created: 2026-11-25