Skip to content
AI Security Wire

Published

- 5 min read

By

Neural Override: Python RAT Uses LLM Autopilot, Telegram C2, SCADA Hook

img of Neural Override: Python RAT Uses LLM Autopilot, Telegram C2, SCADA Hook

Palo Alto Networks’ Unit 42 published an analysis on 2 December 2026 of Neural Override, a Windows remote access Trojan written in Python. Its distinguishing feature is an autopilot that hands the attack decisions to a language model. Unit 42 also found a hook for SCADA attacks, but not the code behind it.

Everything below comes from that one vendor report. As of 2 Dec 2026 we found no independent analysis of this malware in a web search for “Neural Override” with Python RAT, OpenRouter, Telegram and SCADA, or in the latest posts from the Unit 42, Check Point Research, Securelist, Google Cloud Threat Intelligence, Huntress, Wiz, Sysdig and SANS ISC feeds. That is a limited check, not proof that none exists.

How the autopilot works

Neural Override is controlled over Telegram. According to Unit 42, a background function called autopilot_loop() fires every 300 seconds. Each cycle it gathers the hostname, OS, IP address, running processes and disk usage, then sends that to OpenRouter’s free-tier API with a Ukrainian-language prompt asking the model to pick from a list of available attacks. The model returns a JSON plan, and execute_plan() runs each step through the same dispatcher that handles manual Telegram commands.

The prompt, Unit 42 says, asks for an “optimal action plan for maximum damage/control”. Unit 42’s summary is that when the autopilot is enabled, the operator does not need to be present: the LLM chooses and the RAT executes. Unit 42 also describes Microsoft’s DialoGPT-medium as a local model, calling it a fallback in one place and saying ask_ai() tries it locally first and falls back to OpenRouter in another.

Unit 42 also describes an evolve_bot() function that sends the first 8,000 characters of the RAT’s own source to the model with a request to improve it, then overwrites itself with the result.

Five builds in a month

Unit 42’s text says five builds, linked through a shared Telegram bot token, operator chat ID and (from Build 2) the same OpenRouter API key. None were rotated. Its build table also lists a sixth entry, a deliberate rollback to the 19-function v3 capability set (the text and table differ on the count).

  • Build 1: eight commands, no AI.
  • Build 2: adds OpenRouter, the autopilot and 11 new capabilities (19 total).
  • Builds 3 and 4: capabilities jump to 61 in under 24 hours, with the version number going from v3 to v9.
  • Build 5: a standalone 214 MB PyInstaller executable with 92 command tokens.

Unit 42 points to duplicated imports and ambitious function names such as quantum_c2() and drone_hack() as signs of bulk LLM generation. That is its inference from code patterns, not a confirmed fact about how the author worked.

What actually works

Unit 42 says about 27 of the 61 v9 capabilities are stubs, and another 13 delegate to the LLM at runtime. Unit 42 judges from reading the code that several parts would work:

  • Ransomware: RSA-2048 plus AES-256 encryption of common document types in the user’s home directory.
  • Persistence: a SystemHelper Run key, two scheduled tasks and copies in several system directories.
  • Credential theft: exfiltrates Chrome Login Data entries over Telegram but skips DPAPI decryption, so the passwords stay encrypted.
  • Defender tampering: nine Set-MpPreference commands to disable protections.
  • DDoS and mining routines.

The SCADA question

The headline detail is the scada_attack command, which calls an external scada_commander.py (Unit 42 shows an example invocation with --command shutdown). That module has not been found. Unit 42 notes the malware has no hard-coded target: scans use the placeholder 192.168.1[.]0/24, keys for other services are empty strings and the Monero address is truncated. The OpenRouter key, by contrast, was live (it returned access to 417 models) and was never rotated.

Unit 42 calls the sample a prime example of the risk in CISA advisory AA26-231A, which warns about actors using AI to generate exploitation scripts aimed at PLCs. That advisory is about Siemens S7 PLC activity and does not mention Neural Override; the link is Unit 42’s framing.

What defenders can do

Unit 42’s detection advice is concrete:

  1. Alert on one host talking to both api.telegram[.]org and openrouter[.]ai, particularly from a Python process.
  2. Investigate a Run key, scheduled tasks and a service all named SystemHelper that point to a Python script.
  3. Hunt process creation logs for scada_commander.py.
  4. Treat both services as unexpected on most OT networks and devices.

Our assessment

This is a rough, probably single-operator tool, and Unit 42 itself says it is not fully functional. We rate the immediate risk as low to moderate for most organisations (our assessment). The useful lesson is the development speed: by Unit 42’s reading, a single operator plugged in an LLM, asked it to expand the codebase, watched capabilities triple overnight and rolled back four days later when the result proved unreliable. A malware author who integrates AI-assisted code generation more successfully could close the gap between stubs and working code, which is Unit 42’s warning too.

References

Frequently Asked Questions

What is Neural Override?
Unit 42 describes it as a Python-based remote access Trojan for Windows, controlled through Telegram, with an autopilot that sends host details to a large language model via the OpenRouter API and runs the attack plan it gets back. Unit 42 tracked five builds over one month.
Can it attack industrial control systems today?
Not as far as Unit 42 could show. The code can call an external module named scada_commander.py, but Unit 42 did not find that module in the wild and says it could not evaluate what it does. The framework to trigger SCADA actions exists, the protocol-level code has not been seen.
Is this a sophisticated threat?
Unit 42 calls it a working RAT wrapped in a lot of AI-generated noise and non-functional code. Unit 42 judges from the code that the ransomware, persistence, credential theft and DDoS routines would work, but about 27 of the 61 capabilities in the v9 source are stubs and 13 more hand work to the LLM. Unit 42 calls the development pattern 'the more interesting story'; we would add that the autonomous loop is the other notable part (our view).
What should defenders look for?
Unit 42 advises watching for outbound connections to both api.telegram[.]org and openrouter[.]ai from the same host, especially from a Python process, plus a Run key, scheduled tasks and a service all named SystemHelper pointing to a Python script, and process creation containing scada_commander.py.