Cyber News Unit 42 4 hours ago

Neural Override: The Evolution of a Python RAT That Uses AI to Plan Its Own Attacks and Target SCADA Systems

CN
CyberNew Threat Research Desk
• Original Reporting: Unit 42
CyberNew Threat Intel Assessment
Assessed Severity: MEDIUM
Impacted Surface
Client Endpoints & Operating Systems
Intelligence Sector
Cyber News

Analyst Takeaway

"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..."

Recommended Defense & Mitigation

  • Threat Monitoring: Ingest published IOCs into SIEM/EDR detection rules for continuous telemetry monitoring.
  • Security Awareness: Alert staff and maintain baseline endpoint hardening across endpoints.
Curated & Verified by CyberNew Threat Intelligence Desk Standard Defense Framework (NIST / MITRE ATT&CK)

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.

Figure 1. NEURAL OVERRIDE v9.3 – AUTO DEPENDENCY MANAGER banner.
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

Source Verification & Original Intelligence

This threat report was reviewed by CyberNew analysts and cross-referenced with primary security disclosures from Unit 42.

Primary Advisory →