AWS Bedrock AgentCore Resource Created with IAM Execution Role
Detects the creation of an AWS Bedrock AgentCore resource (code interpreter, agent runtime, browser, or harness) with an IAM execution role attached. When an attacker with iam:PassRole permission creates an AgentCore…
Description
Detects the creation of an AWS Bedrock AgentCore resource (code interpreter, agent runtime, browser, or harness) with an IAM execution role attached. When an attacker with iam:PassRole permission creates an AgentCore resource and attaches a privileged role, subsequent invocations inside that resource execute as the attached role — enabling privilege escalation to roles that trust bedrock-agentcore.amazonaws.com.
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
- Legitimate provisioning of Bedrock AgentCore resources by CI/CD pipelines or platform engineers. Validate the caller identity against expected provisioning principals and verify the attached role is commensurate with the workload's documented requirements.
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 |
|---|---|
| www.beyondtrust.com/blog/entry/aws-agentcore-privilege-escalation | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 2d8f6e1a-4b7c-4f9d-8e3a-1c5d2f8b9a0e
- Tagged by the source as
- Mitre Atlas: AML.T0012Mitre Atlas: AML.T0103Data Source: Amazon Web ServicesData Source: AWSData Source: AWS CloudTrailDomain: CloudDomain: GenAIPlatform: AWSResources: Investigation GuideRule Type: Custom Query (KQL)Service: AWS BedrockService: AWS IAMTactic: PersistenceTactic: Privilege Escalation
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 2, 2026
- Version
- 3