Compromised AWS AI Gateway Used for Cryptomining, Darktrace Reports

· Original article ↗

Summary

Darktrace investigated an AWS EC2 instance supporting a LiteLLM gateway that communicated with cryptomining infrastructure. Public SSH exposure was a plausible access path, while separate suspicious IAM activity could not be definitively linked to the compromise.

Key points

  • On June 12, 2026, Darktrace observed cryptomining activity on an EC2 instance named LiteLLM-Proxy, which appeared to have access to Amazon Bedrock resources.
  • The instance had SSH port 22 open to all IP addresses and received many external connection attempts, but telemetry did not confirm successful SSH access.
  • The host downloaded data associated with XMRig from an external endpoint, then repeatedly connected to a suspected mining pool over HTTPS.
  • Darktrace detected and escalated the activity through its monitoring and managed threat detection services; the instance was subsequently shut down.
  • On June 13, Darktrace observed unusual AWS CLI activity from an IAM user, including failed Bedrock commands and an attempted user creation.
  • Darktrace could not establish a definitive link between the IAM activity and the compromised gateway, or confirm the initial access method.
  • The case highlights the security risks of AI gateways that centralize cloud permissions, model access, and application workflows.

Article Details

Attack Vectors
  • The LiteLLM-Proxy EC2 instance was exposed to the internet over SSH with port 22 open to 0.0.0.0/0. Darktrace observed many inbound connection attempts, predominantly from 145.241.123[.]102, suggesting brute-force activity; successful authentication was not confirmed.
  • The instance downloaded 3.42 MB over HTTP from 185.62.1[.]8, which appeared to host a ZIP file containing XMRig. The article could not confirm how the miner was executed or whether SSH activity enabled the download.
  • The instance subsequently made repeated HTTPS connections to pool.hasvault[.]pro, consistent with communication to cryptomining infrastructure.
  • A separate IAM user made unusual AWS CLI requests, including failed InvokeModel and ListFoundationModels commands and an attempted CreateUser command. These may indicate credential misuse or attempted persistence, but a link to the EC2 incident was not established.
Defensive Notes
  • Treat AI gateways and their associated cloud identities, permissions, model access, and connected systems as part of the wider cloud attack surface.
  • Avoid exposing SSH broadly; investigate inbound connection attempts alongside subsequent workload activity.
  • Correlate workload telemetry with cloud control-plane and identity telemetry, including unusual AWS CLI activity and use of long-term access keys.
  • Use behavioral context such as destination, connection volume, and deviations from normal activity to identify suspicious encrypted traffic.
  • Darktrace detected and escalated the activity through Enhanced Monitoring and Managed Threat Detection; the customer shut down the host.

Indicators of compromise

TypeIndicatorContext
DOMAINpool[.]hasvault[.]proMining-pool hostname contacted repeatedly by the compromised instance.
IPV414[.]176[.]1[.]47Source IP for suspicious IAM-user activity, including an unusual GetSendQuota request; the article does not establish a link to the EC2 compromise.
IPV4145[.]241[.]123[.]102Predominant external source of inbound SSH connection attempts suggesting brute-force activity.
IPV4185[.]62[.]1[.]8External endpoint from which the compromised instance downloaded a ZIP file that appeared to contain XMRig.
SHA25685de36ff66fae9f4b059cbedf6d36e017ebc26c828f99f911a96e78636f21200Hash of the file associated with the referenced XMRig malware sample.

MITRE ATT&CK

People

Malware

Vendors

Products

Tools

Countries

Related Articles