Back to all lessons
Awareness Lessons
2 months ago

Exposed AI Servers Hijacked for Cryptomining via PoeLLM Malware

Written by AI from the linked story. Not reviewed by an editor. How this works

The PoeLLM campaign exploits AI servers (LiteLLM, Ollama) that were left publicly exposed to the internet without proper access controls or hardening, allowing attackers to compromise over 3,400 systems. The malware's use of a GitHub-hosted poem for C2 address retrieval demonstrates how attackers are innovating to evade traditional domain blocklists and threat intelligence feeds. This incident highlights a dangerous trend of AI infrastructure being deployed rapidly without applying the same security rigor applied to traditional servers. Unsecured AI tooling expands the attack surface significantly, especially as these systems often run with elevated privileges and process sensitive data.

Tactical Insight

Immediate actions

  • Audit all AI server deployments (LiteLLM, Ollama, etc.) and immediately remove or firewall any instances directly exposed to the public internet.
  • Rotate credentials and revoke API keys on any AI servers that were internet-accessible, assuming compromise until verified otherwise.
  • Deploy network-level egress filtering to detect and block outbound connections to unexpected external hosts, including code-hosting platforms used for C2 retrieval.

Long-term improvements

  • Enforce a mandatory security baseline (hardening checklist) before any AI infrastructure is permitted to reach a production or internet-connected environment.
  • Implement a formal vulnerability management program that includes AI/ML tooling in its asset inventory and scanning scope.
  • Establish network segmentation so AI servers reside in isolated VLANs with strict ingress/egress rules and no direct internet reachability.

Detection measures

  • Deploy behavioral monitoring to alert on anomalous resource consumption (CPU/GPU spikes) that may indicate unauthorized cryptomining activity.
  • Monitor outbound connections from AI servers to code repositories (GitHub, GitLab) and flag unexpected or high-frequency retrievals as potential C2 beacon behavior.
  • Integrate threat intelligence feeds into SIEM rules to detect known PoeLLM indicators of compromise (IOCs) across all server logs.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.