据Black Lotus Labs称,数千台被劫持的服务器正在GitHub上发布的一首诗中查找其命令与控制(C2)服务器。
这种名为PoeLLM的恶意软件入侵了暴露的AI服务和开源工具,在其中挖掘加密货币,并利用它们寻找新的受害者。
研究人员将该活动称为“Canto Incognito”行动,并认为这是一名意大利语威胁行为者所为,其动机似乎是为了牟利。该行动自2026年4月以来一直在运行,已影响超过3,400台服务器,其中大多数位于美国和西欧。
Canto Incognito 行动概览(来源:Black Lotus Labs)
“大多数受害者似乎正在运行易受攻击的开源AI/LLM服务版本,例如LiteLLM和Ollama。该恶意软件还影响了数百台运行名为Gotenberg的开源PDF转换器和软件开发工具包Gitea的服务器,”研究人员写道。
据研究人员称,攻击者意识到入侵运行AI/LLM实现的服务器值得这样做有两个原因:它们可以是情报来源,而且它们是自我托管、暴露在互联网上且存在已知漏洞的服务。
发现过程
该团队在调查Ivanti Sentry漏洞(CVE-2026-10520)时首次发现了PoeLLM。
“2026年6月初,一名被入侵的Ivanti Sentry受害者联系了位于5.78.73[.]122的专用服务器。在联系该C2后不久,该Ivanti Sentry受害者开始扫描其他易受攻击的设备,”
“Black Lotus Labs的遥测数据显示,隐藏C2地址的诗的第一个GitHub提交是在4月13日进行的。来自第一个已知C2路由器的早期流量表明,操作员曾短暂测试了感染和有效载荷下载,”他们指出。
从5月开始,攻击者主要扫描互联网上的端口3000和4000,这是Gotenberg和LiteLLM的默认端口。当发现易受攻击的服务器时,利用服务器会向其发送一个精心构造的POST请求,指示它从C2服务器下载文件。
在Black Lotus Labs分析的样本中,目标LiteLLM端点(/mcp-rest/test/connection)引用了CVE-2026-42271,这是LiteLLM中的一个命令注入漏洞。
作为地址簿的诗
这首题为“论连接的性质”的诗存储在名为dash.css的文件中,该文件位于由用户“ejejejdfbbebe”设置的GitHub存储库中。该存储库是nodejs.org网站源代码的分叉,尽管该恶意软件与Node.js没有任何关联。
PoeLLM从诗中固定的位置提取四个单词,并使用恶意软件中硬编码的字典将每个单词匹配到一个数字。这四个数字构成了当前C2服务器的IPv4地址。在诗的一个早期版本中,单词“driver”、“diode”、“decryption”和“string”分别转换为92、119、165和74,从而得出C2地址92.119.165.74。
2026年6月23日在样本中发现的C2诗转换密钥分解(来源:Black Lotus Labs)
当攻击者设置新的C2服务器时,他们会更改GitHub存储库中的这四个单词,受感染的机器会自动计算出新地址。自2026年4月13日首次提交以来,这首诗已被编辑了11次,每次编辑都将受害者引导至新的服务器。
“在撰写本文时,恶意软件创建者尚未更改用于解读诗的模式。在我们观察到的11次迭代中,只有关键词发生了变化,”他们指出。
挖矿、扫描和暴力破解
安装后,该恶意软件运行XMRig和Iron加密货币矿工,并将受害者连接到俄罗斯Kryptex挖矿池。它还附带远程Shell、HTTP/S扫描和利用部署功能。受感染的服务器被用来扫描和利用新目标,这也是僵尸网络扩张的方式。
最近,一批机器人开始针对SSH端口和其他登录门户发起攻击。研究人员表示,这表明该操作者可能正在尝试分布式暴力破解攻击,尽管其能力似乎仍处于开发的早期阶段。
Black Lotus Labs表示,已阻断与PoeLLM命令与控制(C2)服务器之间的流量,并将持续监控新出现的流量。
“随着人工智能更深入地参与到开发及日常运营中,企业通过引入AI基础设施迅速扩大其攻击面,这些智能代理的安全性不应让位于便利性。”
研究人员总结道:“对面向互联网的AI和企业工具进行更新延迟,会导致高度信任的访问权限被滥用。将AI工具纳入攻击面管理以及补丁和更新周期中至关重要,这不仅是为了防止如本次行动所显示的那样,企业遭受令牌使用滥用和加密货币挖矿的问题,更是为了更关键地防范数据泄露、大语言模型劫持以及横向移动。”
Thousands of hijacked servers have been looking up their command and control (C2) server in a poem posted on GitHub, according to Black Lotus Labs.
The malware reading it, dubbed PoeLLM, breaks into exposed AI services and open-source tools, mines cryptocurrency on them and uses them to hunt for new victims.
The researchers call the campaign Canto Incognito and believe it is the work of an Italian-speaking threat actor who appears to be in it for the money. The operation has been running since April 2026 and has hit more than 3,400 servers, most of them in the US and Western Europe.
Canto Incognito campaign overview (Source: Black Lotus Labs)
“Most victims appear to be running vulnerable versions of open-source AI/LLM services, such as LiteLLM and Ollama. The malware also affected hundreds of servers running an open-source PDF converter called Gotenberg and the software development toolkit Gitea,”researchers wrote.
According to the researchers, attackers have realized that servers running AI/LLM implementations are worth compromising for two reasons. They can be a source of intelligence, and they are self-hosted, internet-exposed services with known vulnerabilities.
How it was found
The team first came across PoeLLM while looking into an Ivanti Sentry vulnerability ( CVE-2026-10520 ).
“In early June 2026, a compromised Ivanti Sentry victim contacted a dedicated server at 5.78.73[.]122. Shortly after contacting this C2, the Ivanti Sentry victim began scanning for other vulnerable devices,”
“Black Lotus Labs telemetry revealed the first GitHub commit with the poem that concealed the C2 address was made on April 13. Early traffic from the first known C2 router suggested the operator was testing the infection and payload downloads for a brief period,” they noted.
Starting in May, the attacker scanned the internet mostly for ports 3000 and 4000, the default ports for Gotenberg and LiteLLM. When a vulnerable server turned up, an exploit server sent it a crafted POST request instructing it to download a file from the C2 server.
In the sample Black Lotus Labs analyzed, the targeted LiteLLM endpoint (/mcp-rest/test/connection) is referenced in CVE-2026-42271 , a command injection vulnerability in LiteLLM.
A poem as an address book
The poem, titled “On the Nature of Connection,” is stored in a file called dash.css in a GitHub repository set up by a user named “ejejejdfbbebe.” The repository is a fork of the nodejs.org website source code, though the malware has no link to Node.js.
PoeLLM extracts four words from fixed spots in the poem and matches each to a number using a dictionary hard-coded in the malware. The four numbers make up the IPv4 address of the current C2 server. In one earlier version of the poem, the words “driver,” “diode,” “decryption” and “string” translated to 92, 119, 165 and 74, which gave the C2 address 92.119.165.74.
Breakdown of C2 poem conversion key from a sample found on June 23, 2026 (Source: Black Lotus Labs)
When the attacker sets up a new C2 server, they change those four words in the GitHub repository and infected machines work out the new address on their own. The poem has been edited 11 times since the first commit on April 13, 2026, and each edit sent victims to a new server.
“At the time of writing, the malware creator has not changed the pattern used in deciphering the poem. Only the keywords have changed over the 11 iterations we have observed, they noted.
Mining, scanning and brute-forcing
Once installed, the malware runs the XMRig and Iron cryptocurrency miners and connects victims to the Russian Kryptex mining pool. It also comes with a remote shell, HTTP/S scanning and exploit deployment features. Infected servers are put to work scanning for and exploiting new targets, which is how the botnet grows.
More recently, groups of bots started targeting SSH ports and other login portals. The researchers say this indicates the operator may be experimenting with distributed brute-force attacks, though the capability appears to be in the early stages of development.
Black Lotus Labs says it has blocked traffic to and from the PoeLLM C2 servers and will keep monitoring for new traffic.
“As AI becomes more involved in both development and day-to-day operations, and enterprises rapidly expand their attack surface by including AI infrastructure, the security of these agents cannot take a backseat to convenience”
“Delays in updating internet-facing AI and enterprise tools enable highly trusted access. Incorporating AI tools into attack surface management and patch and update cycles is critical not only to protect enterprises from abuse of token usage and cryptomining, as evidenced in this campaign, but more critically from data loss, LLM jacking and lateral movement,” researchers concluded .
首次收录 · 2026-10-09 · 7.38 分