Skip to main content
Mallory
← Back to News
cloud-misconfigurationai-platform-securityinternet-exposed-serviceinitial-access-method

Exposed Amazon Bedrock AI Gateway Hijacked for Monero Mining

Attack Surface Exposure · 5 sources · Updated 5mo ago · First seen Jul 9, 2026

Exposed Amazon Bedrock AI Gateway Hijacked for Monero Mining

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.
Is this exposed in your estate?Map this exposure pattern across your cloud, code, and identities.
Map your surface
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jun 1, 2026 – Jul 9, 2026
  1. Jul 9, 20265mo ago

    Affected AI gateway host is shut down

    The compromised EC2 instance was later taken offline following the cryptomining activity. The shutdown ended activity on the exposed AI gateway connected to Amazon Bedrock.

    AI Gateway Connected to Amazon Bedrock Hijacked for Cryptomining
  2. Jul 9, 20265mo ago

    Attacker deploys XMRig and uses host for Monero mining

    After the compromise, the attacker downloaded and installed XMRig from 185.62.1.8 and the host made repeated outbound HTTPS connections to the mining pool pool.hasvault.pro. Darktrace classified the activity as a high-priority cryptocurrency mining incident.

    AI Gateways Offer Attackers the Keys to the Kingdom
  3. Jul 9, 20265mo ago

    Threat actor compromises exposed LiteLLM AI gateway on AWS

    Darktrace investigated an incident in which a publicly exposed AWS EC2 instance running LiteLLM and connected to Amazon Bedrock was compromised. The attacker likely gained access via SSH brute-force attempts against port 22, though Darktrace could not confirm a successful login.

    AI Gateways Offer Attackers the Keys to the Kingdom
  4. Jun 1, 20266mo ago

    Suspicious IAM activity follows compromise of LiteLLM AWS host

    The day after the EC2 cryptomining incident, Darktrace observed unusual AWS CLI activity from a Vietnam-based IP address, failed Amazon Bedrock-related commands, and an attempted CreateUser action. Darktrace said it could not conclusively link this IAM activity to the compromised instance, but noted it suggested possible credential misuse or persistence attempts.

    When AI Infrastructure Becomes Part of the Attack Surface
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Litellm

Organizations

1 linked
Amazon Web Services

Observables

5 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See where this exposure pattern shows up across your cloud, code, supply chain, and non-human identities.
See Where You're Exposed
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.