AWS Bedrock Foundation Model Enumeration Followed by Invocation via Long-Term Key
Detects when an AWS principal using long-term IAM user credentials (AKIA* access key) enumerates available Bedrock foundation models and then invokes a model within the same 15-minute window. Most legitimate Bedrock…
Description
Detects when an AWS principal using long-term IAM user credentials (AKIA* access key) enumerates available Bedrock foundation models and then invokes a model within the same 15-minute window. Most legitimate Bedrock workloads run under IAM roles with short-lived credentials; the combination of model enumeration followed by direct model invocation from a long-term IAM user key is unusual in production environments and consistent with an adversary using stolen credentials to discover and exploit available AI model capabilities. This pattern is associated with LLMjacking attacks where threat actors abuse compromised cloud credentials to run high-volume or high-cost model inference at the account owner's expense.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- event_index
Known benign triggers
- First-time Bedrock onboarding by a developer using long-term IAM user credentials. Verify the requesting identity is a known engineer, the use case description is legitimate, and the model invocation follows expected application behavior. Consider migrating Bedrock workloads to IAM roles to eliminate this pattern.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html | 3from 2 sources |
| docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- a17f2e5f-de52-49e8-9d86-ccfe91cd54d4
- Tagged by the source as
- Mitre Atlas: AML.T0007Mitre Atlas: AML.T0040Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudTrailDomain: CloudDomain: GenAINoise: LowPerformance: FastPlatform: AWSProfile: RecommendedResources: Investigation GuideRule Type: Event Correlation (EQL)Service: AWS BedrockTactic: DiscoveryTactic: Initial AccessThreat: LLMjackingThreat: Unauthorized AI UsageUse Case: Identity and Access Audit
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 8, 2026
- Version
- 5