Skip to content
WETNav

accessKeyId / principalIdDepends on context

ASIA: Temporary access key (STS)

A temporary credential from AWS STS, from an assumed role, federation or instance profile.

How to read it

Temporary keys expire, but a stolen session lets an attacker work until it does. Identify the role session (userIdentity.arn) and the source that assumed it.

Find it

SELECT useridentity.accesskeyid, useridentity.arn, count(*) AS calls, min(eventtime) AS first_seen
FROM cloudtrail_logs
WHERE useridentity.accesskeyid LIKE 'ASIA%'
GROUP BY 1, 2
ORDER BY calls DESC

About accessKeyId

The first four characters of an AWS key or unique ID tell you what kind of credential it is. CloudTrail records the access key ID on every API call.

Every AWS access key and unique ID prefixes value →

Questions

What does accessKeyId ASIA mean?
Temporary access key (STS). A temporary credential from AWS STS, from an assumed role, federation or instance profile. Temporary keys expire, but a stolen session lets an attacker work until it does. Identify the role session (userIdentity.arn) and the source that assumed it.
Is accessKeyId ASIA a sign of an attack?
It depends on the context around it. Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is accessKeyId ASIA recorded?
In the accessKeyId field of AWS CloudTrail.
How do I search for accessKeyId ASIA?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.