-
AWS AssumeRoleWithWebIdentity from Kubernetes SA and External ASN
Sep 19, 2026 · Domain: Cloud Domain: Identity Data Source: AWS Data Source: Amazon Web Services Data Source: AWS CloudTrail Use Case: Threat Detection Tactic: Initial Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Platform: AWS Service: AWS STS ·Detects successful
AssumeRoleWithWebIdentitywhere the caller identity is a Kubernetes service account and the source autonomous system organization is present but notAmazon.com, Inc.EKS workloads that obtain IAM credentials via IAM Roles for Service Accounts (IRSA) normally reach STS from AWS-managed or AWS-associated networks; the same identity from a clearly external ASN can indicate a stolen or misused projected service-account token being exchanged for IAM credentials off-cluster.
Read More -
AWS Discovery API Calls via CLI from a Single Resource
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: AWS EC2 Data Source: AWS IAM Data Source: AWS S3 Data Source: AWS CloudTrail Data Source: AWS RDS Data Source: AWS Lambda Data Source: AWS STS Data Source: AWS KMS Data Source: AWS SES Data Source: AWS Cloudfront Data Source: AWS DynamoDB Data Source: AWS Elastic Load Balancing Data Source: AWS Organizations Use Case: Threat Detection Tactic: Discovery Resources: Investigation Guide Noise: Medium Performance: Normal Rule Type: ES|QL Platform: AWS Service: AWS IAM Service: AWS S3 Service: AWS EC2 Service: AWS Lambda Service: AWS RDS Service: AWS KMS Service: AWS STS Service: AWS SES Service: AWS DynamoDB ·Detects when a single AWS resource is running multiple read-only, discovery API calls in a 10-second window. This behavior could indicate an actor attempting to discover the AWS infrastructure using compromised credentials or a compromised instance. Adversaries may use this information to identify potential targets for further exploitation or to gain a better understanding of the target's infrastructure.
Read More -
AWS EC2 Instance Console Login via Assumed Role
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS EC2 Data Source: AWS STS Data Source: AWS Sign-In Use Case: Identity and Access Audit Tactic: Lateral Movement Tactic: Credential Access Tactic: Persistence Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: Event Correlation (EQL) Platform: AWS Data Source: AWS CloudTrail Service: AWS EC2 Service: AWS STS ·Detects successful AWS Management Console or federation login activity performed using an EC2 instance’s assumed role credentials. EC2 instances typically use temporary credentials to make API calls, not to authenticate interactively via the console. A successful "ConsoleLogin" or "GetSigninToken" event using a session pattern that includes "i-" (the EC2 instance ID) is highly anomalous and may indicate that an adversary obtained the instance’s temporary credentials from the instance metadata service (IMDS) and used them to access the console. Such activity can enable lateral movement, privilege escalation, or persistence within the AWS account.
Read More -
AWS EC2 Role GetCallerIdentity from New Source AS Organization
Sep 19, 2026 · Domain: Cloud Domain: Identity Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Use Case: Identity and Access Audit Use Case: Threat Detection Tactic: Discovery Resources: Investigation Guide Noise: Unknown Performance: Normal Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS Service: AWS EC2 ·Identifies the first time an EC2 instance role session calls AWS STS GetCallerIdentity from a given source autonomous system (AS) organization name within the lookback window. Adversaries who steal instance role credentials often verify them with GetCallerIdentity from infrastructure outside your normal egress paths. Baseline learning on the pairing of identity and source network reduces noise from stable NAT or AWS-classified egress compared to alerting on every call from a non-Amazon ASN.
Read More -
AWS First Occurrence of STS GetFederationToken Request by User
Sep 19, 2026 · Domain: Cloud Data Source: Amazon Web Services Data Source: AWS Data Source: AWS STS Use Case: Threat Detection Tactic: Defense Evasion Tactic: Persistence Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies the first occurrence of an AWS Security Token Service (STS) GetFederationToken request made by a user. The GetFederationToken API call allows users to request temporary security credentials to access AWS resources. The maximum expiration period for these tokens is 36 hours and they can be used to create a console signin token even for identities that don't already have one. Adversaries may use this API to obtain temporary credentials for persistence and to bypass IAM API call limitations by gaining console access.
Read More -
AWS IAM API Calls via Temporary Session Tokens
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS CloudTrail Data Source: AWS IAM Data Source: AWS STS Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Medium Performance: Normal Rule Type: New Terms Platform: AWS Service: AWS IAM Service: AWS STS ·Detects sensitive AWS IAM API operations executed using temporary session credentials (access key IDs beginning with "ASIA"). Temporary credentials are commonly issued through sts:GetSessionToken, sts:AssumeRole, or AWS SSO logins and are meant for short-term use. It is unusual for legitimate users or automated processes to perform privileged IAM actions (e.g., creating users, updating policies, or enabling/disabling MFA) with session tokens. This behavior may indicate credential theft, session hijacking, or the abuse of a privileged role’s temporary credentials.
Read More -
AWS Lateral Movement from Kubernetes SA via AssumeRoleWithWebIdentity
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS CloudTrail Data Source: AWS IAM Data Source: AWS STS Use Case: Threat Detection Tactic: Lateral Movement Tactic: Discovery Tactic: Credential Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: ES|QL Platform: AWS Service: AWS IAM Service: AWS STS ·Detects when credentials issued through
AssumeRoleWithWebIdentityfor a Kubernetes service account identity are later used for several distinct AWS control-plane actions on the same session access key. Workloads that use EKS IAM Roles for Service Accounts routinely exchange a projected service-account token for short-lived IAM credentials; this rule highlights sessions where that exchange is followed by a spread of sensitive APIs—reconnaissance, secrets and parameter access, IAM changes, or compute creation—beyond what routine pod traffic usually shows. High-volume S3 object reads and writes are excluded from the correlation set to reduce noise from normal data-plane work.
Read More -
AWS STS AssumeRole with New MFA Device
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Use Case: Identity and Access Audit Tactic: Privilege Escalation Tactic: Persistence Tactic: Lateral Movement Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies when a user has assumed a role using a new MFA device. Users can assume a role to obtain temporary credentials and access AWS resources using the AssumeRole API of AWS Security Token Service (STS). While a new MFA device is not always indicative of malicious behavior it should be verified as adversaries can use this technique for persistence and privilege escalation.
Read More -
AWS STS AssumeRoot by Rare User and Member Account
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Resources: Investigation Guide Use Case: Identity and Access Audit Tactic: Privilege Escalation Noise: Low Performance: Normal Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies when the STS AssumeRoot action is performed by a rare user in AWS. The AssumeRoot action allows users to assume the root member account role, granting elevated but specific permissions based on the task policy specified. Adversaries who have compromised user credentials can use this technique to escalate privileges and gain unauthorized access to AWS resources. This is a New Terms rule that identifies when the STS AssumeRoot action is performed by a user that rarely assumes this role against a specific member account.
Read More -
An adversary with access to a set of compromised credentials may attempt to verify that the credentials are valid and determine what account they are using. This rule looks for the first time an identity has called the STS GetCallerIdentity API, which may be an indicator of compromised credentials. A legitimate user would not need to perform this operation as they should know the account they are using.
Read More -
AWS STS GetFederationToken with AdministratorAccess in Request
Sep 19, 2026 · Domain: Cloud Domain: Identity Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Lateral Movement Resources: Investigation Guide Noise: Unknown Performance: Normal Rule Type: Custom Query (KQL) Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies successful calls to AWS STS GetFederationToken where request parameters reference AdministratorAccess. This API returns temporary security credentials for a federated user with permissions bounded by the calling IAM user and any inline session policy passed in the request. Supplying or referencing the AWS managed AdministratorAccess policy (or an equivalent string in the policy payload) can grant broadly privileged temporary credentials and may indicate privilege abuse or dangerous automation.
Read More -
AWS STS Role Assumption by Service
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Resources: Investigation Guide Use Case: Identity and Access Audit Tactic: Privilege Escalation Tactic: Lateral Movement Noise: High Performance: Normal Profile: Aggressive Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies when a service has assumed a role in AWS Security Token Service (STS). Services can assume a role to obtain temporary credentials and access AWS resources. Adversaries can use this technique for credential access and privilege escalation. This is a New Terms rule that identifies when a service assumes a role in AWS Security Token Service (STS) to obtain temporary credentials and access AWS resources. While often legitimate, adversaries may use this technique for unauthorized access, privilege escalation, or lateral movement within an AWS environment.
Read More -
AWS STS Role Assumption by User
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Resources: Investigation Guide Use Case: Identity and Access Audit Tactic: Privilege Escalation Tactic: Lateral Movement Noise: Medium Performance: Normal Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies when a user or role has assumed a role in AWS Security Token Service (STS). Users can assume a role to obtain temporary credentials and access AWS resources. Adversaries can use this technique for credential access and privilege escalation. This is a New Terms rule that identifies when a user assumes a role in AWS Security Token Service (STS) to obtain temporary credentials and access AWS resources. While often legitimate, adversaries may use this technique for unauthorized access, privilege escalation, or lateral movement within an AWS environment.
Read More -
AWS STS Role Chaining
Sep 19, 2026 · Domain: Cloud Data Source: AWS Data Source: Amazon Web Services Data Source: AWS STS Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Tactic: Lateral Movement Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Rule Type: New Terms Platform: AWS Data Source: AWS CloudTrail Service: AWS STS ·Identifies role chaining activity. Role chaining is when you use one assumed role to assume a second role through the AWS CLI or API. While this a recognized functionality in AWS, role chaining can be abused for privilege escalation if the subsequent assumed role provides additional privileges. Role chaining can also be used as a persistence mechanism as each AssumeRole action results in a refreshed session token with a 1 hour maximum duration. This is a new terms rule that looks for the first occurance of one role (aws.cloudtrail.user_identity.session_context.session_issuer.arn) assuming another (aws.cloudtrail.resources.arn).
Read More -
Detects the three-event chain produced by tools like aws_consoler that convert exfiltrated long-term IAM access keys into browser-accessible AWS console sessions: GetFederationToken obtains temporary credentials, GetSigninToken exchanges them for a federation sign-in token via the AWS federation endpoint, and ConsoleLogin confirms the resulting console session was opened — all from the same source IP within two minutes. This sequence is a high-confidence indicator of credential abuse using stolen IAM access keys.
Read More