Discovery (TA0007)(external, opens in a new tab or window)
Initial Access (TA0001)(external, opens in a new tab or window)
text code block:sequence by aws.cloudtrail.user_identity.access_key_id with maxspan=15m [any where data_stream.dataset == "aws.cloudtrail" and event.provider == "bedrock.amazonaws.com" and event.action == "ListFoundationModels" and event.outcome == "success" and aws.cloudtrail.user_identity.access_key_id like "AKIA*"] [any where data_stream.dataset == "aws.cloudtrail" and event.provider == "bedrock.amazonaws.com" and event.action : ("InvokeModel", "InvokeModelWithResponseStream", "Converse", "ConverseStream") and event.outcome == "success"]
Install detection rules in Elastic Security
Detect AWS Bedrock Foundation Model Enumeration Followed by Invocation via Long-Term Key in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).