AWS CloudTrail Alert for Suspicious SAML Role Assumption and SAML Provider Updates

Flags CloudTrail activity involving SAML provider updates plus SAML role assumptions in AWS, which can enable backdoor access.

FreeReviewedSigma · Medium · v5
Product
aws
Service
cloudtrail
Author
Austin Songer (SigmaHQ), DRL 1.1
Published
2021-09-22
Updated
2026-07-31

What it detects

This rule flags CloudTrail activity where an AWS principal performs AssumeRoleWithSAML and where the SAML provider is updated via UpdateSAMLProvider. Such changes can enable an attacker to establish or maintain access through SAML-based authentication paths. It relies on AWS CloudTrail events covering both STS AssumeRoleWithSAML and IAM UpdateSAMLProvider, matching on eventSource and eventName pairs.

Related detections9 linkedT1550.001 — drag to rearrange
AWS CloudTrail: Suspicious STS AssumeRole sessions from Role-issued principals
AWS CloudTrail: IAMUser STS GetSessionToken Use
Suspicious AWS GetFederationToken Console Access by JavaGhost (via cloudtrail)
Suspicious Login Shell Assigned to Service Account games on Linux
Suspicious SSH Daemon Configuration Change Enabling Root Login
Suspicious Federated Identity Credential On-Behalf-Of Token Flow via Sign-In Logs
Suspicious NTLM Network Logon From Attacker Controlled Workstation Names (via security)
Suspicious Salesforce Bulk API Export via aiohttp User Agent
Suspicious dMSA Object Access with Migration AccessMask
AWS CloudTrail Alert for Suspicious SAML Role Assumption and SAML Provider Updates
Pivot detection · T1550.001 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

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