Cross-source coverage
T1021.008 / ATT&CK
Remote Services: Direct Cloud VM Connections
1 rule across 1 source.
From MITRE ATT&CK 19.2
Adversaries may leverage Valid Accounts to log directly into accessible cloud hosted compute infrastructure through cloud native methods. Many cloud providers offer interactive connections to virtual infrastructure that can be accessed through the Cloud API, such as Azure Serial Console, AWS EC2 Instance Connect, and AWS System Manager..
Methods of authentication for these connections can include passwords, application access tokens, or SSH keys. These cloud native methods may, by default, allow for privileged access on the host with SYSTEM or root level access.
Adversaries may utilize these cloud native methods to directly access virtual infrastructure and pivot through an environment. These connections typically provide direct console access to the VM rather than the execution of scripts (i.e., Cloud Administration Command).
- Tactics
- Lateral Movement
- Platforms
- IaaS
- Telemetry
-
AWS:CloudTrailWinEventLog:Sysmon
How MITRE says to detect it DET0211
Detection of Direct VM Console Access via Cloud-Native Methods
IaaS Analytic 0594
Direct login to cloud-hosted virtual machines via cloud-native access methods (e.g., EC2 Instance Connect, Azure Serial Console, SSM), followed by command execution or privilege escalation on the VM
AWS:CloudTrailSendSSHPublicKey, StartSession (SSM), EC2InstanceConnectWinEventLog:SysmonEventCode=1
elastic/detection-rules
1 rule| Detection | Severity | Format |
|---|---|---|
| Azure VM Serial Console Connection with Unusual User and ASN | Medium | Elastic TOML |