Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A terminal screenshot from Unit 42's analysis showing the start of the Neural Override Build 3 source file: a large block-letter banner, the line "NEURAL OVERRIDE v9.3 - AUTO DEPENDENCY MANAGER," two lines of Ukrainian text and a long list of Python imports, including cryptography, scapy, nmap, paramiko and pyautogui.
Image: Unit 42, Palo Alto Networks (screenshot, fair use), "Neural Override: The Evolution of a Python RAT That Uses AI to Plan Its Own Attacks and Target SCADA Systems," December 2, 2026. Figure 1, the Neural Override v9.3 banner.

Threat Intel

A Python RAT Run Over Telegram Asks a Free AI Model Every Five Minutes How to Do "Maximum Damage," and Carries a Hook for Shutting Down SCADA Systems, Unit 42 Says

Unit 42 traced a Windows remote access trojan called Neural Override from an eight-command Telegram bot in July to a 61-capability framework that lets a large language model choose its next attack. Much of the code is AI-written filler, but the ransomware, persistence, credential theft and Defender tampering work, and the researchers say the pairing of Telegram and AI API traffic on one host is a pattern worth a detection rule.

Priya Shah, Threat IntelSingapore5 min read

SANTA CLARA - A Windows remote access trojan controlled through Telegram can hand its next move to a large language model, sending the infected machine's details to a free AI service every five minutes and carrying out whatever plan comes back, from ransomware to denial-of-service floods, researchers at Palo Alto Networks' Unit 42 said in an analysis published Wednesday.

The malware, which its author calls Neural Override, also contains a function meant to shut down supervisory control and data acquisition systems by calling a separate Python module, scada_commander.py. Unit 42 said it has not found that module in the wild, so the code that would actually talk to industrial controllers remains unknown. "The framework to trigger SCADA attacks exists within the files we accessed, but the protocol-level code to communicate with industrial control systems (ICS) hasn't been found," the researchers wrote.

The report, by Asher Davila, Chris Navarrete and Doel Santos, is less a story about a sophisticated threat than about how quickly a single operator with an AI subscription can bolt capabilities onto a crude tool, and how much of the result is noise.

An autopilot on a five-minute timer

The core of the malware is a function named autopilot_loop(). It runs as a background thread and fires every 300 seconds, collecting the host name, operating system, IP address, running processes and disk usage. It sends that state to OpenRouter's free-tier API with a Ukrainian-language prompt asking the model to pick from a list of available attacks, and gets back a plan in JSON.

The system prompt names the bot as a Neural Override helper, lists every command, including scada_attack and one called apocalypse, and asks the model to "propose an optimal action plan for maximum damage/control," according to Unit 42. A second function, execute_plan(), feeds each step of the plan into the same dispatcher that handles commands the operator types into Telegram. With the autopilot on, the researchers noted, the attacker does not need to be present.

A screenshot from Unit 42's analysis of the autopilot_loop() function in Neural Override: while autopilot is enabled it gathers the system state, builds a Ukrainian-language prompt listing actions such as encrypt, ddos, spread, steal, mine, persist and apocalypse, asks the AI for a JSON plan and passes the first command to handle_command().
Image: Unit 42, Palo Alto Networks (screenshot, fair use), December 2, 2026. Figure 2, the autopilot_loop() function.

When OpenRouter is unavailable, a fallback loads Microsoft's DialoGPT-medium model locally to interpret commands. Responses are cached by MD5 hash to avoid repeat API calls.

From 8 commands to 61 overnight

Unit 42 linked the builds by pivoting on a shared Telegram bot token. Every build uses the same token and operator chat ID, and from the second build on the same OpenRouter API key, which the researchers said was never rotated. The first build, dated July 8, 2026, was a plain Telegram bot with eight commands and no AI. A build dated August 3 added the OpenRouter connection and the autopilot loop, for 19 capabilities. On August 4 the version number jumped from v3 to v9 and the capability count rose to 61, a leap Unit 42 said "shows possible signs of AI-assisted code generation." A compiled Windows executable from the same day weighs 214 MB and bundles a Hugging Face inference stack.

The Python source carries tells of bulk generation, the researchers wrote: standard library modules imported twice, and a function called evolve_bot() that sends the first 8,000 characters of the RAT's own code to the model with a request, in Ukrainian, to improve it and add new functions, then overwrites itself with the reply. Roughly 27 of the 61 capabilities are stubs, with names such as quantum_c2(), drone_hack() and zigbee_hack(), and another 13 simply ask the model to write code at run time. On August 8 a new build appeared that rolled the malware back to the 19-function v3 set, which Unit 42 read as a sign the expanded version proved unreliable.

A screenshot from Unit 42's analysis of the init_local_ai() and ask_ai() functions in Neural Override, which load a local text-generation model through the Hugging Face transformers library, cache AI responses by MD5 hash and build a system prompt that describes the bot as a Neural Override v9.3 helper.
Image: Unit 42, Palo Alto Networks (screenshot, fair use), December 2, 2026. Figure 3, the init_local_ai() function.

What actually works

The filler should not reassure defenders. Unit 42 tested the functional pieces and gave each the same verdict: it would work. The ransomware generates an RSA-2048 key pair and a random 256-bit AES key, encrypts documents, images, databases, Python files and archives in the user's home directory, renames them with an .encrypted extension and writes the wrapped key to key.enc. The persistence routine installs a Run key, two scheduled tasks, a Windows service and copies in the Startup folder and System32, all named SystemHelper. A credential function queries Chrome's Login Data database and sends the saved logins over Telegram, with the password values still encrypted. A Defender routine runs nine Set-MpPreference commands to switch off real-time, behavior and script scanning. The kit also includes a DDoS flood, an XMRig miner and an nmap scan for SMB hosts.

Unit 42 found no hard-coded target. The nmap scans use a placeholder 192.168.1.0/24 range, several API keys are empty and the Monero address is truncated. The bot, @Skibidi_16_bot, uses the display name Pomoshnik, Russian for helper, while every user-facing string in the code is Ukrainian; the operator account is @Xakmee. The researchers tied the malware to CISA advisory AA26-231A, which warns of actors using AI to write exploitation scripts for programmable logic controllers.

A screenshot from Unit 42's analysis of the scada_attack() function in Neural Override, which runs the command "python scada_commander.py --command shutdown" and reports success or failure to the operator in Ukrainian.
Image: Unit 42, Palo Alto Networks (screenshot, fair use), December 2, 2026. Figure 4, the scada_attack() function.

What to hunt for

  • Outbound connections to both api.telegram.org and openrouter.ai from the same host, especially from a Python process. Unit 42 said "Neither service has a legitimate role on most operational technology (OT) networks and devices."
  • A Run key, scheduled tasks named SystemHelper and SystemHelperPeriodic, and a Windows service, all named SystemHelper and pointing to a Python script or SystemHelper.exe, including a copy in C:\Windows\System32 and an autorun.inf on USB drives.
  • The process command line python scada_commander.py --command shutdown, and any Set-MpPreference burst that disables real-time and behavior monitoring.
  • Files renamed to .encrypted alongside a key.enc file in a user profile.
  • The six SHA-256 hashes, the bot ID 7122631458, the operator chat ID 5841362765 and the manybot.io webhook that Unit 42 publishes in its indicators section.

The researchers' broader warning is that the gap between the stubs and the working code is a function of the author's skill with AI, not a ceiling. "The combination of Telegram C2 and LLM API calls from the same host is a distinctive pattern worth adding to detection rules, particularly on networks anywhere near operational technology," they wrote.

About the Author

Priya Shah

Priya Shah covers threat intelligence, intrusion analysis, and adversary tradecraft for SOCtember from Singapore.

Related stories

Threat Intel desk