Techniques
Sample rules
AWS Bedrock AgentCore Resource Credential Retrieved by New Principal
- source: elastic
- technicques:
- T1528
Description
Identifies the first time a given user, in a given account, successfully calls GetResourceApiKey or GetResourceOauth2Token against Amazon Bedrock AgentCore’s Token Vault. These calls take only a workload-identity token and a credential-provider name, and the API does not bind a credential provider to the specific workload identity that created it, so any workload’s token can retrieve any other workload’s stored API key or OAuth token in the same account. Because there is no ownership check to alert on directly, this rule instead surfaces new or unusual callers of this sensitive retrieval API for analyst review.
Detection logic
data_stream.dataset: "aws.cloudtrail" and
event.provider: "bedrock-agentcore.amazonaws.com" and
event.action: ("GetResourceApiKey" or "GetResourceOauth2Token") and
event.outcome: "success"