AWS Sign-In
| eventName | Description | Sample | Rule |
|---|---|---|---|
| any | Catch-all entry for AWS Sign-In rules that match the service but not a specific eventName. | N | N |
| Console | Records an authentication attempt to the AWS Management Console, including whether it succeeded or failed. | Y | Y |
| Get | Retrieves a sign-in token used to grant console access to a federated user via the AWS federation endpoint. | Y | Y |
| Password | Records a request to initiate the root account password recovery process. | N | Y |
| Create | CreateOAuth2Token API Path: /v1/token Request Method: POST Content-Type: application/json or application/x-www-form-urlencoded This API implements OAuth 2.0 flows for AWS Sign-In CLI clients, supporting both: Authorization code redemption (. | N | N |
| Delete | Delete console authorization configuration with automatic scope detection | Y | N |
| Delete | Remove a permission statement from the account's SignIn resource-based policy | N | N |
| Get | Get console authorization configuration with automatic scope detection | Y | N |
| Get | Retrieve the account's consolidated SignIn resource-based policy | Y | N |
| List | Retrieve all permission statements in the account's SignIn resource-based policy | Y | N |
| Put | Enable console authorization configuration with automatic scope detection | N | N |
| Put | Create a permission statement in the account's SignIn resource-based policy | N | N |
| User | UserAuthentication recorded by CloudTrail for AWS Sign-In. Observed in real CloudTrail; no AWS SDK operation model documents it, so no description is available from the SDK. | N | N |
| Create | Grants permission to exchange client credentials for an OAuth 2.0 access token scoped to a resource that can be used to access AWS services from applications | N | N |
| Introspect | Grants permission to inspect the metadata and state of an OAuth 2.0 access token or refresh token Implements RFC 7662 OAuth 2.0 Token Introspection over a SigV4-authenticated endpoint. | N | N |
| Revoke | Grants permission to revoke an OAuth 2.0 refresh token and its associated refresh tokens Revokes a refresh_token issued by AWS Sign-In, invalidating the entire token chain so that the refresh_token can no longer be used to mint new access_t. | N | N |
any: AWS Sign-In (catch-all)
#Description
Catch-all entry for AWS Sign-In rules that match the service but not a specific eventName.
ConsoleLogin
#Description
Records an authentication attempt to the AWS Management Console, including whether it succeeded or failed.
CloudTrail management event, logged by default. Logged as eventType AwsConsoleSignIn (not AwsApiCall); requestParameters is null. Console sign-in events for the global endpoint are recorded in us-east-1. A failed sign-in does not set errorCode: it sets responseElements.ConsoleLogin = Failure and errorMessage = Failed authentication, so query those fields for failures. Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis. Full rule details for this event, including ATT&CK technique mappings and native queries →Example CloudTrail Event #
{
"additionalEventData": {
"LoginTo": "https://console.aws.amazon.com/console/home",
"MFAUsed": "No",
"MobileVersion": "No"
},
"awsRegion": "us-east-1",
"eventCategory": "Management",
"eventID": "70e5932e-9022-4b38-837e-ca10dad94eb7",
"eventName": "ConsoleLogin",
"eventSource": "signin.amazonaws.com",
"eventTime": "2023-07-10T12:23:15Z",
"eventType": "AwsConsoleSignIn",
"eventVersion": "1.08",
"managementEvent": true,
"readOnly": false,
"recipientAccountId": "123837392027",
"requestParameters": null,
"responseElements": {
"ConsoleLogin": "Success"
},
"sourceIPAddress": "192.168.10.20",
"tlsDetails": {
"cipherSuite": "TLS_AES_128_GCM_SHA256",
"clientProvidedHostHeader": "signin.aws.amazon.com",
"tlsVersion": "TLSv1.3"
},
"userAgent": "stratus-red-team_01190e38-873e-4cc4-aede-7ceb7ffc2a4a",
"userIdentity": {
"accountId": "123837392027",
"arn": "arn:aws:iam::123837392027:user/stratus-red-team-nmfalu-gfjyeaypjt",
"principalId": "AIDATFQR7NSCYG26CT6RI",
"type": "IAMUser",
"userName": "stratus-red-team-nmfalu-gfjyeaypjt"
}
}
Common Indicators #
Field Kind Value Rules Vendors event.outcome (elastic rule field)eq success5 rules elastic action (splunk rule field)eq failure4 rules splunk aws::errorMessageeq failed authentication4 rules sigma, splunk additionalEventData.MFAUsedeq no3 rules sigma, splunk additionalEventData.MFAUsedeq yes3 rules sigma, splunk security_result.action (Chronicle)eq BLOCK3 rules chronicle MFAUsed (kusto rule field)ne yes2 rules kusto aws::userIdentity.type (panther rule field)eq Root2 rules panther aws::userIdentity.type (elastic rule field)eq iamuser2 rules elastic aws::userIdentity.type (elastic rule field)eq root2 rules elastic aws::userIdentity.type (elastic rule field)eq AssumedRole1 rule elastic failed_attempts (splunk rule field)gt 202 rules splunk responseElements.ConsoleLogin (panther rule field)eq Success2 rules panther responseElements.ConsoleLogin (sigma rule field)eq failure2 rules sigma security_result.description (Chronicle)eq Reason: Failed authentication2 rules chronicle Detection Rules #
Sigma #
T1110T1078, T1078.004T1078Elastic #
T1110, T1110.001T1078, T1078.004, T1539T1078, T1078.004Splunk #
additionalEventData field, to detect when MFA…T1586, T1586.003, T1621T1110, T1110.001, T1586, T1586.003T1201Kusto #
T1078, T1110T1078T1078YARA-L #
T1078T1110T1586Panther #
T1078T1078References #
GetSigninToken
#Description
Retrieves a sign-in token used to grant console access to a federated user via the AWS federation endpoint.
CloudTrail management event, logged by default. Logged as eventType AwsConsoleSignIn (not AwsApiCall). The event records the federation endpoint call that issues a sign-in token for constructing a console URL. Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis. Full rule details for this event, including ATT&CK technique mappings and native queries →Example CloudTrail Event #
{
"eventVersion": "1.08",
"userIdentity": {
"type": "AssumedRole",
"principalId": "AROA****************:User",
"arn": "arn:aws:sts::123456789012:assumed-role/AWSReservedSSO_AdministratorAccess_6c63ce732f555555/TrailDiscover",
"accountId": "123456789012",
"accessKeyId": "AKIA****************",
"sessionContext": {
"sessionIssuer": {
"type": "Role",
"principalId": "AROA****************:User",
"arn": "arn:aws:iam::123456789012:role/aws-reserved/sso.amazonaws.com/us-east-2/AWSReservedSSO_AdministratorAccess_6c63ce732f555555",
"accountId": "123456789012",
"userName": "AWSReservedSSO_AdministratorAccess_6c63ce732f555555"
},
"webIdFederationData": {},
"attributes": {
"creationDate": "2024-09-24T08:12:45Z",
"mfaAuthenticated": "false"
}
}
},
"eventTime": "2024-09-24T08:12:45Z",
"eventSource": "signin.amazonaws.com",
"eventName": "GetSigninToken",
"awsRegion": "us-east-2",
"sourceIPAddress": "0.0.0.0",
"userAgent": "Jersey/${project.version} (HttpUrlConnection 17.0.12)",
"requestParameters": null,
"responseElements": {
"credentials": {
"accessKeyId": "AKIA****************"
},
"GetSigninToken": "Success"
},
"additionalEventData": {
"MobileVersion": "No",
"MFAUsed": "No"
},
"eventID": "56678442-08db-4d88-af47-f994dd706a15",
"readOnly": false,
"eventType": "AwsConsoleSignIn",
"managementEvent": true,
"recipientAccountId": "123456789012",
"eventCategory": "Management",
"tlsDetails": {
"tlsVersion": "TLSv1.3",
"cipherSuite": "TLS_AES_128_GCM_SHA256",
"clientProvidedHostHeader": "us-east-2.signin.aws.amazon.com"
}
}
Common Indicators #
Field Kind Value Rules Vendors aws::errorCode (sigma rule field)eq accessdenied1 rule sigma aws::userIdentity.type (elastic rule field)eq AssumedRole1 rule elastic user.id (elastic rule field)contains :i-1 rule elastic Detection Rules #
Sigma #
T1021, T1021.007, T1550, T1550.001T1078, T1078.004T1078, T1078.004Elastic #
T1078, T1078.004, T1550, T1550.001T1021, T1021.007, T1078, T1078.004, T1550, T1550.001↳ also matches ConsoleLogin Panther #
T1021.007, T1550.001References #
PasswordRecoveryRequested
#Description
Records a request to initiate the root account password recovery process.
CloudTrail management event, logged by default. Only generated for root user password recovery, not for IAM users. Logged as eventType AwsConsoleSignIn. Full rule details for this event, including ATT&CK technique mappings and native queries →Detection Rules #
Elastic #
T1078, T1078.004
CreateOAuth2Token
#Description
CreateOAuth2Token API Path: /v1/token Request Method: POST Content-Type: application/json or application/x-www-form-urlencoded This API implements OAuth 2.0 flows for AWS Sign-In CLI clients, supporting both: Authorization code redemption (.
CloudTrail management event, logged by default. Part of the 'aws login' OAuth 2.0 PKCE flow. Paired with AuthorizeOAuth2Access, which records the browser-side authorization grant.
DeleteResourcePermissionStatement
#Description
Remove a permission statement from the account's SignIn resource-based policy
CloudTrail management event, logged by default.
GetResourcePolicy
#Description
Retrieve the account's consolidated SignIn resource-based policy
Example CloudTrail Event #
{
"awsRegion": "us-west-1",
"errorCode": "ResourceNotFoundException",
"errorMessage": "Requested resource not found",
"eventCategory": "Management",
"eventID": "b8216e5d-bfd4-4baa-ba40-a5ef60ac3e35",
"eventName": "GetResourcePolicy",
"eventSource": "signin.amazonaws.com",
"eventTime": "2026-06-29T18:32:45Z",
"eventType": "AwsApiCall",
"eventVersion": "1.09",
"managementEvent": true,
"readOnly": true,
"recipientAccountId": "123456789012",
"requestID": "a3d88373-11e7-43e0-9f5b-ab0ef5cb2b76",
"requestParameters": null,
"responseElements": null,
"sourceIPAddress": "203.0.113.5",
"tlsDetails": {
"cipherSuite": "TLS_AES_128_GCM_SHA256",
"clientProvidedHostHeader": "signin.us-west-1.api.aws",
"tlsVersion": "TLSv1.3"
},
"userAgent": "Boto3/1.43.36 md/Botocore#1.43.36 ua/2.1 os/linux#6.1.0-41-amd64 md/arch#x86_64 lang/python#3.11.2 md/pyimpl#CPython m/D,Z,b cfg/retry-mode#legacy Botocore/1.43.36",
"userIdentity": {
"accessKeyId": "AKIAIOSFODNN7EXAMPLE",
"accountId": "123456789012",
"arn": "arn:aws:iam::123456789012:user/sample-user",
"principalId": "AIDAEXAMPLE00000000",
"type": "IAMUser",
"userName": "sample-user"
}
}
ListResourcePermissionStatements
#Description
Retrieve all permission statements in the account's SignIn resource-based policy
Example CloudTrail Event #
{
"awsRegion": "us-west-1",
"errorCode": "ResourceNotFoundException",
"errorMessage": "Requested resource not found",
"eventCategory": "Management",
"eventID": "d39a59c2-caaf-4def-a875-ee0240f8d510",
"eventName": "ListResourcePermissionStatements",
"eventSource": "signin.amazonaws.com",
"eventTime": "2026-06-29T18:32:45Z",
"eventType": "AwsApiCall",
"eventVersion": "1.09",
"managementEvent": true,
"readOnly": true,
"recipientAccountId": "123456789012",
"requestID": "6c0c5687-538c-477a-b482-2619fa7852d8",
"requestParameters": null,
"responseElements": null,
"sourceIPAddress": "203.0.113.5",
"tlsDetails": {
"cipherSuite": "TLS_AES_128_GCM_SHA256",
"clientProvidedHostHeader": "signin.us-west-1.api.aws",
"tlsVersion": "TLSv1.3"
},
"userAgent": "Boto3/1.43.36 md/Botocore#1.43.36 ua/2.1 os/linux#6.1.0-41-amd64 md/arch#x86_64 lang/python#3.11.2 md/pyimpl#CPython m/D,Z,b cfg/retry-mode#legacy Botocore/1.43.36",
"userIdentity": {
"accessKeyId": "AKIAIOSFODNN7EXAMPLE",
"accountId": "123456789012",
"arn": "arn:aws:iam::123456789012:user/sample-user",
"principalId": "AIDAEXAMPLE00000000",
"type": "IAMUser",
"userName": "sample-user"
}
}
PutResourcePermissionStatement
#Description
Create a permission statement in the account's SignIn resource-based policy
CloudTrail management event, logged by default.
UserAuthentication
#Description
UserAuthentication recorded by CloudTrail for AWS Sign-In. Observed in real CloudTrail; no AWS SDK operation model documents it, so no description is available from the SDK.
Example CloudTrail Event #
This is a projected export row, not a complete CloudTrail record: it shows only the envelope columns a SIEM export retained. The export never carried userIdentity, requestParameters, responseElements, sourceIPAddress, recipientAccountId, eventCategory, so their absence here says nothing about the real event. Account identifiers, ARNs and endpoint hostnames in eventID, requestID, resources, tlsDetails, userAgent are replaced with the placeholders AWS uses in its own documentation, so those values are structurally real but not the originals. errorMessage is withheld: it is free-form prose that names customer resources, which no substitution rule can find reliably. eventTime is withheld because the export renders it in the exporting system's local timezone rather than the UTC a CloudTrail record carries.
{
"eventVersion": "1.11",
"eventID": "0a39e895-1493-4851-a194-4aa94b31f420",
"eventSource": "signin.amazonaws.com",
"eventName": "UserAuthentication",
"awsRegion": "us-east-1",
"eventType": "AwsServiceEvent",
"readOnly": false,
"managementEvent": true,
"requestID": "538ead35-f2b2-49e9-93d9-786afc57ee74",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36"
}
CreateOAuth2TokenWithIAM
#Description
Grants permission to exchange client credentials for an OAuth 2.0 access token scoped to a resource that can be used to access AWS services from applications
IntrospectOAuth2TokenWithIAM
#Description
Grants permission to inspect the metadata and state of an OAuth 2.0 access token or refresh token Implements RFC 7662 OAuth 2.0 Token Introspection over a SigV4-authenticated endpoint.
RevokeOAuth2TokenWithIAM
#Description
Grants permission to revoke an OAuth 2.0 refresh token and its associated refresh tokens Revokes a refresh_token issued by AWS Sign-In, invalidating the entire token chain so that the refresh_token can no longer be used to mint new access_t.