# Neural Override: a Telegram RAT asks an LLM for its next attack step

> Neural Override is a Windows remote access trojan that asks a language model for its next move, then runs the plan it gets back.

- **Severity:** Info: Research, tools, evals or lab claims with no direct exposure. Context, not an alert.
- **Category:** Research, Attack
- **Published by:** Unit 42
- **Disclosed:** 2026-12-02
- **Affects:** Microsoft Windows, Google Chrome
- **Research by:** Asher Davila, Chris Navarrete, Doel Santos
- **Primary source:** https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/
- **Page:** https://theinjection.dev/items/unit42-neural-override-rat/

Neural Override is a Python remote access trojan that calls the OpenRouter API every 300 seconds for an attack plan and runs the steps it gets back. Unit 42 tracked five builds and reports the code also rewrites itself with model output.

## What happened

Unit 42 published its analysis of Neural Override on 2 December 2026. Asher Davila, Chris Navarrete and Doel Santos tracked five builds over about one month, during which the Python source grew from 8 capabilities to 61, before a sixth build rolled back to 19. A later Windows executable, build 5, is 214 MB and carries 92 command tokens.

## How it works

An autopilot loop drives the malware. The autopilot_loop() function fires every 300 seconds, sends host details such as hostname, operating system, IP address, running processes and disk usage to the OpenRouter API, and feeds the returned steps into the same handler that serves manual Telegram commands. A second function, evolve_bot(), sends the malware's own source code to the model and overwrites itself with the reply. Build 3 added Microsoft's DialoGPT-medium as a local fallback for command interpretation when OpenRouter is unavailable.

## Who is affected

Windows hosts are the target, and Unit 42 judged the ransomware, persistence, Chrome credential theft and Defender evasion routines to be working code. Much of the rest is unfinished: among the 61 capabilities, Unit 42 counts roughly 27 stubs and 13 functions it hands to the model. Unit 42 names no victim organisation and reports no victim count.

## What to do

Alert when one host reaches both api.telegram.org and openrouter.ai, which Unit 42 says have no legitimate role on most OT networks, and treat a Python process doing so as the stronger signal. Then hunt the persistence names and the process-creation string listed below, and watch for an autorun.inf pointing at SystemHelper.py, which Unit 42 reads as USB spreading.

## Quick facts

- **Attack type:** LLM-driven autopilot loop with Telegram command and control
- **LLM access:** OpenRouter API chat completions endpoint, free-tier model openrouter/free, with Microsoft DialoGPT-medium as a local fallback in build 3
- **Persistence:** SystemHelper Run key under HKCU, SystemHelper and SystemHelperPeriodic scheduled tasks, a SystemHelper service, and copies named SystemHelper.py or SystemHelper.exe
- **Hunt for:** Process creation containing python scada_commander.py --command shutdown
- **Builds analysed:** Five over about one month, from 8 to 61 capabilities, plus a sixth that rolled back to 19
- **Found by:** Asher Davila, Chris Navarrete and Doel Santos of Unit 42
- **Disclosed:** 2 December 2026

## Questions

### Does Neural Override actually attack SCADA systems?

Unit 42 found a SCADA attack function in Neural Override that calls an external module named scada_commander.py, but the module was not recovered and Unit 42 reports finding no protocol code for talking to industrial control systems. The Modbus scan range in the sample, 192.168.1.0/24, is described as a generic placeholder rather than a real target network.

### Which parts of Neural Override work today?

Unit 42 judged four routines to be functional: ransomware across 10 file extensions, persistence, Chrome credential theft and Microsoft Defender evasion through nine Set-MpPreference commands. The credential theft exfiltrates encrypted values without decrypting them through DPAPI. Unit 42 also lists DDoS, XMRig cryptomining and nmap-based SMB reconnaissance among the capabilities the author claimed.

### How can a defender spot the LLM traffic?

Unit 42 recommends alerting when a single host connects to both api.telegram.org and openrouter.ai, particularly from a Python process, and says neither service has a legitimate role on most OT networks. Because the autopilot loop contacts OpenRouter every 300 seconds, the traffic pattern is regular and repeating rather than a single burst.

### How does Unit 42 know the code was generated by a model?

Unit 42 points to signs of bulk LLM code generation inside Neural Override: duplicate imports, a large number of stub functions, and a sudden jump in capability count. The report states the build went from 19 to 61 capabilities in under 24 hours, which it treats as evidence of machine-written rather than hand-written development.

## Sources

1. [Unit 42 Analysis](https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
2. [Agentic AI Attacks](https://unit42.paloaltonetworks.com/autonomous-ai-agent-threat-campaigns/)
