Executive Summary

We identified and analyzed Neural Override, a Python-based remote access Trojan (RAT) for Windows controlled through Telegram. The Trojan's code reveals an AI-powered autopilot that can execute attacks without attacker input. The code also reveals an undetermined capability to execute attacks against supervisory control and data acquisition (SCADA) systems through a separate module we have not yet found.

The malware uses the OpenRouter API to access large language models (LLMs) to analyze compromised systems. It then autonomously runs ransomware, distributed denial-of-service (DDoS) attacks, credential theft, persistence routines and SCADA commands based on the AI's recommendations.

We tracked five successive builds of Neural Override over one month. During this time, the malware evolved from a basic eight-command Telegram bot to a 61-capability framework. The fastest jump, from 19 to 61 capabilities in under 24 hours, shows possible signs of AI-assisted code generation.

The SCADA component calls an external Python module named scada_commander.py that has not yet been discovered in the wild. 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.

Neural Override works as a RAT and can do real damage. The ransomware encrypts files, the persistence sticks, the credential theft hits the right database and the DDoS floods traffic. Around two-thirds of the codebase, however, consists of functions that either do nothing beyond sending a status message or hand everything off to the LLM at runtime. If the malware author could more successfully integrate AI-assisted code generation, this could rapidly evolve and increase Neural Override’s capabilities.

Neural Override is a prime example of the risks reported in CISA advisory AA26-231A, which warns about actors using AI to generate exploitation scripts targeting programmable logic controllers (PLCs).

Palo Alto Networks customers are better protected from the threats discussed above through the following products and services:

Unit 42 Threat Intel Services is designed to provide organizations with tailored intelligence and direct access to our analysts to help assess relevant threats, prioritize risks and determine appropriate actions.

If you think you might have been compromised or have an urgent matter, contact the Unit 42 Incident Response team.

Related Unit 42 Topics LLM, SCADA, RAT

Technical Analysis

How the AI Implementation Works

Through a .py sample of Neural Override, we analyzed the version v9.2/v9.3 source code. Our analysis indicates that Neural Override's most notable feature is its autonomous attack loop, built around a command-and-control (C2) channel on Telegram and an LLM backend on OpenRouter.

The function autopilot_loop() runs as a background thread and fires every 300 seconds. Each cycle, it collects the host's system state (hostname, OS, IP address, running processes, disk usage). It sends this data to OpenRouter's free-tier API with a Ukrainian-language prompt asking the model to pick from a list of available attacks. It then returns a JSON-formatted plan.

The system prompt identifies itself as Neural Override v9.3 bot-helper and lists every available command, including scada_attack and apocalypse. The malware asked the model to "propose an optimal action plan for maximum damage/control."

The execute_plan() function iterates through the steps in the returned JSON data and calls each one through the same handle_command() dispatcher that processes manual Telegram commands.

Figure 1 shows the sample banner and Figure 2 shows the autopilot loop with its 300-second cycle, system information collection and LLM prompt construction.

Screenshot of a computer terminal displaying code for a project named 'BEURALE,' described as a neural override and auto dependency manager. The screen shows Python code related to various imports and functions, with some Cyrillic text included.
Figure 1. NEURAL OVERRIDE v9.3 – AUTO DEPENDENCY MANAGER banner.
Screenshot of a computer screen displaying code in a black command-line interface. The code is written in Python and includes functions for managing a system's autopilot mode, with operations like loading JSON data and executing commands. No specific names or well-known entities are visible.
Figure 2. The autopilot_loop() function that drives autonomous attack planning.

Figure 3 shows the init_local_ai() function in the Build 3 source, loading Microsoft's DialoGPT-medium (local_model_name = "microsoft/DialoGPT-medium") as a local fallback for command interpretation when the OpenRouter API is unavailable.

Screenshot of a code editor with Python code. The code appears to involve the initialization of a local AI model using libraries such as Transformers and Autocode. There are variabls and functions. There are comments in Russian and English, and some text strings.
Figure 3. The init_local_ai() function.

A second function, analyze_and_act(), works the same way as the init_local_ai() function, but runs once on demand rather than looping. Both paths use ask_ai(), which tries to load DialoGPT-medium locally first and falls back to OpenRouter if that fails.

Responses are cached by MD5 hash to avoid repeat API calls. As a consequence, when the autopilot is enabled, the attacker does not need to be present so the LLM picks what to do and the RAT does it.

Five Builds in One Month

We identified five builds by pivoting on the shared Telegram bot token. All five use the same bot token, operator chat ID and (from Build 2 onward) the same OpenRouter API key. No credentials were rotated across the entire development timeline. Table 1 shows the progression.

Build Date SHA-256 Hash Type Version Capabilities
1 2026-07-08 7eb8b6b1...e06e .pyc Pre-v3 8
2 2026-08-03 e7c63a71...1cd9 .pyc v3 19
3 2026-08-04 cee0bc69...75e0 .py v9.2/v9.3 61
4 2026-08-04 fb9abe62...67f1 .pyc v9 61
5 2026-08-04 bfaa12c5...367d PE v9.2 92 -> Full suite
6 2026-08-08 5138f443...9657 .pyc v3 (Regression to v3) 19

Table 1. Neural Override build timeline.

  • Build 1 is a straightforward Telegram bot with eight commands and no AI integration.
  • Build 2 adds the OpenRouter connection, the autopilot loop and 11 new capabilities.
  • Builds 3 and 4 show a notable leap forward. 42 new functions appear in a single batch, the version number jumps from v3 in Build 2 to v9 with these builds. There are no versions between v3 and v9, and the capability count triples.
  • Build 5, the v9.2 executable, packages the v9 codebase into a standalone 214 MB Windows binary with 92 command tokens. It’s bundled with a HuggingFace inference stack, anti-analysis gating and hard-coded tool download URLs. Its internal title is NEURAL OVERRIDE v9.2 - AI COMMANDER PLUS (FIXED).

Indications of LLM Usage for Writing This Malware

Build 3 is the only build we have available in Python script (.py file) rather than compiled Python bytecode (.pyc files). The Build 3 source code has several patterns that point to bulk LLM generation:

  • Duplicate stdlib imports: The socket, json, re, hashlib and random modules are each imported twice in separate import blocks. This duplication is more common in LLM-generated Python scripts when compared to human-generated scripts.
  • Self-improvement loop: The function evolve_bot() reads the RAT's own source code. It then sends the first 8,000 characters to the LLM with the prompt improve this code, add new functions, fix bugs (in Ukrainian). It then overwrites itself with whatever the model returns.
  • Stub functions: 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. 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. Another 13 functions delegate to the LLM at runtime, including polymorph_virus(), which asks the AI to write a polymorphic virus on the fly.

What Actually Works

Despite the bulk-generated stubs, several parts of Neural Override are functional and would perform malicious actions on a Windows host. The v9.2/v9.3 scripts fill in additional gaps by downloading their own tooling and adding capabilities that the .py source code only stubbed.

  • Ransomware: start_ransomware() generates an RSA-2048 key pair and creates a random 256-bit AES key. It then walks the user's home directory and encrypts files with extensions .db, .docx, .jpg, .pdf, .png, .pptx, .py, .txt, .xlsx and .zip. It wraps the AES key with the RSA public key using Optimal Asymmetric Encryption Padding (OAEP). The encrypted AES key is written to key.enc. The implementation uses proper initialization vector generation and PKCS7 padding. It also replaces the original files with .encrypted versions.
    • Verdict: This would work.
  • Persistence: install_persistence() sets up persistence through different characteristics:
    • Creating the HKCU\Software\Microsoft\Windows\CurrentVersion\Run\SystemHelper entry in the Windows Registry
    • Two scheduled tasks: SystemHelper (triggered at logon) and SystemHelperPeriodic (triggered every 30 minutes via schtasks)
    • A Windows service SystemHelper with automatic start
    • A copy of the Neural Override binary in the Windows startup menu's Startup folder as SystemHelper.exe and SystemHelper.py
    • Additional copies are placed in %SystemRoot%\System32\drivers\, %SystemRoot%\Temp\ and %SystemRoot%\System32\Tasks\ directories
    • A backup copy named SystemHelper_backup.py is stored in the corresponding $TEMP directory for self-restoration
    • Verdict: These would work.
  • Credential theft: get_chrome_passwords() targets the victim's Chrome Login Data SQLite database, queries the associated table and columns (origin_url, username_value, password_value) and sends the results over Telegram. It skips Data Protection API (DPAPI) decryption of the password blobs, so it exfiltrates the raw encrypted values rather than plaintext passwords.
    • Verdict: This would work.
  • Defender evasion: bypass_av() runs nine Set-MpPreference commands to disable real-time monitoring, behavior monitoring, script scanning, IOAV protection and other Windows Defender features. It also adds registry entries to suppress the Defender notifications.
    • Verdict: This would work.
  • Miscellaneous functions: These functions are standard implementations for DDoS attacks, cryptocurrency mining and reconnaissance for lateral movement, for instance:
    • start_ddos() floods a target with requests for the infected host to participate in DDoS attacks
    • start_miner() runs XMRig (Monero) for cryptocurrency mining
    • spread() scans for SMB hosts with nmap for lateral movement
    • Verdict: These would work.

Characteristics of the Attacker

The Telegram bot token led to a bot with the designator @Skibidi_16_bot. This bot has a display name of Pomoshnik, which is Russian for helper.

Identified through passive Telegram bot API queries, the bot's operator account is @Xakmee with the display name XD. This operator account is linked to a channel named @Vsom_Cheat_Crark_Meln with no visible posts. Searches across developer platforms, underground forums, gaming services and general web sources returned no results for this account.

The Telegram webhook points to manybot[.]io, a consumer bot-building service. This means that the operator uses a drag-and-drop bot platform alongside the RAT's own polling loop.

No specific target is hard coded anywhere in the Neural Override samples or attack infrastructure. The nmap scans all use 192.168.1[.]0/24 as the target IP address block, which is a generic placeholder value. API keys for different services are empty strings. The URL used for the BIOS infection uses a placeholder domain value (your-c2[.]com). The Monero payment address is truncated and non-functional.

The Skibidi string in the bot's name is a term used in internet meme culture. While the display name Pomoshnik is Russian, the code's user-facing strings are all Ukrainian. This could reflect a bilingual author or just a name chosen for the bot without much thought.

The OpenRouter API key (redacted: sk-or-v1-d72076961[REDACTED]) is valid and returns access to 417 models. The malware only uses the free tier.

SCADA Attack Function

Organizations should watch for outbound connections to both api.telegram[.]org and openrouter[.]ai from the same host, particularly from a Python process. Neither service has a legitimate role on most operational technology (OT) networks and devices.

A Windows Registry Run key, scheduled tasks and a Windows service all named SystemHelper pointing to a Python script is a situation worth investigating.

The SCADA module invocation, shown in Figure 4 (python scada_commander.py --command shutdown), is another specific string to hunt for in process creation logs.

We did not find a sample of scada_commander.py in the wild, and therefore could not evaluate its functionality.

Screenshot of a code snippet showing a Python function. It uses a try-except block to run a command for shutting down a SCADA system and sends a message indicating success with a lightning bolt emoji. If unsuccessful, an error message is sent with a red cross emoji. The comments in the code are in a non-English language.
Figure 4. scada_attack() function.

Conclusion

Neural Override is a working RAT with multiple capabilities, wrapped in a lot of AI-generated noise and non-functional code. While many of the capabilities work as expected, half of the codebase consists of stubs that crash for functions that delegate everything to the LLM at runtime.

The development pattern tells the more interesting story. Our analysis of the samples suggests a single operator likely built a basic Telegram bot. They then plugged in an LLM API and asked the AI to expand the codebase. After they watched it triple overnight, the operator rolled it back four days later when the expanded version proved unreliable.

The evolve_bot() function shows that the RAT asks the AI to rewrite itself. Even if malware is not fully functional, it still poses a security risk. With LLM assistance, it could eventually become fully functional.

The SCADA task is still unknown. Neural Override contains the framework, and the AI autopilot can select it, but we have not yet discovered the protocol module that would talk to industrial devices.

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.

Palo Alto Networks customers are better protected from the threats discussed above through the following products:

  • The Advanced WildFire machine-learning models and analysis techniques have been reviewed and updated in light of the indicators shared in this research.
  • Cortex Agentic Endpoint Security is designed to help discover every AI artifact and AI agent's activity across the agentic endpoint, assess its risk, enforce prevention and runtime controls and remediate violations.
  • Cortex XDR and XSIAM can help prevent threats discussed in this article by employing an advanced, on-device Small Language Model (SLM) for real-time semantic code comprehension. Trained on hundreds of millions of scripts and malicious packages, the model runs locally on standard enterprise CPUs to detect and block malicious Python scripts directly on the endpoint, ensuring no sensitive code or data leaves the machine.
  • Device Security is designed to proactively protect the specialized device attack surface of operational environments, providing deep visibility into industrial protocols, actionable risk insights and adaptive security enforcement across all OT and IoT assets.
  • Idira Endpoint Privilege Manager (EPM) can help enable enterprises to reduce risk, satisfy compliance and streamline operations. It helps implement least privilege via policy-driven elevation and removal of standing admin rights. It blocks risky actions such as executing unvetted applications and accessing the memory of other processes, while providing audit-ready evidence and unified identity governance.
  • Idira Secure Infrastructure Access (SIA) can help enforce zero standing privileges (ZSP) through just-in-time (JIT) provisioning, which grants temporary, tightly scoped access only as needed. Backed by continuous session recording and real-time command monitoring, SIA can detect high-risk actions before an attacker compromises critical systems.

Unit 42 Threat Intel Services is designed to provide organizations with tailored intelligence and direct access to our analysts to help assess relevant threats, prioritize risks and determine appropriate actions.

If you think you may have been compromised or have an urgent matter, get in touch with the Unit 42 Incident Response team or call:

  • North America: Toll Free: +1 (866) 486-4842 (866.4.UNIT42)
  • UK: +44.20.3743.3660
  • Europe and Middle East: +31.20.299.3130
  • Asia: +65.6983.8730
  • Japan: +81.50.1790.0200
  • Australia: +61.2.4062.7950
  • India: 000 800 050 45107
  • South Korea: +82.080.467.8774

Palo Alto Networks has shared these findings with our fellow Cyber Threat Alliance (CTA) members. CTA members use this intelligence to rapidly deploy protections to their customers and to systematically disrupt malicious cyber actors. Learn more about the Cyber Threat Alliance.

Indicators of Compromise

Neural Override RAT Family:

SHA-256 hash: 7eb8b6b1b5934a5f1011320c27a25e30d69c76a8a338a42b74eeccb04080e06e
File size: 59,843 bytes
File type: Python 3.13 bytecode (.pyc)
Filename: [NEEDS CONFIRMATION]
File description: Neural Override Build 1, minimal Telegram bot, eight capabilities, no AI integration

SHA-256 hash: e7c63a717539e2c78a1600dbb69ce0c48d9707832c8a747e9d211a6a711b1cd9
File size: 57,727 bytes
File type: Python 3.13 bytecode (.pyc)
Filename: neural_override_v3.py
File description: Neural Override Build 2, adds OpenRouter AI, autopilot loop, 19 capabilities

SHA-256 hash: cee0bc699073dbcf97b68e05110a29503b844748bcd2492cbae0f6882a3775e0
File size: 79,887 bytes
File type: Python script (UTF-8)
Filename: neural_override_v9.2.py / neural_override_v9.3.py
File description: Neural Override Build 3, Python source, capability explosion to 61 functions

SHA-256 hash: fb9abe6285fc0152b35673b36a5fbf1893bf8592fac7e352357ab4bdeccd67f1
File size: 127,373 bytes
File type: Python 3.13 bytecode (.pyc)
Filename: neural_override_v9.py
File description: Neural Override Build 4, compiled v9, largest build

SHA256 hash: bfaa12c5196123fd159b631a08fb126b55cdd1a8236fe6d19f5c66530360367d
File size: 214,234,082 bytes
File type: PE32+ executable (GUI) x86-64, for MS Windows
Filename: NeuralOverride.exe
File description: Neural Override Build 5 (v9.2), PyInstaller 6.x onefile executable bundling Python 3.14, theHuggingFace inference stack for offline AI-assisted command processing, 92 command tokens. Full Suite

SHA-256 hash: 5138f443dfd519c77adcfc1f86821cd1821a558e3e2c5a09b9cc6aab84639657
File size: 55,729 bytes
File type: Python 3.13 bytecode (.pyc)
Filename: neural_override_v3.py
File description: Neural Override Build 6, deliberate rollback to v3 capability set, 19 functions

Network Indicators:

Telegram bot: @Skibidi_16_bot (Bot ID: 7122631458)
Telegram bot token: 7122631458:AAG9EWA4[REDACTED]
Telegram operator CHAT_ID: 5841362765
Telegram operator account: @Xakmee (display name XD)
Telegram operator channel: @Vsom_Cheat_Crark_Meln
Telegram webhook: manybot[.]io/webhook/7122631458/...
LLM endpoint: openrouter[.]ai/api/v1/chat/completions
LLM API key: sk-or-v1-d72076961[REDACTED]
LLM account ID: user_3CD8sdjJ7nNeLOGEDUrLU8B52WF
LLM model: openrouter/free (free tier)
Modbus port scan target: 192.168.1[.]0/24 (generic placeholder value)

Host Indicators:

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

Additional Resources

Back to top