Neural Override RAT: Malware That Asks an LLM What to Do

By 12 min read
Neural Override RAT social card showing a Python RAT that asks an LLM to plan its attacks

Most malware waits for its operator. Neural Override, a Python remote access trojan documented by Palo Alto Networks Unit 42, instead sends a snapshot of the infected Windows machine to a large language model every five minutes and runs whatever plan comes back.

The Neural Override RAT in one sentence: it is a Telegram-controlled Python RAT for Windows, built by an unnamed single operator according to Unit 42, that uses a free OpenRouter LLM to choose between ransomware, credential theft, Defender tampering, DDoS, mining and spreading, and that also carries an unproven SCADA “shutdown” hook. Unit 42 first published the analysis on 2 December 2026; Daily CyberSecurity covered it on 3 December. The sobering part is not how clever it is. It is how little effort it took.

What is the Neural Override RAT?

Neural Override is a remote access trojan (RAT), meaning malware that gives an attacker remote control of a computer, written in Python for Windows. Unit 42 researchers Asher Davila, Chris Navarrete and Doel Santos describe it in a report titled after the malware’s own banner strings, which read “NEURAL OVERRIDE v9.3 - AUTO DEPENDENCY MANAGER” and “NEURAL OVERRIDE v9.2 - AI COMMANDER PLUS (FIXED)”.

Three design choices make it stand out:

  • Telegram as command and control (C2). C2 is the channel an attacker uses to send orders and receive stolen data. Here it is a Telegram bot with the display name “Pomoshnik”, Russian for helper.
  • An LLM as a second operator. A background loop asks a model on OpenRouter, a service that resells access to many AI models through one API, what to do next.
  • A SCADA module that does not exist yet. SCADA (supervisory control and data acquisition) systems run industrial processes. The RAT has a command that would hand off to a separate industrial attack script, but nobody has found that script.
Headline figures for Neural Override: 61 capabilities, about 27 stubs, a 300 second loop and 42 functions added at once
The capability count looks alarming until you see how many of those functions do nothing. Data: Unit 42.

Who is behind Neural Override?

Unit 42 does not attribute Neural Override to any known threat actor. Its assessment is that a single operator likely built a basic Telegram bot first and plugged an LLM API into it later.

The language clues point in two directions. The bot’s display name is Russian, while the user-facing strings and the prompts sent to the model are Ukrainian. Unit 42 says this could reflect a bilingual author or simply a name picked without much thought. It draws no national conclusion, and neither should anyone else.

The operator’s Telegram account and channel show no posts, and Unit 42 found no other traces of them online. The bot’s webhook points to manybot.io, a consumer drag-and-drop bot builder, which says a lot about the skill level involved.

Has anyone been infected?

The report does not name victims, sectors, countries or infection counts. Daily CyberSecurity’s summary of the research says no real victims or set targets appeared in the tested files, and that generic local IP ranges and dead test links point to a single coder’s test project. Treat Neural Override as a documented capability, not as an active campaign with known casualties.

How does the Neural Override autopilot work?

The autopilot is a background thread, autopilot_loop(), that runs every 300 seconds and turns the LLM into a decision-maker. Unit 42 lays out the cycle in five steps.

  1. Collect. The RAT gathers the hostname, operating system, IP address, running processes and disk usage.
  2. Ask. It sends that state to OpenRouter’s chat completions endpoint with a Ukrainian-language system prompt. The prompt names the bot “Neural Override v9.3 bot-helper”, lists every available command, including scada_attack and apocalypse, and asks for an optimal plan for maximum damage or control.
  3. Receive. The model replies with a JSON-formatted plan.
  4. Execute. execute_plan() walks through the steps and passes each one to handle_command(), the same dispatcher that handles manual Telegram commands.
  5. Repeat. Five minutes later it does it all again, with no human in the loop.
Five-step Neural Override autopilot loop from host data collection to LLM plan execution
The LLM never touches the victim directly: it only picks commands that the RAT's own dispatcher already supports. Data: Unit 42.

Which AI model does it use?

The model string is openrouter/free, OpenRouter’s free tier. Unit 42 notes that the embedded API key would actually unlock 417 models, but the malware only uses the free one. Responses are cached by MD5 hash, so identical host states do not trigger new requests.

The source-code build also has a local fallback. init_local_ai() loads microsoft/DialoGPT-medium, a small conversational model, and ask_ai() tries the local model before OpenRouter. The 214 MB Windows executable bundles a Hugging Face inference stack for offline use.

The self-rewriting function

A function called evolve_bot() reads the RAT’s own source code, sends the first 8,000 characters to the LLM with a request to improve it, and overwrites itself with the answer. Another, polymorph_virus(), asks the model to write a polymorphic virus on the spot. Unit 42 counts 13 further functions that hand their work to the LLM at runtime.

None of this is guaranteed to produce working code. A model rewriting a script from its first 8,000 characters is as likely to break it as improve it, which is one reason to treat the “self-evolving” label with caution.

How did the malware evolve from 8 to 61 capabilities?

Through a burst of growth in early August 2026. Unit 42 recovered samples dated from 8 July to 8 August 2026, all tied together by the same Telegram bot token, operator chat ID and, from the second build on, the same OpenRouter key. The operator never rotated any of them.

Timeline of Neural Override builds from 8 July 2026 to the Unit 42 report on 2 December 2026
Most of the growth happened in a single day, 4 August 2026, followed by a rollback four days later. Data: Unit 42.
Build Date Format Version Capabilities Size
1 8 Jul 2026 Python bytecode (.pyc) pre-v3 8 59,843 bytes
2 3 Aug 2026 .pyc v3 19 57,727 bytes
3 4 Aug 2026 Python source (.py) v9.2/v9.3 61 79,887 bytes
4 4 Aug 2026 .pyc v9 61 127,373 bytes
5 4 Aug 2026 PyInstaller Windows executable v9.2 92 command tokens 214 MB
6 8 Aug 2026 .pyc v3 19 55,729 bytes

Build 3 added 42 new functions in one batch. Unit 42 says that jump, from 19 to 61 capabilities in under 24 hours, shows possible signs of AI-assisted code generation. Build 6 then went back to the v3 feature set, which Unit 42 describes as a deliberate rollback.

Bar chart of Neural Override capabilities per build, rising from 8 to 61 and falling back to 19
The v9 builds tripled the feature list overnight; the operator then shipped the smaller v3 set again. Data: Unit 42.

Signs of LLM-written code

Build 3 is the only sample with readable source, and that is where Unit 42 found its evidence: socket, json, re, hashlib and random are each imported twice, and roughly 27 of the 61 v9 capabilities are stubs that only send a status message or return. Names such as quantum_c2(), drone_hack() and zigbee_hack() read, in Unit 42’s view, like a model’s answer to the question of what else malware could do.

What can Neural Override actually do?

Strip out the stubs and a conventional, working RAT remains. Unit 42 tested the functional modules and gives clear verdicts.

Module What it does Unit 42 verdict
Ransomware RSA-2048 key pair, random 256-bit AES key, OAEP key wrapping, 10 file extensions Would work
Persistence Run key, two scheduled tasks, a service, startup copies Would work
Chrome credential theft Reads Chrome’s Login Data and sends it over Telegram Works, but skips DPAPI, so passwords stay encrypted
Defender evasion Nine Set-MpPreference commands plus notification-suppressing registry entries Would work
DDoS, XMRig mining, SMB spread Floods, Monero mining, nmap scan for SMB hosts Would work
SCADA attack Launches external scada_commander.py Unverified, module not found

DPAPI, the Windows Data Protection API, is what encrypts saved Chrome passwords on disk. Because the RAT does not call it, the attacker receives encrypted blobs rather than plain-text passwords, unless they decrypt them some other way.

The malware also spreads to USB drives through an autorun.inf file pointing to SystemHelper.py. Its code contains a BIOS infection URL, but it uses the placeholder domain your-c2.com, another sign of unfinished work.

Is the SCADA threat real?

Not yet. The scada_attack() function runs python scada_commander.py --command shutdown, and Unit 42 could not evaluate that script because it did not find it in the wild. No industrial protocol code exists in the samples. The only industrial clue is a Modbus port scan against 192.168.1.0/24, which Unit 42 calls a generic placeholder.

Daily CyberSecurity adds that Brandefense reviewed the work and also noted that no lab has found the file. Unit 42 places the hook in the context of CISA advisory AA26-231A, which warned about AI-generated exploitation scripts aimed at programmable logic controllers (PLCs).

So the honest reading is this: Neural Override shows intent to reach industrial systems and a ready slot for a module, not a demonstrated capability. For real-world attacks on water utility controllers, see our report on CyberAv3ngers rewriting PLC safety logic.

How does Neural Override compare with UAT-10147?

On 3 December 2026, a day after the Unit 42 report, Cisco Talos published a second look at UAT-10147, a group its August 2026 post called a Chinese-speaking adversary using agentic AI. The two cases show different ways criminals are using models today.

  Neural Override (Unit 42) UAT-10147 (Cisco Talos)
Where the AI sits Inside the malware, choosing actions at runtime With the operator, writing and adapting attack scripts
Evidence Six samples, one with source code Open directory with 6,360 files, 209 with strong AI-creation signs
Scale No known victims 656,857 network targets, 20,427 high-interest
Confirmed outcomes Working modules, untested in the wild Confirmed compromises via n-day bugs such as the cPanel CVE-2026-41940 chain
Weak spot Many stubs, missing SCADA module, unrotated keys Talos says AI helped scanning but was limited for persistence and full compromise

The pattern matches what Talos concludes: models widen and speed up what one operator can try, but they have not removed the hard parts of an intrusion. Our guide to detecting AI agent attacks covers the operator-side signals in more depth.

How do you detect Neural Override?

The strongest signal is a pairing that legitimate software rarely produces: one host, and especially one Python process, talking to both api.telegram.org and openrouter.ai. Unit 42 says neither service has a legitimate role on most operational technology (OT) networks.

Network signals

  • Outbound HTTPS to api.telegram.org and openrouter.ai from the same host within a short window.
  • Calls to the openrouter.ai/api/v1/chat/completions endpoint roughly every 300 seconds from a non-browser process.
  • Any public LLM API traffic from OT or engineering workstations.
  • SMB scanning from a workstation, and Modbus (TCP 502) probing from an IT host.

LLM API traffic as a C2 side channel is not unique to this family. Our write-up on NotC2 and AWS Bedrock shows how attackers hide control traffic inside AI services, and ARTEX agents stealing LLM keys shows why API keys are now loot in their own right.

Host signals

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Run\SystemHelper.
  • Scheduled tasks SystemHelper (at logon) and SystemHelperPeriodic (every 30 minutes).
  • A service named SystemHelper set to start automatically.
  • SystemHelper.exe or SystemHelper.py in the Startup folder, copies under System32\drivers, Windows\Temp and System32\Tasks, and SystemHelper_backup.py in the user’s temp directory.
  • autorun.inf files on removable drives that reference SystemHelper.py.
  • Set-MpPreference commands that weaken Microsoft Defender, run in sequence.
  • The command line scada_commander.py --command shutdown.

Indicators and ATT&CK mapping

Unit 42 publishes 26 indicator lines: six SHA-256 hashes, 11 network indicators including the bot handle, webhook domain and partly redacted LLM key, and nine host indicators. Use the Unit 42 report for the full list. The report includes no MITRE ATT&CK mapping; the one below is ours, based on the behaviours it describes.

Behaviour ATT&CK technique
Run key persistence T1547.001 Registry Run Keys / Startup Folder
Scheduled tasks T1053.005 Scheduled Task
SystemHelper service T1543.003 Windows Service
Defender tampering T1562.001 Disable or Modify Tools
Telegram C2 T1102 Web Service
Chrome credential theft T1555.003 Credentials from Web Browsers
USB spreading T1091 Replication Through Removable Media
File encryption T1486 Data Encrypted for Impact
Monero mining T1496 Resource Hijacking

How do you defend against it?

Neural Override is noisy and unsophisticated, so ordinary controls go a long way. In priority order:

  1. Block or restrict public LLM APIs and Telegram on servers and OT networks. Allow them only from approved hosts and processes, and alert on anything else.
  2. Enable tamper protection for Microsoft Defender so Set-MpPreference changes from a script cannot switch protection off.
  3. Restrict Python and other interpreters on endpoints that do not need them, using application control.
  4. Hunt for the SystemHelper artefacts listed above across Run keys, tasks, services and startup folders.
  5. Disable autorun for removable media and control USB use on engineering workstations.
  6. Segment OT from IT, so a compromised office PC cannot reach Modbus devices at all.
  7. Keep offline backups that the ransomware module cannot reach.
  8. Treat LLM API keys as secrets: monitor your own keys for abuse, and report keys found in malware to the provider so they can be revoked.

What is still unknown?

Several gaps remain, and some of the published numbers do not line up.

  • Build count. Unit 42’s text and Daily CyberSecurity describe five builds from 8 July to 8 August, but Unit 42’s table lists six numbered samples. The first sample’s filename is also marked as needing confirmation.
  • How much is real. Unit 42’s executive summary says about two-thirds of the code is no-op or hands off to the LLM, its conclusion says half, and its stub count is about 27 of 61. The numbers depend on what is counted.
  • Delivery. The report does not describe how Neural Override reaches its first victim.
  • Victims. No targets, sectors or infection counts have been published.
  • The SCADA module. Whether scada_commander.py exists at all is unknown.
  • Timing. The samples date from July and August 2026, yet the report appeared on 2 December. Whether the operator has continued since August is not stated, and Unit 42 has not said whether the Telegram bot and OpenRouter key have since been shut down.

The bottom line

Neural Override is less a breakthrough than a warning about the cost of entry: one operator, a free bot builder and a free LLM tier produced a working RAT with ransomware, credential theft and Defender tampering in about a month. The AI parts are mostly stubs and wishful thinking, but the conventional parts work. Detect it through what it cannot hide, a Python process talking to Telegram and an LLM API from the same host, and keep public AI services off networks that run physical processes.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is Neural Override malware?

Neural Override is a Python-based remote access trojan for Windows that takes commands from a Telegram bot and can ask a large language model on OpenRouter to plan its next actions. Palo Alto Networks Unit 42 documented it on 2 December 2026.

Who is behind the Neural Override RAT?

Unit 42 does not name a threat actor. It says a single operator likely built a basic Telegram bot and then added an LLM API. The bot's display name is Russian and the prompts are in Ukrainian, which Unit 42 says could reflect a bilingual author or a careless name choice.

Can Neural Override attack SCADA systems?

Not as far as anyone has shown. Its scada_attack function only launches an external script called scada_commander.py, which Unit 42 did not find in the wild, so the industrial control capability is unverified.

Which AI model does Neural Override use?

It calls the OpenRouter chat completions API with the model string 'openrouter/free', the free tier. One build falls back to a local microsoft/DialoGPT-medium model when OpenRouter is unreachable, and the 214 MB build bundles a Hugging Face inference stack.

How do I detect Neural Override?

Alert when the same host, especially a Python process, connects to both api.telegram.org and openrouter.ai. Hunt for Run keys, scheduled tasks or services named SystemHelper that point at Python, and for the command line 'scada_commander.py --command shutdown'.

Is Neural Override ransomware?

It contains a ransomware module among many others. Unit 42 says the module generates an RSA-2048 key pair and a random AES key, encrypts files with 10 extensions and would work. It is a RAT with ransomware capability, not a dedicated ransomware family.

Was Neural Override written by AI?

Unit 42 sees patterns that point to bulk LLM generation in the only source-code build, such as duplicated imports and dozens of stub functions, and says the jump from 19 to 61 capabilities in under 24 hours shows possible signs of AI-assisted coding. It does not claim proof.

Keep reading

Neural Override RATUnit 42Telegram C2OpenRouterAI malwarePython RATICS security