AWS EC2 Deprecated AMI Discovery
Identifies when a user has queried for deprecated Amazon Machine Images (AMIs) in AWS. This may indicate an adversary looking for outdated AMIs that may be vulnerable to exploitation. While deprecated AMIs are not…
Description
Identifies when a user has queried for deprecated Amazon Machine Images (AMIs) in AWS. This may indicate an adversary looking for outdated AMIs that may be vulnerable to exploitation. While deprecated AMIs are not inherently malicious or indicative of a breach, they may be more susceptible to vulnerabilities and should be investigated for potential security risks.
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
- IaaS
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
Known benign triggers
- Administrators or developers who are unaware of the deprecation status of AMIs they are using.
- Automated tools or scripts that query for deprecated AMIs as part of a security assessment.
- Legitimate use of deprecated AMIs for testing or development purposes.
- Misconfigured applications or services that rely on deprecated AMIs for compatibility reasons.
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 |
|---|---|
| hackingthe.cloud/aws/exploitation/Misconfigured_Resource-Based_Policies/exploting_public_resources_attack_playbook/ | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- 264c641e-c202-11ef-993e-f661ea17fbce
- Tagged by the source as
- Data Source: AWSData Source: AWS CloudTrailData Source: AWS EC2Domain: CloudNoise: HighPerformance: NormalPlatform: AWSProfile: AggressiveResources: Investigation GuideRule Type: Custom Query (KQL)Service: AWS EC2Tactic: DiscoveryUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3