Telegram RAT asks an AI to choose its next attack

Published

Every 300 seconds, a Windows trojan called Neural Override collects the infected machine's hostname, operating system, IP address, running processes and disk usage, sends them to a free-tier AI model, and asks for "an optimal action plan for maximum damage/control." Then it runs the plan. Researchers Asher Davila, Chris Navarrete and Doel Santos of Palo Alto Networks Unit 42 detailed the malware in the original report.

It is a working remote access trojan (RAT) controlled through Telegram, and its menu includes ransomware, DDoS, credential theft, persistence and a command to attack SCADA industrial control systems. The SCADA part, though, calls an external module that Unit 42 has not found.

An autopilot that does not need the attacker online

The autopilot_loop() function runs in the background, sends its system snapshot to OpenRouter's API with a Ukrainian-language prompt, and receives a JSON plan. That plan is fed through the same command dispatcher used for manual Telegram commands, so when autopilot is on, Unit 42 says, the attacker does not need to be present. The code also tries to load Microsoft's DialoGPT-medium model locally first, falling back to OpenRouter when that fails, and caches answers to avoid repeat API calls.

One function, evolve_bot(), sends the first 8,000 characters of the RAT's own source to the model with a request to improve it and add functions, then overwrites itself with the answer.

From 8 commands to 61 in a month

Unit 42 pivoted on a shared Telegram bot token to find successive builds between July 8 and August 8, 2026. The first was a plain eight-command bot. By August 3 it had OpenRouter and the autopilot with 19 capabilities, and in under 24 hours it jumped to 61, with the version number leaping from v3 to v9. A 214 MB PyInstaller executable carried 92 command tokens. On August 8 a build rolled back to the v3 feature set, which the researchers read as the operator abandoning an expansion that proved unreliable.

The researchers see signs of bulk LLM generation: duplicated imports, and roughly 27 of the 61 v9 capabilities that only send a status message, with names like quantum_c2() and drone_hack(). Another 13 hand the work to the model at runtime. The parts that are real, however, work. The ransomware encrypts files in the user's home folder with AES keys wrapped by RSA-2048, persistence is set through a Run key, scheduled tasks and a service all named SystemHelper, Defender protections are switched off with Set-MpPreference, and Chrome's saved-login database is exfiltrated (still encrypted, since it skips DPAPI decryption).

The bot, @Skibidi_16_bot, is run by the Telegram account @Xakmee. No specific target is hard-coded. Unit 42 calls it a prime example of the risk described in CISA advisory AA26-231A, which warns about actors using AI to generate exploitation scripts aimed at programmable logic controllers. It is not the first sign of AI creeping into OT attacks: Iranian OT hackers have added AI to their workflow too.

Hunt for Telegram and OpenRouter from the same host

Unit 42's main detection advice: alert when one host, especially a Python process, talks to both api.telegram[.]org and openrouter[.]ai, which have no business on most OT networks. Also hunt for anything named SystemHelper in Run keys, scheduled tasks (SystemHelper and SystemHelperPeriodic) and services, and for the process command line python scada_commander.py --command shutdown.

Indicators

Neural Override is less a finished weapon than a preview: an amateur operator with a free model got a functioning RAT, and the only thing between it and the industrial payload it advertises is one missing file.

This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.

Earlier in AI Security

All AI Security briefings

Latest briefings

Read the full analysis on IntelFusions