Exposed Amazon Bedrock AI Gateway Hijacked for Monero Mining
Attack Surface Exposure · 5 sources · Updated 5mo ago · First seen Jul 9, 2026

Darktrace reported that attackers compromised a publicly exposed AWS EC2 instance running LiteLLM as an AI gateway to Amazon Bedrock and used it to deploy the XMRig cryptominer. Investigators observed internet-exposed SSH on port 22, repeated short inbound connection attempts, an HTTP download from 185.62.1.8 consistent with malware delivery, and outbound HTTPS traffic to the Monero mining pool pool.hasvault.pro. The host, identified as LiteLLM-Proxy, was later shut down, and Darktrace assessed brute-force or other SSH-based access as a plausible initial intrusion path.
The incident drew attention because the compromised system was not just a compute node but an AI gateway with an instance profile tied to Bedrock resources, potentially exposing API access, IAM permissions, prompts, logs, model outputs, and downstream application workflows. Darktrace warned that such gateways can concentrate access to foundation models, proprietary data, and broader cloud resources, making them attractive targets for credential theft, abuse of AI inference services, persistence in AWS, and lateral movement. The firm recommended limiting IAM privileges, removing internet exposure from management interfaces, using short-lived credentials, segmenting AI infrastructure, and monitoring AI-specific administrative activity.
Why it matters
Impact assessment
A publicly exposed AWS EC2 instance operating as a LiteLLM-based AI gateway to Amazon Bedrock was compromised and used for Monero mining. The direct impact observed was cloud resource hijacking, but the higher-risk exposure was the gateway’s privileged position: it potentially concentrated access to Bedrock APIs, IAM permissions, prompts, logs, model outputs, and downstream application workflows.
The affected population is any organization exposing AI gateway infrastructure on the public internet, especially AWS-hosted LiteLLM or similar proxy layers tied to Bedrock through instance profiles or IAM roles. Severity is moderate to high: confirmed operational and financial impact from unauthorized compute consumption, with potential for broader cloud compromise, credential theft, persistence, and reputational damage if model access or sensitive prompt data were abused.
Supporting facts
- Affected asset: AWS EC2 instance named
LiteLLM-Proxy. - Role of asset: AI gateway connected to Amazon Bedrock, apparently supporting LiteLLM activity.
- Confirmed malicious outcome: unauthorized Monero cryptomining using XMRig.
- Potential secondary exposure: Bedrock access, cloud identities, prompts, logs, model permissions, and connected workflows.
- Scope: currently a specific observed incident, but the exposure pattern is broadly relevant to internet-exposed AI gateways and cloud-hosted model proxy infrastructure.
- Known exploitation in the wild: yes, this story describes an observed compromise and active malicious use of the host.
- Additional concern: suspicious IAM activity the following day suggested possible credential misuse or attempted persistence, though attribution to the host compromise was not confirmed.


