Impact (TA0040)(external, opens in a new tab or window)
Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block:FROM logs-aws.cloudtrail-* METADATA _id, _version, _index | WHERE event.provider == "bedrock.amazonaws.com" AND aws.cloudtrail.additional_eventdata RLIKE """.*callWithBearerToken=true.*""" AND event.action IN ( "DeleteGuardrail", "DeleteModelInvocationLoggingConfiguration", "PutModelInvocationLoggingConfiguration", "DeleteImportedModel", "DeleteCustomModel", "DeleteModelCustomizationJob", "DeleteProvisionedModelThroughput", "DeleteMarketplaceModelEndpoint" ) | KEEP _id, _version, _index, @timestamp, aws.*, cloud.*, event.*, source.*, user.*, user_agent.*
Install detection rules in Elastic Security
Detect AWS Bedrock API Key Used for Destructive or Anti-Recovery Action 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).