EXPLORE
← Back to Explore
elasticmediumTTP

AWS Bedrock AgentCore Gateway Tool Invocation Failure Burst

Identifies a burst of failed tool invocations against a single AWS Bedrock AgentCore Gateway within a short window. Individual tool calls fail routinely from bad input or transient upstream errors, but a concentrated run of failures against one gateway can indicate an attacker, or a compromised tool wrapper, probing a tool's parameter surface for an injection point, an authorization bypass, or a schema weakness. Failures can be attributed only to the gateway, not to a specific tool, target, or caller, and a target that is broken for every caller produces the same burst as one caller probing it, so confirm gateway and target health before treating a burst as malicious.

MITRE ATT&CK

initial-access

Detection Query

data_stream.dataset: "aws_bedrock_agentcore.gateway_application_logs" and
aws.bedrock_agentcore.gateway.payload_object.isError: "true"

Author

Elastic

Created

2026/08/10

Data Sources

AWS Bedrocklogs-aws_bedrock_agentcore.gateway_application_logs-*

Tags

Domain: CloudDomain: GenAIPlatform: AWSData Source: AWS BedrockService: AWS BedrockUse Case: Threat DetectionTactic: Initial AccessThreat: Unauthorized AI UsageRule Type: ThresholdMitre Atlas: AML.T0053Resources: Investigation GuideProfile: Beta
Raw Content
[metadata]
creation_date = "2026/08/10"
integration = ["aws_bedrock_agentcore"]
maturity = "production"
updated_date = "2026/08/10"

[rule]
author = ["Elastic"]
description = """
Identifies a burst of failed tool invocations against a single AWS Bedrock AgentCore Gateway within a short window.
Individual tool calls fail routinely from bad input or transient upstream errors, but a concentrated run of failures
against one gateway can indicate an attacker, or a compromised tool wrapper, probing a tool's parameter surface for an
injection point, an authorization bypass, or a schema weakness. Failures can be attributed only to the gateway, not to a
specific tool, target, or caller, and a target that is broken for every caller produces the same burst as one caller
probing it, so confirm gateway and target health before treating a burst as malicious.
"""
false_positives = [
    """
    A tool or target that is broken or misconfigured for all callers (an upstream outage, a bad deployment, or an
    expired credential) produces the same failure burst as a single caller probing it, and the error events carry no
    caller, target, or tool identity to tell them apart. Confirm the gateway's target health and recent change history
    before treating a burst as adversarial, and add an exception by gateway (resource_arn) for gateways fronting
    known-flaky upstreams.
    """,
]
from = "now-60m"
index = ["logs-aws_bedrock_agentcore.gateway_application_logs-*"]
interval = "10m"
language = "kuery"
license = "Elastic License v2"
name = "AWS Bedrock AgentCore Gateway Tool Invocation Failure Burst"
note = """## Triage and analysis

### Investigating AWS Bedrock AgentCore Gateway Tool Invocation Failure Burst

This rule detects many failed tool invocations against one AgentCore Gateway in a short window.

### Possible investigation steps

- Determine whether the gateway's target is simply unhealthy: review the target's upstream service, recent deployments,
  and any credential or permission changes. A target failing for every caller is the most common cause.
- Review `aws.bedrock_agentcore.gateway.payload_object` on the failing events; the nested `log` field contains the
  underlying error (message, type, stack) and helps separate a genuine fault from probing.
- Identify the gateway from `aws.bedrock_agentcore.gateway.resource_arn` and confirm which tools and targets it fronts.
- The alert count reflects distinct failed invocations (deduplicated by `aws.bedrock_agentcore.gateway.request_id`),
  not raw log lines.
- Correlate with the AgentCore runtime logs for the same window to identify the agent or session driving the calls,
  since the gateway error events do not carry a caller identity.

### False positive analysis

- A broken or misconfigured target fails identically for all callers and will trigger this rule. The error events carry
  no caller, target, or tool identity, so separating probing from an outage requires reviewing target health.

### Response and remediation

- If the underlying errors indicate varied or malformed inputs rather than a plain outage, treat the calling agent
  context as potentially compromised, review its tool configuration and input validation, and restrict the gateway
  target's permissions.
"""
references = [
    "https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway.html",
]
risk_score = 47
rule_id = "61458f1a-a6d3-4303-aa14-496c3a96971b"
setup = """
The AWS Bedrock AgentCore integration must be enabled with the gateway_application_logs data stream collecting into logs-aws_bedrock_agentcore.gateway_application_logs-*.
"""
severity = "medium"
tags = [
    "Domain: Cloud",
    "Domain: GenAI",
    "Platform: AWS",
    "Data Source: AWS Bedrock",
    "Service: AWS Bedrock",
    "Use Case: Threat Detection",
    "Tactic: Initial Access",
    "Threat: Unauthorized AI Usage",
    "Rule Type: Threshold",
    "Mitre Atlas: AML.T0053",
    "Resources: Investigation Guide",
    "Profile: Beta",
]
timestamp_override = "event.ingested"
type = "threshold"

query = '''
data_stream.dataset: "aws_bedrock_agentcore.gateway_application_logs" and
aws.bedrock_agentcore.gateway.payload_object.isError: "true"
'''


[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1190"
name = "Exploit Public-Facing Application"
reference = "https://attack.mitre.org/techniques/T1190/"


[rule.threat.tactic]
id = "TA0001"
name = "Initial Access"
reference = "https://attack.mitre.org/tactics/TA0001/"
[[rule.threat_mappings]]
framework = "MITRE ATLAS"
version = "2026.08"
[[rule.threat_mappings.threat]]
framework = "MITRE ATLAS"
[[rule.threat_mappings.threat.technique]]
id = "AML.T0053"
name = "AI Agent Tool Invocation"
reference = "https://atlas.mitre.org/techniques/AML.T0053/"


[rule.threat_mappings.threat.tactic]
id = "AML.TA0005"
name = "Execution"
reference = "https://atlas.mitre.org/tactics/AML.TA0005/"

[rule.threshold]
field = ["aws.bedrock_agentcore.gateway.resource_arn"]
value = 1
[[rule.threshold.cardinality]]
field = "aws.bedrock_agentcore.gateway.request_id"
value = 10