Neural Override malware asks an AI model what to attack next
![Illustration headed Neural Override RAT asks an AI what to do next. A terminal box shows the autopilot loop: every 300 seconds it collects host details, sends them to openrouter[.]ai on the free tier, prompts for a plan for maximum damage, gets back a JSON list of attacks, then runs each step. A footer notes it is controlled through a Telegram bot with no operator needed. Chips read Unit 42, Telegram + OpenRouter, Hunt for SystemHelper.](/images/posts/neural-override-rat/hero.jpg)
![Illustration headed Neural Override RAT asks an AI what to do next. A terminal box shows the autopilot loop: every 300 seconds it collects host details, sends them to openrouter[.]ai on the free tier, prompts for a plan for maximum damage, gets back a JSON list of attacks, then runs each step. A footer notes it is controlled through a Telegram bot with no operator needed. Chips read Unit 42, Telegram + OpenRouter, Hunt for SystemHelper.](/images/posts/neural-override-rat/hero-light.jpg)
Most malware waits for its operator to tell it what to do. Neural Override can ask an AI model instead. Palo Alto Networks’ Unit 42 published its analysis of the Python remote access trojan (RAT) for Windows on 1 December. The operator controls it through a Telegram bot, but an “autopilot” mode lets it run without them.
Every 300 seconds, the autopilot collects the infected PC’s hostname, operating system, IP address, running processes and disk usage. It sends them to a free model through OpenRouter, a service that gives access to many AI models through one API, with a Ukrainian-language prompt. The prompt asks for “an optimal action plan for maximum damage/control” from a list of available attacks. Neural Override then runs each step in the plan that comes back, using the same code that handles the operator’s Telegram commands.
Six builds in a month
Unit 42 linked six samples through the Telegram bot token they share. None of the credentials changed between builds.
The jump from 19 to 61 capabilities came in under 24 hours. Unit 42 sees
signs that a language model wrote much of that code. Standard Python
modules are imported twice, and function names such as quantum_c2(),
drone_hack() and zigbee_hack() promise far more than the code does.
About 27 of the 61 are stubs that just send a status message. Another 13
ask the model to generate code while the malware runs.
One function, evolve_bot(), sends the RAT’s own source code to the
model with a request to improve it, then overwrites itself with the
reply. Four days after the big jump, the operator went back to the
19-command version, which Unit 42 reads as a sign that the expanded
build proved unreliable.
What actually works
Strip away the filler and Neural Override is still a working RAT. Unit 42 tested what its functions would do on a Windows PC.
The ransomware encrypts files in the user’s home folder, including
.docx, .xlsx, .pdf, .jpg, .png, .zip, .db and .py files.
It turns off Defender’s real-time and behaviour monitoring. The Chrome
stealer copies saved logins but sends the passwords still encrypted,
because it skips the Windows decryption step.
The code also has a SCADA attack function that calls a separate module,
scada_commander.py, to send commands such as shutdown. Unit 42 hasn’t
found that module, so it doesn’t know whether the industrial attack would
work.
Nothing in the samples points to a specific target. The network scans use a placeholder range, and other values are left empty or truncated. Unit 42 doesn’t say how the malware reaches victims. The Telegram bot’s display name is Russian, but the user-facing text in the code is Ukrainian.
Indicators
Unit 42 lists these host indicators:
- A
SystemHelpervalue under the current user’sRunregistry key. - Scheduled tasks
SystemHelper(at logon) andSystemHelperPeriodic(every 30 minutes), and a Windows service calledSystemHelper. SystemHelper.pyorSystemHelper.exein the Startup folder,System32and temp folders, andSystemHelper_backup.pyin%TEMP%.autorun.infon USB drives pointing toSystemHelper.py.- Process command lines containing
scada_commander.py --command shutdown.
On the network, look for openrouter[.]ai/api/v1/chat/completions and
api.telegram[.]org from the same host, especially from a Python
process. The bot’s webhook points to manybot[.]io.
The SHA-256 hashes for the six builds are:
7eb8b6b1b5934a5f1011320c27a25e30d69c76a8a338a42b74eeccb04080e06e
e7c63a717539e2c78a1600dbb69ce0c48d9707832c8a747e9d211a6a711b1cd9
cee0bc699073dbcf97b68e05110a29503b844748bcd2492cbae0f6882a3775e0
fb9abe6285fc0152b35673b36a5fbf1893bf8592fac7e352357ab4bdeccd67f1
bfaa12c5196123fd159b631a08fb126b55cdd1a8236fe6d19f5c66530360367d
5138f443dfd519c77adcfc1f86821cd1821a558e3e2c5a09b9cc6aab84639657
What to do
- Add the indicators to your EDR. Load the hashes, and hunt for
anything named
SystemHelperin Run keys, scheduled tasks and services that points to a Python script. - Alert on AI API and Telegram traffic from endpoints. Calls to OpenRouter or the Telegram Bot API from a PC with no business reason, especially from Python, deserve a look. Block them outright on operational technology networks.
- Turn off autorun for removable media through Group Policy.
- Protect Defender settings. Turn on tamper protection so commands
like
Set-MpPreferencecan’t switch off real-time monitoring.