Suspicious AWS SSO Token Creation and Role Credential Retrieval (via cloudtrail)

PremiumReviewedSigma · Medium · v1
Product
aws
Service
cloudtrail
Author
HuntRule
Published
2026-05-10
Updated
2026-08-28

ATT&CK techniques

Defense Evasion → Lateral Movement
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Discovery

  8. Collection

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule detects the AWS SSO CreateToken and GetRoleCredentials calls against sso.amazonaws.com, the API sequence Red Canary described adversaries using to replay cached SSO tokens stolen from the .aws sso cache. When these calls originate from multiple IP addresses in a short window they indicate an actor exchanging a stolen access token for STS role credentials.

Related detections9 linkedT1528 — drag to rearrange
Possible Illicit Consent Grant to OAuth Application via Azure AD
Malicious PRT Token Forging via AADInternals (via ps_script)
Suspicious Entra Device Code Authentication with Office Client and Automated User Agent
Suspicious Google Workspace OAuth Authorization for Chrome Web Store Scope via Token Audit
Suspicious Federated Identity Credential On-Behalf-Of Token Flow via Sign-In Logs
Suspicious OAuth Application Consent Grant via Azure Audit Logs
Suspicious Salesforce Bulk API Export via aiohttp User Agent
Suspicious OAuth Application Consent Granted High Privilege Mail Scopes (via m365)
Suspicious Token Request Using Microsoft Authentication Broker Client to Obtain Primary Refresh Token (via azure)
Suspicious AWS SSO Token Creation and Role Credential Retrieval (via cloudtrail)
Pivot detection · T1528 · 9 related

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