P.K. SHARMA

Cyber security intelligence, AI governance, practitioner analysis

Unit 42 says Neural Override's AI autopilot can call working ransomware, but its SCADA module was not found

Unit 42 says a Telegram controlled Windows RAT asks a free AI model for an attack plan every 300 seconds. By its own counts 40 of 61 capabilities are stubs or LLM hand-offs (derived), and it has not found the SCADA module.

By · LinkedIn · · 20 min read

Forty of 61 capabilities are stubs or hand-offs to a model, by Unit 42's own counts (derived)

On 2 December 2026 Unit 42, the threat research team of Palo Alto Networks, published an analysis of Neural Override, a Python remote access Trojan for Windows controlled through Telegram. Its code carries an autopilot: a background loop that fires every 300 seconds, sends the infected host's state to OpenRouter's free tier API with a Ukrainian language prompt, and runs the JSON plan that comes back through the same dispatcher that handles manual Telegram commands. This briefing reads the Unit 42 post, the note Unit 42 keeps on GitHub and CISA advisory AA26-231A, all between 21:18 to 21:20 UTC on Wednesday 2 December 2026.

The headline figure is a sum. Of the 61 capabilities in the v9 code, Unit 42 counts "roughly 27" as stubs that send a status message or ask the AI to write code at runtime, and "another 13" that delegate to the model at runtime. 27 plus 13 is 40, and 40 of 61 is 65.6 per cent (derived), which is how the summary's "Around two-thirds of the codebase" can be reproduced. Unit 42 does not print the sum, and its conclusion says "half of the codebase consists of stubs", which is 27 of 61, or 44.3 per cent (derived), if only the stubs are counted. So the count is approximate, and the post uses two different shares.

What the figure does not establish: that the other 21 capabilities (derived: 61 minus 40) all work, that any victim exists, that the autopilot ever produced a plan that did damage, who wrote or ran the tool, or that the SCADA part does anything. Unit 42 says the ransomware, persistence, credential theft and DDoS code would work, and that it has not found the module the SCADA command calls. Unit 42 is the research arm of a vendor that sells security products, and the post ends with a list of them; every claim here is attributed to it.

The paragraph of Unit 42's post of 2 December 2026 that gives the two thirds figure, as Unit 42 prints it.

What the autopilot does, step by step, as Unit 42 describes it

The function autopilot_loop() "runs as a background thread and fires every 300 seconds". Each cycle it collects the host's hostname, OS, IP address, running processes and disk usage and sends them to OpenRouter's free tier API, with a prompt in Ukrainian asking the model to pick from a list of available attacks. The reply is a JSON plan. A second function, execute_plan(), iterates through the plan's steps and calls each through handle_command(), the dispatcher that also processes manual Telegram commands. Five minutes is 288 cycles a day (derived).

This site's drawing from the Unit 42 text and its Figures 2 and 3. Green is Unit 42's verdict from reading code, not from running it.

Unit 42 reports that the system prompt names the bot "Neural Override v9.3" and lists every available command, including scada_attack and apocalypse, and that the malware asked the model to "propose an optimal action plan for maximum damage/control". Responses are cached by MD5 hash "to avoid repeat API calls". Unit 42's consequence: when the autopilot is enabled, the attacker does not need to be present, so the model picks and the RAT acts. The post does not say how the autopilot is switched on or whether it is on by default.

There is also a local model. Unit 42's Figure 3 shows init_local_ai() loading Microsoft's DialoGPT-medium in the Build 3 source, described as "a local fallback for command interpretation when the OpenRouter API is unavailable". The Build 5 executable bundles a HuggingFace inference stack for offline processing. So a local model appears in two builds, the Build 3 source and the Build 5 package, not in one. A model small enough to run offline on an infected laptop is not the same planner as the free tier hosted one, and the post does not report any plan from either.

What Unit 42 says works, what it calls stubs, and what it did not find

Unit 42 gives each working part a verdict. Five lines read "Verdict: This would work" or "These would work". They are the result of reading code: the post does not describe running the samples, so "would" is the right verb and "does" is not. The table separates what is said from what is not.

What the Unit 42 post says about each part of Neural Override, and what it leaves unsaid. Read 2 December 2026.

PartWhat Unit 42 saysNot said
Ransomwarestart_ransomware() makes an RSA-2048 key pair and a random 256-bit AES key, encrypts files with ten listed extensions in the user's home directory, and replaces them with .encrypted versions. "This would work."Any run, any victim, any ransom note or demand, and how the keys would reach the operator.
Persistenceinstall_persistence() uses a Run key, two scheduled tasks, a service and several file copies, all under the name SystemHelper. "These would work."Whether any host carries them.
Chrome credentialsget_chrome_passwords() reads the Chrome Login Data database and sends the results over Telegram. It skips DPAPI decryption, so it sends the raw encrypted values. "This would work."Whether the operator could decrypt those values, so the post's verdict and the "hits the right database" wording stop short of showing stolen passwords.
Defender settingsbypass_av() runs nine Set-MpPreference commands to turn off real time monitoring and other Defender features.Whether tamper protection or a managed policy would stop it.
DDoS, miner, SMB scanUnit 42 calls them "standard implementations": start_ddos(), start_miner() (XMRig for Monero) and spread() (nmap for SMB hosts).A target, a pool or a host list: none is named.
Stubs, roughly 27They send a status string, or ask the AI for code at runtime. Names such as quantum_c2(), drone_hack() and zigbee_hack() "indicate capabilities far beyond what the rest of the code demonstrates".Exactly which 27.
LLM hand-offs, 13They delegate to the model at runtime, for example polymorph_virus().What, if anything, the model returned when asked.
SCADAscada_attack() calls scada_commander.py. Unit 42 "did not find a sample" and "could not evaluate its functionality".That the module exists, that it works, or any ICS protocol code (its GitHub note says none is inline).

Two other facts cut both ways. The evolve_bot() function reads the RAT's own source, sends the first 8,000 characters to the model with a Ukrainian prompt that says to improve the code, add functions and fix bugs, and "overwrites itself with whatever the model returns". That is a self modifying design, and Unit 42 does not report a run of it. And Unit 42's own conclusion is plain: it is a working RAT "wrapped in a lot of AI-generated noise and non-functional code".

Unit 42's own wording on the SCADA module, from its post of 2 December 2026.

Where the post and its own sources do not agree

Several statements differ inside the Unit 42 material. They are listed as differences and not resolved here, because the post does not resolve them.

Differences inside the Unit 42 post and the note it links on GitHub (dated 2026-09-15 in its file name), as read on 2 December 2026.

PointOne readingAnother reading
How many buildsThe summary and the GitHub note say five builds.Table 1 prints six rows. The extra row is a 214 MB Windows executable dated 2026-08-04; the GitHub note lists no executable.
The 19 to 61 jumpThe post says "in under 24 hours".The GitHub note says "approximately 24 hours". Table 1 gives only dates, 2026-08-03 and 2026-08-04, which are one calendar day apart (derived) and carry no times.
Share of dead codeThe summary says "Around two-thirds" of the codebase.The conclusion says "half". The counts in the text give 65.6 and 44.3 per cent (derived), depending on whether the 13 hand-offs are included.
Local modelFigure 3's caption describes a local fallback when OpenRouter is unavailable.The text says ask_ai() tries to load the local model first and falls back to OpenRouter if that fails. The two describe opposite orders.
Plan steps runThe text says execute_plan() iterates through all the steps in the plan.In the excerpt printed as Figure 2, the loop takes the first item of the plan and passes it to the dispatcher, and the Ukrainian prompt reads as asking for one action (this site's reading). execute_plan() is not shown.
Actions offeredThe text says the system prompt lists every command, including scada_attack.The cycle prompt in the Figure 2 excerpt names seven actions: encrypt, ddos, spread, steal, mine, persist and apocalypse. scada_attack is not among them in that excerpt.
Build 1 filenameThe IOC list gives a hash, a size and a type.Its filename field reads "[NEEDS CONFIRMATION]", an editing note left in the published list.

None of these changes the core finding, which is that the loop exists and the dispatcher is shared. They do change how far to trust the finer claims, for example that the autopilot can pick the SCADA command: the text and the GitHub note say it can, and the one prompt the post prints does not offer it.

Six rows in a month: 8, 19, 61, then a rollback

Table 1 in the post runs from 2026-07-08 to 2026-08-08, which is 31 days (derived). Build 1 has eight commands and no AI. Build 2 (2026-08-03) adds the OpenRouter connection, the autopilot loop and 11 capabilities, which makes 19. Builds 3 and 4 (2026-08-04) show 61, and "42 new functions appear in a single batch": 19 plus 42 is 61 (derived), 3.2 times the previous count (derived). The version number jumps from v3 to v9 with nothing between. Build 5 is the standalone executable, with 92 command tokens, a unit the post does not equate with capabilities. Build 6 (2026-08-08) is a regression to the v3 capability set, 19 again. Unit 42 reads this as an operator who watched the code triple overnight and "rolled it back four days later when the expanded version proved unreliable".

This site's drawing from Unit 42 Table 1 and its text. Gaps in days, the 21, 40 and the percentages are derived by this site.

Unit 42 reads the rapid growth as "possible signs of AI-assisted code generation", and points to patterns in the Build 3 source: duplicate standard library imports, a self improvement loop, and stub functions that read "like LLM-generated answers" to a prompt about what else the malware could do. That is Unit 42's inference from code style. The post has no log, prompt history or model output from the author to show it, so it is a reading, not a record.

The dates carry less than they seem to. Table 1's column is headed only "Date": the post does not say whether it is a first seen date, a compile date or a save date. The GitHub note dates the loop's arrival to 2026-08-03 because the OpenRouter key is absent from Build 1 and present from Build 2. The note is dated 2026-09-15 (a Tuesday, derived) and says that "As of 2026-08-27, both the Telegram bot" and the OpenRouter key "were active". The blog post is dated 2 December 2026. So the newest build date is 116 days before the post, the activity check is 97 days before it, and the note is 78 days before it (all derived). Nothing in the three says when the code was first seen, or whether it has been seen since August.

Samples, victims and the operator: stated and not stated

On how it got the code, the post says only that "Through a .py sample of Neural Override, we analyzed the version v9.2/v9.3 source code", that the framework for SCADA attacks exists "within the files we accessed", and that it "identified five builds by pivoting on the shared Telegram bot token". It does not say where the samples came from, whether any came from a victim, or whether the account behind the bot was still active at the time of writing. Unit 42 does report that all builds share one bot token and one operator chat, that the OpenRouter key from Build 2 onward is shared too, and that no credential was rotated across the timeline. This site leaves the bot, channel, chat and key identifiers out of the article on purpose.

On attribution, Unit 42 says searches for the operator account across developer platforms, underground forums, gaming services and general web sources returned no results, and that its analysis "suggests a single operator likely built a basic Telegram bot" and then plugged in an LLM API. The strings are Ukrainian, the bot's display name is a Russian word, and Unit 42 says this "could reflect a bilingual author or just a name chosen for the bot without much thought". The post names no group, state or country, and this briefing names none.

On targets, the post says no specific target is hard coded anywhere, the nmap scans all use a generic placeholder block, the API keys for other services are empty strings, the BIOS infection URL is a placeholder and the Monero address is truncated and non-functional. That reads as a tool without a configured target (inference). It is also evidence that the post found no victim, not evidence that none exists.

What the Unit 42 post and its GitHub note state, and what they do not. Read 2 December 2026.

QuestionStatedNot stated
Was anyone attacked?No target is hard coded; the placeholders are generic.Any victim, infected host count, ransom demand or incident.
Did the autopilot ever plan an attack?The loop exists and the dispatcher is shared.Any plan the model returned, or any action the plan triggered.
Does the SCADA part work?A function calls a module that Unit 42 did not find.That the module exists, what protocol it speaks, or any target device.
Was the tool used in the wild?The key and bot were active on 2026-08-27 (GitHub note); the key is valid and reaches 417 models.Where the samples came from, how the check was made, or any use after August.
Who is behind it?A single operator, likely (Unit 42's inference); Ukrainian strings.A name, group, country or motive.
Did AI write the code?"Possible signs": duplicate imports, a 19 to 61 jump, stub names.Any prompt, model or conversation from the author.

"AI powered" is three claims, and the SCADA line is the weakest

The label covers three different things. One is a model as a runtime planner: a loop that asks a free tier model what to do and acts on the reply. The post shows the structure of that loop in code, and that is the most solid claim in it, though it shows no reply. The second is a model as the author of the code: "possible signs", from patterns in one build. The third is a model as a stand in for the code: the stubs and the 13 hand-offs, where the "capability" is a request that the model write the capability. A tool that asks a model at runtime to write a polymorphic virus has not built one.

The summary says the malware "autonomously runs ransomware, distributed denial-of-service (DDoS) attacks, credential theft, persistence routines and SCADA commands based on the AI's recommendations". The body does not support the last item at the same level as the rest. The ransomware, persistence, credential and DDoS code gets verdicts. The SCADA command gets a function that calls a module Unit 42 has not found, so it "could not evaluate its functionality". The summary also calls it "an undetermined capability", which is the accurate wording.

Figure 4 shows why a stub can look like a capability. The function runs the module by command line and then sends a Ukrainian status message that reads as the SCADA system having been switched off. In this site's reading of the excerpt, not Unit 42's: the status message follows the call without checking its result, and a Python call of this kind does not raise when the command it starts fails, so the success message could be sent even if the module is missing. That is a reason to read a status message from this malware as a claim by the code, and not as evidence of an effect.

Where CISA's advisory and Unit 42's "prime example" meet, and where they do not

Unit 42 calls Neural Override "a prime example of the risks reported in CISA advisory AA26-231A". The advisory, titled "Defending Against an Active Threat to Siemens S7 Series PLCs" and released on 19 August 2026, says threat actors are conducting reconnaissance and capability development against U.S. based Siemens PLC installations "using AI-generated exploitation scripts disguised as legitimate monitoring tools". The authoring agencies assess the activity as "likely intended as persistent reconnaissance" in targeted sectors. Its tools use snap7 and the S7comm protocol, and it advises blocking TCP port 102 at the perimeter.

Unit 42's Neural Override material beside CISA advisory AA26-231A, as read on 2 December 2026.

PointUnit 42 on Neural OverrideCISA AA26-231A
What the AI doesPlans at runtime: a model on the infected host's behalf picks the next command (code reading).Helps develop the scripts: AI-generated exploitation scripts built from public information.
PLC protocolNo ICS protocol code found; the GitHub note says snap7 and pymodbus are absent.snap7 and S7comm, with TCP port 102 as the monitoring point.
Evidence of useNo victim stated.An "active threat" against Internet exposed Siemens S7 PLCs, assessed as reconnaissance and capability development.
Command channelTelegram, with an OpenRouter free tier model.Not mentioned. The advisory does not mention Telegram, OpenRouter, Neural Override or Unit 42.
OT adviceWatch for Telegram and AI API traffic from the same host; neither has a role on most OT networks.A DMZ between IT and OT, allowlisting on engineering workstations, disabling unused protocols such as Modbus TCP.

So the link is the direction of travel, AI in the toolchain of someone who wants to reach controllers, and not the same activity. Neural Override as Unit 42 presents it has no S7 code and no PLC target, and the advisory's actors are using scripts that already talk to PLCs. This site found no contradiction with its earlier briefing on a lab test, Booz Allen says its OT lab met 8 of 8 objectives with every exploit human approved: that test had a human approving each exploit and cited the same advisory as evidence of AI assisted PLC scripting. Neural Override as described has no approval step in the code the post prints. Two other briefings cover malware that asks a model for help at runtime: Talos on the VOLTA stealer and Kaspersky on an LLM on the C2 server.

What to do, in order, with whose advice each item is

Unit 42's own mitigation advice for this threat is short and sits under its SCADA heading: three things to watch for and one rule to add. Its "better protected" lists are product names from its parent company. Items marked "Unit 42" are from the post. Items marked "CISA" are from AA26-231A and were written for Siemens PLCs. Items marked "This site" are this site's suggestions and were not tested.

Take this with you

Actions, ranked

  • Unit 42: alert on outbound connections to both api.telegram[.]org and openrouter[.]ai from the same host, particularly from a Python process.
  • Unit 42: investigate a Run key, scheduled tasks and a service all named SystemHelper that point to a Python script.
  • Unit 42: search process creation logs for the SCADA invocation string it prints, and add the pairing of Telegram and LLM API traffic to detection rules, particularly near OT.
  • This site: block egress to messaging and public AI API hosts by default from servers, OT jump hosts and engineering workstations, and allow it by exception through a proxy that logs.
  • This site: put application control on Python interpreters on servers and engineering workstations, and alert when python or pythonw opens a connection to any messaging or AI API.
  • CISA: keep a DMZ between IT and OT, verify there is no unauthorised routing between corporate and industrial networks, and disable unused protocols such as Modbus TCP.
  • This site: test restores of user profile data from an offline or immutable copy, because the ransomware Unit 42 describes walks the user's home directory.
  • This site: confirm that a change to Defender real time monitoring raises an alert and is blocked by tamper protection or central policy, because bypass_av() runs nine Set-MpPreference commands.
  • This site: hunt on behaviour before hashes. The builds changed in days (Table 1), so a hash list ages quickly; the Telegram and model API pairing does not depend on the build.

The egress items are the cheap ones. A server or an engineering workstation has no business reaching a messaging API or a public model API, so a block there costs little. They also match the one control Unit 42 says plainly: neither service has a legitimate role on most OT networks.

What the post prints for hunting

Unit 42 prints host and network indicators and six file hashes. They are copied below exactly as the post prints them, with the two service names in the form it uses. The Telegram bot, channel, chat and account identifiers, the key fragments and the placeholder infrastructure are left out. No code is printed.

Text
Persistent binary name: SystemHelper.py / SystemHelper.exe
Registry key: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\SystemHelper
Scheduled task: SystemHelper (login trigger)
Scheduled task: SystemHelperPeriodic (30-minute interval)
Windows service: SystemHelper
Startup folder: SystemHelper.py copied to shell:startup
System32 copy: SystemHelper.exe copied to C:\Windows\System32\
USB spreading: autorun.inf -> SystemHelper.py
SCADA module invocation: python scada_commander.py --command shutdown
Host indicators as the Unit 42 post printed them, read 2 December 2026. Explained above: persistence artefacts to hunt for.

The first block is a hunt list. The last line is a command line string for process creation logs: no hit on it would mean only that the missing module was not run on that host.

Text
api.telegram[.]org
openrouter[.]ai
LLM endpoint: openrouter[.]ai/api/v1/chat/completions
LLM model: openrouter/free (free tier)
Modbus port scan target: 192.168.1[.]0/24 (generic placeholder value)
Network indicators as the Unit 42 post printed them, read 2 December 2026. The two service hosts are legitimate services abused as a channel.

These are not a blocklist: both services are widely used. The useful signal is the pairing from one host, and the post's model field reads openrouter/free, which is a free tier route and does not name the model behind it. The private address range is the placeholder the post says the scans use.

Text
7eb8b6b1b5934a5f1011320c27a25e30d69c76a8a338a42b74eeccb04080e06e  Build 1, .pyc, eight capabilities, no AI
e7c63a717539e2c78a1600dbb69ce0c48d9707832c8a747e9d211a6a711b1cd9  Build 2, .pyc, v3, 19 capabilities
cee0bc699073dbcf97b68e05110a29503b844748bcd2492cbae0f6882a3775e0  Build 3, .py source, v9.2/v9.3, 61 capabilities
fb9abe6285fc0152b35673b36a5fbf1893bf8592fac7e352357ab4bdeccd67f1  Build 4, .pyc, v9, 61 capabilities
bfaa12c5196123fd159b631a08fb126b55cdd1a8236fe6d19f5c66530360367d  Build 5, PE executable, v9.2, 214,234,082 bytes
5138f443dfd519c77adcfc1f86821cd1821a558e3e2c5a09b9cc6aab84639657  Build 6, .pyc, v3 rollback, 19 functions
SHA-256 hashes, builds and types as the Unit 42 post printed them, read 2 December 2026. Build 1 has no filename in the post, only an editing note.

The note on GitHub lists five hashes, not six: it has no executable and numbers the rollback as Build 5. It also gives Build 3 as "9/57 detections" without saying which scanner counted them.

The question the post leaves open

The loop fires every 300 seconds and the post shows no plan it ever produced. If a defender wanted to know whether this ran on their network, what would they look for: a Telegram connection, a model API call, or the action the plan chose, and which of the three would the logs they have today actually keep?

Key facts

Sources

  1. PrimaryNeural Override: The Evolution of a Python RAT That Uses AI to Plan Its Own Attacks and Target SCADA Systems, dated 2 December 2026 in its page data: the autopilot loop, Table 1 of builds, the working and stub counts, the SCADA module not found, the indicators. Read in full; the vendor's own research pageUnit 42, Palo Alto Networksaccessed 2026-12-02
  2. PrimaryUnit 42's timely threat intel note on Neural Override, dated 2026-09-15 in its file name: the five-build count, the 2026-08-27 activity check, the SCADA tasking only in Builds 3 and 4, grid_attack and the ports scanned. Read from the page's embedded textUnit 42, Palo Alto Networks (GitHub)accessed 2026-12-02
  3. PrimaryJoint advisory AA26-231A, released 19 August 2026: AI-generated exploitation scripts against Siemens S7 PLCs, snap7 and S7comm, the mitigation list. Read in fullCISA, NSA, FBI, DOE and EPAaccessed 2026-12-02

Share this briefing

Know someone who owns this problem? Send it to them.

Related briefings

The briefing, in your inbox

Practitioner analysis of cyber and AI security news. No vendor noise.

How often

Every new briefing in one email, at 7am, or at 7am, 12:30pm and 6pm. Nothing is sent when nothing is new. Unsubscribe any time.