AWS CloudShell Environment Created
Identifies the creation of a new AWS CloudShell environment. CloudShell is a browser-based shell that provides command-line access to AWS resources directly from the AWS Management Console. The CreateEnvironment API…
Description
Identifies the creation of a new AWS CloudShell environment. CloudShell is a browser-based shell that provides command-line access to AWS resources directly from the AWS Management Console. The CreateEnvironment API is called when a user launches CloudShell for the first time or when accessing CloudShell in a new AWS region. Adversaries with console access may use CloudShell to execute commands, install tools, or interact with AWS services without needing local CLI credentials. Monitoring environment creation helps detect unauthorized CloudShell usage from compromised console sessions.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- event_index
Known benign triggers
- Legitimate use of CloudShell by administrators for routine AWS management tasks. Verify whether the user has a legitimate need for CloudShell access and correlate with recent console login activity. Environment creation also occurs when users access CloudShell in a new AWS region.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| aws-samples.github.io/threat-technique-catalog-for-aws/Techniques/T1059.009.html | Only this detection cites it |
| permiso.io/blog/lucr-3-scattered-spider-getting-saas-y-in-the-cloud | 7 |
From the source
- At source
- Open at source
- Upstream identifier
- b625c9ad-16e5-4f16-8d38-3e9631952554
- Tagged by the source as
- Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudShellData Source: AWS CloudTrailDomain: CloudNoise: MediumPerformance: FastPlatform: AWSResources: Investigation GuideRule Type: Custom Query (KQL)Tactic: ExecutionUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3