AWS Identity and Access Management (IAM) AWS-iam

61 operations, identified by eventName in the audit log.

eventNameDescription
_catch_allCatch-all entry for AWS-iam rules that match the service but not a specific eventName.
AddRoleToInstanceProfileAssociates an IAM role with an EC2 instance profile, allowing EC2 instances launched with that profile to assume the role.
AddUserToGroupAdds an IAM user to the specified IAM group, granting the user the permissions attached to that group.
AssumeRoleWithSAMLReturns temporary security credentials for users authenticated via a SAML 2.0-compliant identity provider, enabling federated access to AWS.
AttachGroupPolicyAttaches a managed IAM policy to an IAM group, granting the group's users the permissions defined in the policy.
AttachRolePolicyAttaches a managed IAM policy to an IAM role, adding the policy's permissions to the role.
AttachUserPolicyAttaches a managed IAM policy directly to an IAM user, granting that user the permissions defined in the policy.
CreateAccessKeyCreates a new AWS access key pair (access key ID and secret access key) for the specified IAM user.
CreateGroupCreates a new IAM group to which IAM users can be added to share a common set of permissions.
CreateInstanceProfileCreates a new IAM instance profile, a container that can hold one IAM role and is used to pass role information to EC2 instances.
CreateLoginProfileCreates a password for the specified IAM user, enabling console sign-in for that user.
CreateOpenIDConnectProviderCreates an IAM entity that describes an identity provider (IdP) supporting OpenID Connect (OIDC), enabling federated identity for AWS.
CreatePolicyVersionCreates a new version of a managed IAM policy, allowing the policy document to be updated while retaining prior versions.
CreateRoleCreates a new IAM role with a specified trust policy, defining which principals can assume the role.
CreateSAMLProviderCreates an IAM resource that describes an identity provider supporting SAML 2.0, enabling federated users to sign in to AWS.
CreateUserCreates a new IAM user in the AWS account with a specified user name.
DeactivateMFADeviceDeactivates an MFA device previously associated with an IAM user, removing the MFA requirement for that user.
DeleteGroupDeletes an IAM group, which must not have any users or attached policies before deletion.
DeleteSAMLProviderDeletes a SAML provider resource object in IAM, removing the federated identity configuration.
DescribeOrganizationReturns information about the AWS organization that the current account belongs to, including its master account and feature set.
DescribeOrgnanizationalUnitReturns details about an organizational unit (OU) in AWS Organizations, including its ID, ARN, and name.
DescribeResourcePolicyReturns the resource-based policy attached to the specified AWS Organizations resource.
GetAccountSummaryRetrieves a summary of IAM entity usage and quotas for the current AWS account.
GetLoginProfileRetrieves the console login profile (password metadata) for the specified IAM user, excluding the password itself.
ListAccessKeysReturns metadata about the access keys associated with a specified IAM user, including key IDs, status, and creation dates.
ListAccountAliasesLists the alias associated with the current AWS account, if any.
ListAccountsLists all AWS accounts in the organization, returning each account's ID, name, email, and status.
ListAccountsForParentLists the child accounts directly under the specified parent root or organizational unit in AWS Organizations.
ListAWSServiceAccessForOrganizationLists the AWS services for which service-level trusted access is currently enabled in AWS Organizations.
ListDelegatedAdministratorsLists the AWS accounts designated as delegated administrators for the specified service principal in AWS Organizations.
ListDelegatedServicesForAccountLists the services for which the specified account is a delegated administrator in AWS Organizations.
ListGroupsReturns a paginated list of IAM groups in the current AWS account.
ListMFADevicesReturns a list of MFA devices associated with an IAM user, or all virtual MFA devices in the account when no user is specified.
ListOrganizationalUnitsForParentLists the organizational units (OUs) that are directly under the specified parent root or OU in AWS Organizations.
ListPoliciesLists IAM policies, with filters available to scope results to AWS-managed, customer-managed, or locally attached policies.
ListRolesReturns a paginated list of IAM roles in the current AWS account, optionally filtered by path prefix.
ListRootsLists the roots in the current AWS organization, returning the root ID, ARN, name, and policy types enabled for that root.
ListUsersReturns a paginated list of IAM users in the current AWS account, optionally filtered by path prefix.
PutRolePolicyCreates or updates an inline policy document embedded directly in the specified IAM role.
PutUserPolicyCreates or updates an inline policy document embedded directly in the specified IAM user.
SetDefaultPolicyVersionSets the specified version of a managed IAM policy as the default active version for the policy.
UpdateAssumeRolePolicyUpdates the trust policy (assume-role policy document) for an IAM role, changing which principals are permitted to assume it.
UpdateLoginProfileChanges the password of the console login profile for the specified IAM user.
UpdateSAMLProviderUpdates the metadata document for an existing SAML provider in IAM.
CreateVirtualMFADeviceCreates a new virtual MFA device and returns the QR code seed for enrollment.
DeleteAccountPasswordPolicyDeletes the password policy for the AWS account, reverting to default password requirements.
DeleteLoginProfileDeletes the password-based login profile for an IAM user, preventing console sign-in.
DeleteVirtualMFADeviceDeletes a virtual MFA device, permanently removing it from the account.
EnableMFADeviceAssociates and activates a virtual or hardware MFA device for an IAM user.
GetAccountAuthorizationDetailsRetrieves information about all IAM users, groups, roles, and policies in the account, including their relationships.
GetCredentialReportRetrieves the credential report for the account, listing all IAM users and the status of their credentials.
GetPolicyRetrieves metadata about a managed IAM policy, including its ARN, default version, and attachment count.
GetPolicyVersionRetrieves the policy document for a specific version of a managed IAM policy.
GetRoleRetrieves metadata about an IAM role, including its trust policy and attached managed policies.
GetRolePolicyRetrieves the inline policy document embedded in an IAM role.
GetUserRetrieves metadata about an IAM user, including path, user ID, ARN, and creation date.
GetUserPolicyRetrieves the inline policy document embedded in an IAM user.
ListAttachedRolePoliciesLists all managed policies attached to a specified IAM role.
ListAttachedUserPoliciesLists all managed policies attached to a specified IAM user.
ListUserPoliciesLists the names of inline policies embedded in a specified IAM user.
UpdateAccountPasswordPolicyUpdates the password policy for the AWS account, setting requirements such as minimum length, complexity, and expiration.

_catch_all: AWS-iam (catch-all)

#
Service
AWS-iam

Description

Catch-all entry for AWS-iam rules that match the service but not a specific eventName.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqiam.amazonaws.com3 ruleselastic
aws::userIdentity.accessKeyIdstarts_withASIA1 ruleelastic
aws::userIdentity.typeeqIAMUser1 ruleelastic, panther, sigma
user.idcontains:i-1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS CloudTrail Log Evasion source medium: Identifies the evasion of cloudtrail logging for IAM actions involving policy creation, modification or attachment. When making certain policy-related API calls, an adversary may pad the associated policy document with whitespaces to trigger CloudTrail’s logging size constraints, resulting in incomplete logging where critical details about the policy are omitted. By exploiting this gap, threat actors can bypass monitoring performed through CloudTrail and can effectively obscure unauthorized changes. This rule looks for IAM API calls with the requestParameters property containing reason:”requestParameters too large” and omitted:true.
  • AWS IAM API Calls via Temporary Session Tokens source low: 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.
  • AWS EC2 Instance Interaction with IAM Service source low: Identifies when an EC2 instance interacts with the AWS IAM service via an assumed role. This is uncommon behavior and could indicate an attacker using compromised credentials to further exploit an environment. For example, an assumed role could be used to create new users for persistence or add permissions for privilege escalation. An EC2 instance assumes a role using their EC2 ID as the session name. This rule looks for the pattern "i-" which is the beginning pattern for assumed role sessions started by an EC2 instance. This is a building block rule and does not generate alerts on its own. It is meant to be used for correlation with other rules to detect suspicious activity.

AddRoleToInstanceProfile

#
Service
AWS-iam

Description

Associates an IAM role with an EC2 instance profile, allowing EC2 instances launched with that profile to assume the role.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic
aws::userIdentity.typeeqAssumedRole1 ruleelastic, kusto, panther, sigma

Detection Rules #

View all rules referencing this event →

Elastic #

AddUserToGroup

#
Service
AWS-iam

Description

Adds an IAM user to the specified IAM group, granting the user the permissions attached to that group.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqiam.amazonaws.com2 ruleselastic
aws::userIdentity.typeeqAssumedRole1 ruleelastic, kusto, panther, sigma

Detection Rules #

View all rules referencing this event →

Elastic #

AssumeRoleWithSAML

#
Service
AWS-iam

Description

Returns temporary security credentials for users authenticated via a SAML 2.0-compliant identity provider, enabling federated access to AWS.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

AttachGroupPolicy

#
Service
AWS-iam

Description

Attaches a managed IAM policy to an IAM group, granting the group's users the permissions defined in the policy.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqAttachGroupPolicy2 rulessigma
aws::eventNameeqAttachRolePolicy2 rulessigma
aws::eventNameeqAttachUserPolicy2 rulessigma
aws::eventSourceeqiam.amazonaws.com2 rulespanther, sigma, splunk
SubjectUserNameregex_match\/i-.*$1 rulechronicle
aws::errorCodeeqAccessDenied1 ruleelastic, panther, sigma, splunk
aws::requestParameterscontainspolicyarn=arn:aws:iam::aws:policy/administratoraccess1 ruleelastic
aws::userIdentity.typeeqAssumedRole1 ruleelastic, kusto, panther, sigma
principal.resource.typeeqAssumedRole1 rulechronicle
target.applicationeqiam.amazonaws.com1 rulechronicle

Detection Rules #

View all rules referencing this event →

Sigma #

  • IAM Policy Attachment Attempt source medium: Detects a failed attempt to attach an IAM policy to a user, group, or role. Even though the attempt was denied, it indicates the attacker has valid credentials and is attempting privilege escalation. This is commonly observed when attackers use stolen credentials that lack IAM write permissions. Note: AccessDenied events may have empty requestParameters, so this rule does not filter by policy name to avoid missing detections.↳ also matches AttachRolePolicy, AttachUserPolicy
  • IAM Admin Policy Attached source critical: Detects when an administrative IAM policy (AdministratorAccess, PowerUserAccess, or IAMFullAccess) is attached to a user, group, or role. This is a privilege escalation technique where an attacker elevates permissions of a compromised or newly created principal to gain full control of the AWS account.↳ also matches AttachRolePolicy, AttachUserPolicy

Elastic #

YARA-L #

AttachRolePolicy

#
Service
AWS-iam

Description

Attaches a managed IAM policy to an IAM role, adding the policy's permissions to the role.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqiam.amazonaws.com4 ruleselastic
event.outcomeeqsuccess4 ruleselastic
EventTypeeqAttachRolePolicy2 ruleselastic
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic
aws::eventNameeqAttachGroupPolicy2 rulessigma
aws::eventNameeqAttachRolePolicy2 rulessigma
aws::eventNameeqAttachUserPolicy2 rulessigma

Detection Rules #

View all rules referencing this event →

Sigma #

  • IAM Policy Attachment Attempt source medium: Detects a failed attempt to attach an IAM policy to a user, group, or role. Even though the attempt was denied, it indicates the attacker has valid credentials and is attempting privilege escalation. This is commonly observed when attackers use stolen credentials that lack IAM write permissions. Note: AccessDenied events may have empty requestParameters, so this rule does not filter by policy name to avoid missing detections.↳ also matches AttachGroupPolicy, AttachUserPolicy
  • IAM Admin Policy Attached source critical: Detects when an administrative IAM policy (AdministratorAccess, PowerUserAccess, or IAMFullAccess) is attached to a user, group, or role. This is a privilege escalation technique where an attacker elevates permissions of a compromised or newly created principal to gain full control of the AWS account.↳ also matches AttachGroupPolicy, AttachUserPolicy

Elastic #

  • AWS IAM AdministratorAccess Policy Attached to Role source medium: An adversary with access to a set of compromised credentials may attempt to persist or escalate privileges by attaching additional permissions to compromised IAM roles. This rule looks for use of the IAM AttachRolePolicy API operation to attach the highly permissive AdministratorAccess AWS managed policy to an existing IAM role.
  • AWS IAM Customer-Managed Policy Attached to Role by Rare User source low: Detects when an AWS Identity and Access Management (IAM) customer-managed policy is attached to a role by an unusual or unauthorized user. Customer-managed policies are policies created and controlled within an AWS account, granting specific permissions to roles or users when attached. This rule identifies potential privilege escalation by flagging cases where a customer-managed policy is attached to a role by an unexpected actor, which could signal unauthorized access or misuse. Attackers may attach policies to roles to expand permissions and elevate their privileges within the AWS environment. This is a New Terms rule that uses the "cloud.account.id", "user.name" and "entity.target.id" fields to check if the combination of the actor identity and target role name has not been seen before.
  • AWS Sensitive IAM Operations Performed via CloudShell source medium: Identifies sensitive AWS IAM operations performed via AWS CloudShell based on the user agent string. CloudShell is a browser-based shell that provides command-line access to AWS resources directly from the AWS Management Console. While convenient for administrators, CloudShell access from compromised console sessions can enable attackers to perform privileged operations without installing tools or using programmatic credentials. This rule detects high-risk actions such as creating IAM users, access keys, roles, or attaching policies when initiated from CloudShell, which may indicate post-compromise credential harvesting or privilege escalation activity.↳ also matches AddRoleToInstanceProfile, AttachUserPolicy, CreateAccessKey, CreateInstanceProfile, CreateRole, CreateUser, PutRolePolicy, PutUserPolicy
Show 1 more (4 total)

YARA-L #

AttachUserPolicy

#
Service
AWS-iam

Description

Attaches a managed IAM policy directly to an IAM user, granting that user the permissions defined in the policy.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqiam.amazonaws.com3 ruleselastic
EventTypeeqAttachUserPolicy1 ruleelastic
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic
aws::eventNameeqAttachGroupPolicy2 rulessigma
aws::eventNameeqAttachRolePolicy2 rulessigma
aws::eventNameeqAttachUserPolicy2 rulessigma
aws::eventSourceeqiam.amazonaws.com2 rulespanther, sigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

  • IAM Policy Attachment Attempt source medium: Detects a failed attempt to attach an IAM policy to a user, group, or role. Even though the attempt was denied, it indicates the attacker has valid credentials and is attempting privilege escalation. This is commonly observed when attackers use stolen credentials that lack IAM write permissions. Note: AccessDenied events may have empty requestParameters, so this rule does not filter by policy name to avoid missing detections.↳ also matches AttachGroupPolicy, AttachRolePolicy
  • IAM Admin Policy Attached source critical: Detects when an administrative IAM policy (AdministratorAccess, PowerUserAccess, or IAMFullAccess) is attached to a user, group, or role. This is a privilege escalation technique where an attacker elevates permissions of a compromised or newly created principal to gain full control of the AWS account.↳ also matches AttachGroupPolicy, AttachRolePolicy

Elastic #

YARA-L #

CreateAccessKey

#
Service
AWS-iam

Description

Creates a new AWS access key pair (access key ID and secret access key) for the specified IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqCreateAccessKey4 ruleskusto, panther, sigma, splunk
aws::eventSourceeqiam.amazonaws.com4 rulespanther, sigma, splunk
security_result.actioneqALLOW4 ruleschronicle
Provider_Nameeqiam.amazonaws.com3 ruleselastic
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic
target.applicationeqiam.amazonaws.com2 ruleschronicle
SubjectUserNameregex_match\/i-.*$1 rulechronicle

Detection Rules #

View all rules referencing this event →

Sigma #

Show 1 more (4 total)
  • IAM Access Key Created source medium: Detects when an IAM access key is created via CreateAccessKey. Attackers create access keys for persistence after compromising an account, often targeting an existing user or a newly created backdoor user. Note: This is different from CreateApiKey (AppSync/API Gateway).

Elastic #

YARA-L #

Show 1 more (4 total)

CreateGroup

#
Service
AWS-iam

Description

Creates a new IAM group to which IAM users can be added to share a common set of permissions.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
SubjectUserNameregex_match\/i-.*$1 rulechronicle
principal.resource.typeeqAssumedRole1 rulechronicle
target.applicationeqiam.amazonaws.com1 rulechronicle

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Group Creation source low: Identifies the creation of a group in AWS Identity and Access Management (IAM). Groups specify permissions for multiple users. Any user in a group automatically has the permissions that are assigned to the group. Adversaries who obtain credentials with IAM write privileges may create a new group as a foothold for persistence: they can later attach admin-level policies to the group and quietly add users or roles to inherit those privileges.

YARA-L #

CreateInstanceProfile

#
Service
AWS-iam

Description

Creates a new IAM instance profile, a container that can hold one IAM role and is used to pass role information to EC2 instances.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic

Detection Rules #

View all rules referencing this event →

Elastic #

CreateLoginProfile

#
Service
AWS-iam

Description

Creates a password for the specified IAM user, enabling console sign-in for that user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
security_result.actioneqALLOW3 ruleschronicle
EventTypeeqCreateLoginProfile2 ruleselastic
Provider_Nameeqiam.amazonaws.com2 ruleselastic
aws::eventNameeqCreateLoginProfile2 rulessigma, splunk
aws::eventSourceeqiam.amazonaws.com2 rulespanther, sigma, splunk
target.applicationeqiam.amazonaws.com2 ruleschronicle
SubjectUserNameregex_match\/i-.*$1 rulechronicle
aws::userIdentity.typeeqRoot1 ruleelastic, panther, sigma
principal.resource.typeeqAssumedRole1 rulechronicle
userAgentcontainss3 browser1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

  • AWS IAM S3Browser LoginProfile Creation source high: Detects S3 Browser utility performing reconnaissance looking for existing IAM Users without a LoginProfile defined then (when found) creating a LoginProfile.↳ also matches GetLoginProfile
  • IAM Login Profile Created source medium: Establishes persistence by creating a Login Profile on an existing IAM user. This allows an attacker to access an IAM user intended to be used programmatically through the AWS console usual login process. This can also be detected with UpdateLoginProfile events. If an account is meant to be used only programmatically, it should not have a login profile.

Elastic #

  • AWS IAM Login Profile Added for Root source high: Identifies creation of a console login profile for the AWS account root user. While CreateLoginProfile normally applies to IAM users, when performed from a temporary root session (e.g., via AssumeRoot) and the userName parameter is omitted, the profile is created for the root principal (self-assigned). Adversaries with temporary root access may add or reset the root login profile to establish persistent console access even if original access keys are rotated or disabled. Correlate with recent AssumeRoot/STS activity and validate intent with the account owner.
  • AWS IAM Login Profile Added to User source low: Identifies when an AWS IAM login profile is added to a user. Adversaries may add a login profile to an IAM user who typically does not have one and is used only for programmatic access. This can be used to maintain access to the account even if the original access key is rotated or disabled. This is a building block rule and does not generate alerts on its own. It is meant to be used for correlation with other rules to detect suspicious activity.

YARA-L #

CreateOpenIDConnectProvider

#
Service
AWS-iam

Description

Creates an IAM entity that describes an identity provider (IdP) supporting OpenID Connect (OIDC), enabling federated identity for AWS.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM OIDC Provider Created by Rare User source medium: Detects when an uncommon user or role creates an OpenID Connect (OIDC) Identity Provider in AWS IAM. OIDC providers enable web identity federation, allowing users authenticated by external identity providers (such as Google, GitHub, or custom OIDC-compliant providers) to assume IAM roles and access AWS resources. Adversaries who have gained administrative access may create rogue OIDC providers to establish persistent, federated access that survives credential rotation. This technique allows attackers to assume roles using tokens from an IdP they control. While OIDC provider creation is benign in some environments, it should still be validated against authorized infrastructure changes.

CreatePolicyVersion

#
Service
AWS-iam

Description

Creates a new version of a managed IAM policy, allowing the policy document to be updated while retaining prior versions.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::errorCodeeqsuccess1 rulesplunk

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Customer Managed Policy Version Created or Default Version Set source medium: Identifies successful IAM API calls that create a new customer managed policy version or set the default version for an existing customer managed policy. Attackers with iam:CreatePolicyVersion or iam:SetDefaultPolicyVersion on a privileged policy can introduce a permissive policy document and activate it, escalating effective permissions without attaching a new policy. These APIs are high impact when the target policy is attached to powerful roles or users.↳ also matches SetDefaultPolicyVersion

Splunk #

  • AWS Create Policy Version to allow all resources source: The following analytic identifies the creation of a new AWS IAM policy version that allows access to all resources. It detects this activity by analyzing AWS CloudTrail logs for the CreatePolicyVersion event with a policy document that…

CreateRole

#
Service
AWS-iam

Description

Creates a new IAM role with a specified trust policy, defining which principals can assume the role.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic
SubjectUserNameregex_match\/i-.*$1 rulechronicle
principal.resource.typeeqAssumedRole1 rulechronicle

Detection Rules #

View all rules referencing this event →

Elastic #

YARA-L #

CreateSAMLProvider

#
Service
AWS-iam

Description

Creates an IAM resource that describes an identity provider supporting SAML 2.0, enabling federated users to sign in to AWS.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM SAML Provider Created source medium: Detects the creation of a new SAML Identity Provider (IdP) in AWS IAM. SAML providers enable federated authentication between AWS and external identity providers, allowing users to access AWS resources using credentials from the external IdP. Adversaries who have gained administrative access may create rogue SAML providers to establish persistent, federated access to AWS accounts that survives credential rotation. This technique allows attackers to assume roles and access resources by forging SAML assertions from an IdP they control. Creating a SAML provider is a rare administrative action that should be closely monitored and validated against authorized infrastructure changes.

YARA-L #

CreateUser

#
Service
AWS-iam

Description

Creates a new IAM user in the AWS account with a specified user name.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Provider_Nameeqiam.amazonaws.com3 ruleselastic
aws::eventNameeqCreateUser3 rulespanther, sigma
aws::eventSourceeqiam.amazonaws.com3 rulespanther, sigma, splunk
event.outcomeeqsuccess3 ruleselastic
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic
aws::userIdentity.typeeqAssumedRole2 ruleselastic, kusto, panther, sigma
target.applicationeqiam.amazonaws.com2 ruleschronicle

Detection Rules #

View all rules referencing this event →

Sigma #

  • IAM User Creation Attempt source medium: Detects a failed attempt to create an IAM user (AccessDenied). Even though the attempt failed, it indicates the attacker has valid credentials and is attempting persistence via IAM user creation.
  • IAM User Created source high: Detects when an IAM user creates a new IAM user via CreateUser. This is a common persistence technique where an attacker with compromised credentials creates a backdoor IAM user for continued access even after the originally compromised credentials are rotated.
  • AWS IAM S3Browser User or AccessKey Creation source high: Detects S3 Browser utility creating IAM User or AccessKey.↳ also matches CreateAccessKey

Elastic #

YARA-L #

DeactivateMFADevice

#
Service
AWS-iam

Description

Deactivates an MFA device previously associated with an IAM user, removing the MFA requirement for that user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Deactivation of MFA Device source medium: Detects the deactivation of a Multi-Factor Authentication (MFA) device in AWS Identity and Access Management (IAM). MFA provides critical protection against unauthorized access by requiring a second factor for authentication. Adversaries or compromised administrators may deactivate MFA devices to weaken account protections, disable strong authentication, or prepare for privilege escalation or persistence. This rule monitors successful DeactivateMFADevice API calls, which represent the point at which MFA protection is actually removed.

YARA-L #

DeleteGroup

#
Service
AWS-iam

Description

Deletes an IAM group, which must not have any users or attached policies before deletion.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqDeleteGroup2 rulessplunk
userAgentne*.amazonaws.com2 rulessplunk
aws::errorCodeeqsuccess1 rulesplunk
aws::errorCodeinAccessDenied1 ruleelastic, splunk

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Group Deletion source low: Detects when an IAM group is deleted using the DeleteGroup API call. Deletion of an IAM group may represent a malicious attempt to remove audit trails, disrupt operations, or hide adversary activity (for example after using the group briefly for privileged access). This can be an indicator of impact or cleanup in an attack lifecycle.

Splunk #

  • AWS IAM Failure Group Deletion source: The following analytic identifies failed attempts to delete AWS IAM groups. It leverages AWS CloudTrail logs to detect events where the DeleteGroup action fails due to errors like NoSuchEntityException, DeleteConflictException, or…
  • AWS IAM Successful Group Deletion source: The following analytic identifies the successful deletion of an IAM group in AWS. It leverages CloudTrail logs to detect DeleteGroup events with a success status. This activity is significant as it could indicate potential changes in…

DeleteSAMLProvider

#
Service
AWS-iam

Description

Deletes a SAML provider resource object in IAM, removing the federated identity configuration.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
statuseqsuccess1 rulesigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

  • AWS SAML Provider Deletion Activity source medium: Detects the deletion of an AWS SAML provider, potentially indicating malicious intent to disrupt administrative or security team access. An attacker can remove the SAML provider for the information security team or a team of system administrators, to make it difficult for them to work and investigate at the time of the attack and after it.

YARA-L #

DescribeOrganization

#
Service
AWS-iam

Description

Returns information about the AWS organization that the current account belongs to, including its master account and feature set.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

DescribeOrgnanizationalUnit

#
Service
AWS-iam

Description

Returns details about an organizational unit (OU) in AWS Organizations, including its ID, ARN, and name.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

DescribeResourcePolicy

#
Service
AWS-iam

Description

Returns the resource-based policy attached to the specified AWS Organizations resource.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

GetAccountSummary

#
Service
AWS-iam

Description

Retrieves a summary of IAM entity usage and quotas for the current AWS account.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

GetLoginProfile

#
Service
AWS-iam

Description

Retrieves the console login profile (password metadata) for the specified IAM user, excluding the password itself.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqCreateLoginProfile1 rulesigma, splunk
userAgentcontainss3 browser1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

ListAccessKeys

#
Service
AWS-iam

Description

Returns metadata about the access keys associated with a specified IAM user, including key IDs, status, and creation dates.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListRoles1 rulesigma
aws::eventNameeqListUsers1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

ListAccountAliases

#
Service
AWS-iam

Description

Lists the alias associated with the current AWS account, if any.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListAccounts

#
Service
AWS-iam

Description

Lists all AWS accounts in the organization, returning each account's ID, name, email, and status.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListAccountsForParent

#
Service
AWS-iam

Description

Lists the child accounts directly under the specified parent root or organizational unit in AWS Organizations.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListAWSServiceAccessForOrganization

#
Service
AWS-iam

Description

Lists the AWS services for which service-level trusted access is currently enabled in AWS Organizations.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListDelegatedAdministrators

#
Service
AWS-iam

Description

Lists the AWS accounts designated as delegated administrators for the specified service principal in AWS Organizations.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListDelegatedServicesForAccount

#
Service
AWS-iam

Description

Lists the services for which the specified account is a delegated administrator in AWS Organizations.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListGroups

#
Service
AWS-iam

Description

Returns a paginated list of IAM groups in the current AWS account.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListRoles1 rulesigma
aws::eventNameeqListUsers1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

ListMFADevices

#
Service
AWS-iam

Description

Returns a list of MFA devices associated with an IAM user, or all virtual MFA devices in the account when no user is specified.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListOrganizationalUnitsForParent

#
Service
AWS-iam

Description

Lists the organizational units (OUs) that are directly under the specified parent root or OU in AWS Organizations.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListPolicies

#
Service
AWS-iam

Description

Lists IAM policies, with filters available to scope results to AWS-managed, customer-managed, or locally attached policies.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListRoles

#
Service
AWS-iam

Description

Returns a paginated list of IAM roles in the current AWS account, optionally filtered by path prefix.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqListRoles2 rulessigma
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListUsers1 rulesigma
aws::eventSourceeqiam.amazonaws.com2 rulespanther, sigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

ListRoots

#
Service
AWS-iam

Description

Lists the roots in the current AWS organization, returning the root ID, ARN, name, and policy types enabled for that root.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

ListUsers

#
Service
AWS-iam

Description

Returns a paginated list of IAM users in the current AWS account, optionally filtered by path prefix.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqListUsers2 rulessigma
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListRoles1 rulesigma
aws::eventSourceeqiam.amazonaws.com2 rulespanther, sigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

PutRolePolicy

#
Service
AWS-iam

Description

Creates or updates an inline policy document embedded directly in the specified IAM role.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeinAddRoleToInstanceProfile2 ruleselastic
EventTypeinAttachRolePolicy2 ruleselastic
EventTypeinAttachUserPolicy2 ruleselastic
EventTypeinCreateAccessKey2 ruleselastic
EventTypeinCreateInstanceProfile2 ruleselastic
EventTypeinCreateRole2 ruleselastic
EventTypeinCreateUser2 ruleselastic
EventTypeinPutRolePolicy2 ruleselastic
EventTypeinPutUserPolicy2 ruleselastic

Detection Rules #

View all rules referencing this event →

Elastic #

PutUserPolicy

#
Service
AWS-iam

Description

Creates or updates an inline policy document embedded directly in the specified IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqPutUserPolicy1 rulepanther, sigma
target.applicationeqiam.amazonaws.com1 rulechronicle
userAgentcontainss3 browser1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

Elastic #

YARA-L #

SetDefaultPolicyVersion

#
Service
AWS-iam

Description

Sets the specified version of a managed IAM policy as the default active version for the policy.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqSetDefaultPolicyVersion1 rulekusto, splunk

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Customer Managed Policy Version Created or Default Version Set source medium: Identifies successful IAM API calls that create a new customer managed policy version or set the default version for an existing customer managed policy. Attackers with iam:CreatePolicyVersion or iam:SetDefaultPolicyVersion on a privileged policy can introduce a permissive policy document and activate it, escalating effective permissions without attaching a new policy. These APIs are high impact when the target policy is attached to powerful roles or users.↳ also matches CreatePolicyVersion

Splunk #

  • AWS SetDefaultPolicyVersion source: The following analytic detects when a user sets a default policy version in AWS. It leverages AWS CloudTrail logs to identify the SetDefaultPolicyVersion event from the IAM service. This activity is significant because attackers may…

UpdateAssumeRolePolicy

#
Service
AWS-iam

Description

Updates the trust policy (assume-role policy document) for an IAM role, changing which principals are permitted to assume it.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeeqUpdateAssumeRolePolicy2 ruleselastic
Provider_Nameeqiam.amazonaws.com2 ruleselastic
aws::errorCodeeqMalformedPolicyDocumentException1 ruleelastic, splunk
event.outcomeeqfailure1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Principal Enumeration via UpdateAssumeRolePolicy source medium: Detects repeated failed attempts to update an IAM role’s trust policy in an AWS account, consistent with role and user enumeration techniques. In this technique, an attacker who controls credentials in the current account repeatedly calls UpdateAssumeRolePolicy on a single role, cycling through guessed cross-account role or user ARNs as the principal. When those principals are invalid, IAM returns MalformedPolicyDocumentException, producing a burst of failed UpdateAssumeRolePolicy events. This rule alerts on that brute-force pattern originating from this account, which may indicate that the account is being used as attack infrastructure or that offensive tooling (such as Pacu) is running here. Note: this rule does not detect other accounts enumerating roles, because those API calls are logged in the caller’s account, not the target account.
  • AWS IAM Assume Role Policy Update source low: Identifies AWS CloudTrail events where an IAM role's trust policy has been updated by an IAM user or Assumed Role identity. The trust policy is a JSON document that defines which principals are allowed to assume the role. An attacker may attempt to modify this policy to gain the privileges of the role. This is a New Terms rule, which means it will only trigger once for each unique combination of the "cloud.account.id", "user.name" and "entity.target.id" fields, that have not been seen making this API request.

UpdateLoginProfile

#
Service
AWS-iam

Description

Changes the password of the console login profile for the specified IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqUpdateLoginProfile1 rulepanther, sigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

  • AWS User Login Profile Was Modified source high: Detects activity when someone is changing passwords on behalf of other users. An attacker with the "iam:UpdateLoginProfile" permission on other users can change the password used to login to the AWS console on any user that already has a login profile setup.

YARA-L #

UpdateSAMLProvider

#
Service
AWS-iam

Description

Updates the metadata document for an existing SAML provider in IAM.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM SAML Provider Updated source medium: Detects when an AWS IAM SAML provider is updated, which manages federated authentication between AWS and external identity providers (IdPs). Adversaries with administrative access may modify a SAML provider’s metadata or certificate to redirect authentication flows, enable unauthorized federation, or escalate privileges through identity trust manipulation. Because SAML providers underpin single sign-on (SSO) access for users and applications, unauthorized modifications may allow persistent or covert access even after credentials are revoked. Monitoring "UpdateSAMLProvider" API activity is critical to detect potential compromise of federated trust relationships.

CreateVirtualMFADevice

#
Service
AWS-iam

Description

Creates a new virtual MFA device and returns the QR code seed for enrollment.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::userIdentity.accessKeyIdstarts_withASIA1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Virtual MFA Device Registration Attempt with Session Token source medium: Detects attempts to create or enable a Virtual MFA device (CreateVirtualMFADevice, EnableMFADevice) using temporary AWS credentials (access keys beginning with ASIA). Session credentials are short-lived and tied to existing authenticated sessions, so using them to register or enable MFA devices is unusual. Adversaries who compromise temporary credentials may abuse this behavior to establish persistence by attaching new MFA devices to maintain access to high-privilege accounts despite key rotation or password resets.↳ also matches EnableMFADevice

YARA-L #

DeleteAccountPasswordPolicy

#
Service
AWS-iam

Description

Deletes the password policy for the AWS account, reverting to default password requirements.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

YARA-L #

DeleteLoginProfile

#
Service
AWS-iam

Description

Deletes the password-based login profile for an IAM user, preventing console sign-in.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

  • IAM Login Profile Deleted source low: Detects when an IAM login profile is deleted, which may indicate an attacker removing access to a compromised account or an administrator performing account cleanup.

DeleteVirtualMFADevice

#
Service
AWS-iam

Description

Deletes a virtual MFA device, permanently removing it from the account.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

YARA-L #

EnableMFADevice

#
Service
AWS-iam

Description

Associates and activates a virtual or hardware MFA device for an IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::userIdentity.accessKeyIdstarts_withASIA1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • AWS IAM Virtual MFA Device Registration Attempt with Session Token source medium: Detects attempts to create or enable a Virtual MFA device (CreateVirtualMFADevice, EnableMFADevice) using temporary AWS credentials (access keys beginning with ASIA). Session credentials are short-lived and tied to existing authenticated sessions, so using them to register or enable MFA devices is unusual. Adversaries who compromise temporary credentials may abuse this behavior to establish persistence by attaching new MFA devices to maintain access to high-privilege accounts despite key rotation or password resets.↳ also matches CreateVirtualMFADevice

YARA-L #

GetAccountAuthorizationDetails

#
Service
AWS-iam

Description

Retrieves information about all IAM users, groups, roles, and policies in the account, including their relationships.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListRoles1 rulesigma
aws::eventNameeqListUsers1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

GetCredentialReport

#
Service
AWS-iam

Description

Retrieves the credential report for the account, listing all IAM users and the status of their credentials.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListRoles1 rulesigma
aws::eventNameeqListUsers1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

GetPolicy

#
Service
AWS-iam

Description

Retrieves metadata about a managed IAM policy, including its ARN, default version, and attachment count.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqGetCallerIdentity1 rulekusto, panther, sigma
aws::eventNameeqGetSessionToken1 rulepanther, sigma
aws::eventNameeqListBuckets1 rulesigma
aws::eventNameeqListRoles1 rulesigma
aws::eventNameeqListUsers1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

GetPolicyVersion

#
Service
AWS-iam

Description

Retrieves the policy document for a specific version of a managed IAM policy.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
aws::eventNameeqListRoles1 rulesigma
aws::eventNameeqListUsers1 rulesigma

Detection Rules #

View all rules referencing this event →

Sigma #

GetRole

#
Service
AWS-iam

Description

Retrieves metadata about an IAM role, including its trust policy and attached managed policies.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

GetRolePolicy

#
Service
AWS-iam

Description

Retrieves the inline policy document embedded in an IAM role.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

GetUser

#
Service
AWS-iam

Description

Retrieves metadata about an IAM user, including path, user ID, ARN, and creation date.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

GetUserPolicy

#
Service
AWS-iam

Description

Retrieves the inline policy document embedded in an IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

ListAttachedRolePolicies

#
Service
AWS-iam

Description

Lists all managed policies attached to a specified IAM role.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

ListAttachedUserPolicies

#
Service
AWS-iam

Description

Lists all managed policies attached to a specified IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

ListUserPolicies

#
Service
AWS-iam

Description

Lists the names of inline policies embedded in a specified IAM user.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

Sigma #

UpdateAccountPasswordPolicy

#
Service
AWS-iam

Description

Updates the password policy for the AWS account, setting requirements such as minimum length, complexity, and expiration.

Fields #

NameDescription
eventNameThe name of the API action that was called.
eventSourceThe AWS service endpoint that received the request (e.g. iam.amazonaws.com).
eventTypeCloudTrail event category: AwsApiCall, AwsConsoleSignIn, AwsConsoleAction, AwsServiceEvent, or AwsVpceEvents.
userIdentityThe IAM entity that made the request (type, principalId, arn, accountId, sessionContext).
sourceIPAddressIP address of the caller, or the AWS service principal for service-initiated calls.
awsRegionAWS Region the request was made to.
requestParametersParameters sent with the request. Shape is action-specific; null when none.
responseElementsResponse elements. Shape is action-specific; null for reads or when absent.
errorCodeAWS service error code when the request failed. Absent on success.
errorMessageDescription of the error when errorCode is present.

Detection Rules #

View all rules referencing this event →

YARA-L #