Techniques
Sample rules
AWS IAM Credentials Added to a Bedrock API Key Phantom User
- source: elastic
- technicques:
- T1098
Description
Identifies standard IAM credentials being added to an Amazon Bedrock API key phantom user, whose user name starts with
“BedrockAPIKey-”: either a long-term access key (CreateAccessKey) or a console password / login profile
(CreateLoginProfile, UpdateLoginProfile). When a long-term Bedrock API key is generated through the AWS Console, AWS
silently provisions a “BedrockAPIKey-
Detection logic
FROM logs-aws.cloudtrail-* METADATA _id, _version, _index
| WHERE event.provider == "iam.amazonaws.com"
AND event.action IN ("CreateAccessKey", "CreateLoginProfile", "UpdateLoginProfile")
AND event.outcome == "success"
AND user.target.name LIKE "BedrockAPIKey-*"
| KEEP _id, _version, _index, @timestamp, aws.*, cloud.*, event.*, source.*, user.*, user_agent.*