AWS CloudTrail: Instance Profile Role Assumed Actions Outside SSM RegisterManagedInstance

Identifies CloudTrail activity from assumed-role instance identities when it is not part of SSM RegisterManagedInstance.

FreeReviewedSigma · High · v5
Product
aws
Service
cloudtrail
Author
jamesc-grafana (SigmaHQ), DRL 1.1
Published
2024-07-11
Updated
2026-07-31

ATT&CK techniques

Initial Access → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Execution

  4. Cred Access

  5. Discovery

  6. Lateral Movement

  7. Collection

  8. C2

  9. Exfiltration

  10. Impact

What it detects

This rule flags CloudTrail events where an assumed role ARN for an EC2 instance identity performs an action, but the event is not the specific SSM RegisterManagedInstance operation originating from AWS Internal. Such activity can indicate misuse of IMDS-provided credentials from a compromised instance to interact with AWS services in unexpected ways. The detection relies on CloudTrail telemetry, matching assumed-role ARNs and filtering for the single allowed SSM registration pattern.

Related detections9 linkedT1078 — drag to rearrange
Suspicious SonicWall NetExtender VPN Command-Line Authentication with Always-Trust (via process_creation)
Suspicious Self-Hosted GitHub Actions Runner Started As Root via Shell (via process_creation)
Suspicious Login Shell Assigned to Service Account games on Linux
Suspicious SSH Daemon Configuration Change Enabling Root Login
Suspicious NTLM Network Logon From Attacker Controlled Workstation Names (via security)
Suspicious dMSA Object Access with Migration AccessMask
Suspicious New MFA Authenticator Registration via Azure AD (via azure)
Possible noPac sAMAccountName Spoofing via Machine Account Rename
Malicious ESX Admins Group Added to Privileged Directory Group
AWS CloudTrail: Instance Profile Role Assumed Actions Outside SSM RegisterManagedInstance
Pivot detection · T1078 · 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.