Suspicious AWS EC2 Instance Role Cloud Infrastructure Discovery

PremiumReviewedSigma · Low · v1
Product
aws
Service
cloudtrail
Author
HuntRule
Published
2026-11-03
Updated
2026-11-03

ATT&CK techniques

Cred Access → Discovery
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects an assumed EC2 instance IAM role enumerating EC2 instances and security groups through the DescribeInstances and DescribeSecurityGroups APIs. In the Wiz Kubernetes privilege escalation case study an attacker who reached the Instance Metadata Service from a compromised EKS pod used the stolen instance role to perform cloud infrastructure reconnaissance. This is important because such discovery from a workload role that normally does not enumerate infrastructure is an early sign of a stolen credential being abused for lateral movement.

Related detections9 linkedT1552.005 — drag to rearrange
Suspicious AWS IoT Credential Issuance via AssumeRoleWithCertificate
Suspicious AWS IAM Enumeration from Boto3 User Agent
Suspicious Cloud Instance Metadata Token Retrieval via Command-Line Tool
Suspicious Azure WireServer Access via curl from Container
Suspicious Artifact Registry Enumeration by Vertex AI Service Agent (via gcp)
Malicious Cloud Attack Tooling User Agent in CloudTrail via aws (via cloudtrail)
Possible Kubernetes Service Account Token Theft from Pod Secrets Path
Malicious Cloud Instance Metadata Token Theft via IMDS Identity Endpoint (via process_creation)
Suspicious GCP Metadata Service Token Access via Command Line (via process_creation)
Suspicious AWS EC2 Instance Role Cloud Infrastructure Discovery
Pivot detection · T1552.005 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.