Key facts
- Neural Override uses the OpenRouter API to query large language models for analyzing compromised systems and automating attacks.
- The autopilot loop function in Neural Override executes every 300 seconds to gather host state information and query an LLM for attack plans.
- Neural Override incorporates a separate SCADA module reference called scada_commander.py, though protocol-level code for industrial systems was missing.
- Unit 42 researchers noted that Neural Override exhibits similarities to threats detailed in CISA advisory AA26-231A regarding AI-generated PLC exploitation scripts.
Unit 42 identified Neural Override, a remote access Trojan built in Python for Windows machines and controlled through Telegram, on Dec. 2. Unit 42 said the malware queries large language models through the OpenRouter API to analyze compromised systems and automate attacks. A remote access Trojan lets an attacker control a machine from afar, while a large language model is an AI that writes text and code.
“We identified and analyzed Neural Override, a Python-based remote access Trojan (RAT) for Windows controlled through Telegram.” – Unit 42.
Unit 42 researchers said they traced five successive Neural Override builds across one month as capabilities expanded. Build 1 started as a simple Telegram bot offering eight commands with no AI integration. Build 2 added OpenRouter access and an autonomous loop, with 11 additional capabilities bringing the total to 19, the first version to combine AI-driven automation with the Telegram bot. Builds 3 and 4 added 42 new functions in a single batch, moving from v3 to v9 and tripling the capability count, with no intermediate versions between them.
Unit 42 said Build 5 turned the v9 codebase into a 214 MB Windows executable with 92 command tokens, hard-coded download URLs, anti-analysis gating, and a HuggingFace inference stack, under an internal title of NEURAL OVERRIDE v9.2 – AI COMMANDER PLUS (FIXED). Build 6 cut back to 19 functions from the v3 capability set, Unit 42 said, a deliberate rollback after the expanded version proved unreliable.
A single operator started with a basic Telegram bot, connected a large-language-model API, saw the codebase triple overnight, and rolled back four days later because the expanded version proved unreliable, Unit 42’s analysis found. Unit 42 described it as fast AI-assisted development followed by operational rejection.
The autopilot loop runs every 300 seconds, gathering disk usage, running processes, IP address, operating system, and hostname from the host before asking a large language model for attack plans, Unit 42 said. The loop sends the host state to OpenRouter’s free-tier API through a Ukrainian-language prompt that asks the model to choose attacks, and the model returns a JSON attack plan. The execute_plan function runs the returned JSON steps through handle_command, the same dispatcher used for manual Telegram commands, so the AI can operate the RAT without human input on each cycle.
The system prompt calls itself the Neural Override v9.3 bot-helper and lists commands such as scada_attack and apocalypse, Unit 42 said. Build 3’s init_local_ai function loads Microsoft‘s DialoGPT-medium on the local machine as a fallback if OpenRouter is unavailable, and the analyze_and_act function runs the same AI path a single time on demand instead of repeating the loop every 300 seconds. Each path uses ask_ai, which first tries DialoGPT on the local machine and then falls back to OpenRouter.
The malware stores AI responses using MD5 hashing so it does not repeat API calls, Unit 42 said. Every one of the five builds uses a single Telegram bot token and one operator chat ID, and Builds 2 through 5 use one OpenRouter API key, with no rotation of credentials across the development timeline. Without that caching, the autopilot would need the attacker present, Unit 42 said.
Only Build 3 exists as a Python script and the rest are compiled bytecode, Unit 42 said. Its source duplicates imports of re, hashlib, random, socket, and json in separate blocks, a pattern tied to bulk large-language-model generation and more common in LLM-written code than human-written code. Having the script let researchers inspect its import patterns for signs of AI generation.
The evolve_bot function reads the RAT’s own source code and sends the first 8,000 characters to the model, Unit 42 said. Using a Ukrainian-language prompt, it asks the model to improve the code, fix bugs, and add functions, then replaces its own code with the model’s output. The researchers said that loop means malware that does not work yet still poses a risk, since it could become fully functional with large-language-model assistance. In version 9, roughly 27 of the 61 capabilities are stubs: each either sends a status message or generates code at runtime by asking the AI.
Function names such as quantum_c2, drone_hack, and zigbee_hack look like large-language-model-generated suggestions instead of implemented capabilities, Unit 42 said. The names read like answers to a prompt asking what more the malware might do. 13 functions hand off to the large-language model at runtime, including polymorph_virus, which asks the AI to produce a polymorphic virus on the fly; a polymorphic virus is malware that changes its own code to evade detection. At runtime, they depend entirely on AI output.
The ransomware function makes an RSA-2048 key pair and a random AES key of 256 bits, then encrypts files in the user’s home directory carrying extensions including .zip, .xlsx, .pptx, .txt, .py, .png, .pdf, .jpg, .docx, and .db, Unit 42 said. The routine wraps the AES key using the RSA public key and OAEP, writes the encrypted key to key.enc, applies initialization vector generation and PKCS7 padding, and replaces originals with .encrypted versions. Unit 42’s verdict is that this implementation would work. That points to a working encryption routine on a Windows host.
The persistence function places copies in the Startup folder and multiple System32 directories, sets up two scheduled tasks, and creates both a Registry Run entry and a Windows service named SystemHelper; $TEMP holds a backup copy for self-restoration, Unit 42 said. Unit 42’s verdict is that these mechanisms would work. The credential theft function pulls origin_url, username_value, and password_value from Chrome’s Login Data SQLite database and sends results over Telegram without DPAPI decryption, and Unit 42 said that would work too.
The defender evasion function disables behavior monitoring, script scanning, IOAV protection, Windows Defender real-time monitoring, and other features by running nine Set-MpPreference commands, and it adds registry entries to suppress notifications, Unit 42 said. Miscellaneous functions include start_ddos flooding targets, start_miner running XMRig cryptocurrency mining, and spread scanning SMB hosts using nmap; nmap is a network scanning tool, SMB is a file-sharing protocol, and XMRig is cryptocurrency mining software. Unit 42 said all three would work.
The Telegram bot @Skibidi_16_bot bears the display name Pomoshnik, a Russian word meaning helper, Unit 42 said. The operator account @Xakmee, display name XD, links to the channel @Vsom_Cheat_Crark_Meln, which has no visible posts.
The Telegram webhook points to manybot[.]io, showing the operator pairs a consumer drag-and-drop bot platform with the RAT’s own polling loop, combining a commercial bot builder with custom malware code, Unit 42 said. The samples and attack infrastructure contain no specific target, and nmap scanning targets 192.168.1[.]0/24, a generic placeholder. API keys are empty strings; your-c2[.]com is the BIOS infection URL; the Monero payment address is truncated and cannot work.
Internet meme culture is referenced by the Skibidi string, while all user-facing strings in the code are Ukrainian, even though its display name Pomoshnik is Russian and possibly reflects a bilingual author, Unit 42 said.
Neural Override resembles threats described in CISA advisory AA26-231A, which covers AI-generated PLC exploitation scripts, Unit 42 researchers said. A PLC, or programmable logic controller, is an industrial computer that controls machinery.
Neural Override references a separate SCADA module called scada_commander.py with no protocol-level code for industrial systems present, Unit 42 said. SCADA systems are the supervisory control and data acquisition networks that run industrial processes. Investigators should search process logs for python scada_commander.py –command shutdown, an indicator that the SCADA module was invoked. Unit 42 said no sample of scada_commander.py was found in the wild, so it could not evaluate the functionality; the SCADA task remains unknown; the framework is there and the autopilot can select it, but no protocol module for industrial devices has been discovered.
Organizations should look for outbound connections from the same host to api.telegram[.]org and openrouter[.]ai, especially from a Python process, since neither service plays a legitimate role on most operational technology networks, Unit 42 said. Unit 42 said Telegram command-and-control paired with large-language-model API calls from the same host is a distinctive pattern for detection rules, especially on networks close to operational technology. Investigators should look for a Windows service named SystemHelper, scheduled tasks, and a Windows Registry Run key named SystemHelper, each pointing to a Python script, an artifact cluster showing Neural Override persistence on a host.
The codebase is roughly half stubs that crash when they delegate every task to the large-language model at runtime, though many capabilities work as expected, Unit 42 said. The code works, but it is wrapped in noise and non-functional code generated by AI, the researchers said. The author faces a lower bar for future improvement, the researchers said. The findings were shared with Cyber Threat Alliance members by Palo Alto Networks; the members use that intelligence to deploy protections and to disrupt malicious cyber actors, Unit 42 said.
The reach of the detection mitigations extends past a single vendor, Unit 42 said.

Join the discussion