ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial5 min readDisconfirmAI Editorial

Unit 42: AI-Powered Remote Access Trojan Neural Override Has a Working Core Wrapped in Two-Thirds Non-Functional Stubs

Unit 42 researchers analyzed Neural Override, a Python RAT that uses OpenRouter LLMs for autonomous attack planning via a 300-second autopilot loop. Their forensic review of six builds found that while ransomware, persistence, credential theft and DDoS functions work correctly, roughly two-thirds of the 61 capabilities are stubs or runtime LLM delegations, the referenced SCADA module has not been found in the wild, and an evolve_bot() function rewrites the malware's own source using the LLM.

2026-12-02 23:00 GMT+8

Unit 42 researchers Asher Davila, Chris Navarrete and Doel Santos published a forensic analysis of Neural Override, a Python-based remote access Trojan for Windows that uses Telegram for command-and-control and the OpenRouter API to access large language models for autonomous attack planning. The central finding is a gap between the malware's apparent breadth and its actual operational capability.

The malware's autopilot_loop() function runs as a background thread every 300 seconds. Each cycle collects the compromised host's system state—hostname, operating system, IP address, running processes, disk usage—and sends this data to OpenRouter's free-tier API with a Ukrainian-language prompt asking the model to select from a list of available attacks and return a JSON-formatted action plan. The execute_plan() function then iterates through the returned steps and dispatches each one through the same handle_command() function that processes manual Telegram commands. When autopilot is enabled, the attacker does not need to be present; the LLM picks what to do and the RAT does it.

A second function, evolve_bot(), reads the malware's own source code, sends the first 8,000 characters to the LLM with a prompt meaning "improve this code, add new functions, fix bugs" in Ukrainian, then overwrites itself with whatever the model returns. The source describes this function as part of the codebase but does not establish it as the specific cause of the capability jump observed across builds.

Sign in / Sign up
ReadingResearchRadarInvestment framework

The build timeline tells a specific story. Six builds were tracked over roughly one month, all sharing the same Telegram bot token (@Skibidi_16_bot, display name "Pomoshnik"), the same operator account (@Xakmee), and from Build 2 onward the same OpenRouter API key. No credentials were rotated. Build 1 (July 8) was a basic Telegram bot with eight commands and no AI integration. Build 2 (August 3) added the OpenRouter connection, the autopilot loop, and 11 new capabilities for a total of 19. Builds 3 and 4 (both August 4) saw 42 new functions appear in a single batch, the version number jumping from v3 to v9 with no intermediate versions, and the capability count tripling to 61. Build 5 packaged the v9 codebase into a 214 MB standalone Windows binary with 92 command tokens and a bundled HuggingFace inference stack. Build 6 (August 8) deliberately rolled back to the v3 capability set of 19 functions.

The fastest jump, from 19 to 61 capabilities in under 24 hours, is what Unit 42 identifies as showing possible signs of AI-assisted code generation. The evidence includes duplicate standard library imports (socket, json, re, hashlib and random each imported twice in separate blocks), a pattern more common in LLM-generated Python than human-written code. Function names like quantum_c2(), drone_hack() and zigbee_hack() indicate capabilities far beyond what the rest of the code demonstrates; they read like LLM-generated answers to a prompt such as "What else could this malware do?" The author does not appear to have actually built out functions to match these names.

Of the 61 capabilities in v9, roughly 27 are stubs that either call send_msg() with a status string and return, or ask the AI to generate code at runtime. Another 13 functions delegate entirely to the LLM, including polymorph_virus(), which asks the model to write a polymorphic virus on the fly. The authors estimate that around two-thirds of the codebase consists of functions that either do nothing beyond sending a status message or hand everything off to the LLM at runtime.

What actually works is narrower but real. The ransomware function start_ransomware() generates an RSA-2048 key pair, creates a random 256-bit AES key, walks the user's home directory encrypting files with extensions .db, .docx, .jpg, .pdf, .png, .pptx, .py, .txt, .xlsx and .zip, wraps the AES key with the RSA public key using OAEP padding, writes the encrypted key to key.enc, and replaces originals with .encrypted versions. The implementation uses proper initialization vector generation and PKCS7 padding. Persistence installs through a Registry Run key, two scheduled tasks, a Windows service, and copies in the startup folder and System32 directories, all named SystemHelper. Credential theft queries Chrome's Login Data SQLite database for origin_url, username_value and password_value columns, skipping DPAPI decryption so it exfiltrates raw encrypted values rather than plaintext passwords. Defender evasion runs nine Set-MpPreference commands to disable real-time monitoring, behavior monitoring, script scanning and IOAV protection. DDoS, cryptocurrency mining via XMRig, and SMB reconnaissance via nmap are standard implementations that would function.

The SCADA component is the most consequential unknown. The malware calls an external Python module named scada_commander.py with a command-line invocation like "python scada_commander.py --command shutdown." Unit 42 did not find this module in the wild and therefore could not evaluate its functionality. The framework to trigger SCADA attacks exists within the accessed files, but the protocol-level code to communicate with industrial control systems has not been discovered. The authors note this connects to CISA advisory AA26-231A, which warns about actors using AI to generate exploitation scripts targeting programmable logic controllers.

For defenders, the combination of outbound connections to both api.telegram.org and openrouter.ai from the same host, particularly from a Python process, is a distinctive detection pattern. Neither service has a legitimate role on most operational technology networks. A Windows Registry Run key, scheduled tasks and a Windows service all named SystemHelper pointing to a Python script warrant investigation. The SCADA module invocation string is another specific indicator for process creation logs.

The authors' conclusion is measured: Neural Override is a working RAT with multiple capabilities, wrapped in a lot of AI-generated noise and non-functional code. The development pattern suggests a single operator likely built a basic Telegram bot, plugged in an LLM API and asked the AI to expand the codebase. After watching the capability count triple overnight, the operator rolled it back four days later when the expanded version proved unreliable. Even if the malware is not fully functional, the evolve_bot() mechanism means it could eventually become so with LLM assistance. The SCADA task remains unknown.

Sources

  • unit42.paloaltonetworks.comUnit 42↗
Continue researching →