Unit 42 researchers have discovered and analyzed Neural Override, a novel Python-based Remote Access Trojan (RAT) designed for Microsoft Windows systems. This malware represents a significant evolution in automated threats by integrating a Large Language Model (LLM) via the OpenRouter API to autonomously select and execute attacks. Controlled through the Telegram messaging platform, Neural Override can deploy ransomware, launch DDoS attacks, steal credentials, and establish persistence. Most concerning is the presence of a framework designed to attack Supervisory Control and Data Acquisition (SCADA) systems, indicating a clear intent to target Operational Technology (OT) and Industrial Control Systems (ICS). Although the SCADA module's protocol-level code is not yet present, its framework highlights the emerging risk of AI-driven attacks against critical infrastructure, as warned by CISA.
Neural Override is a multi-capability RAT that leverages artificial intelligence to function as an autonomous weapon system. Its core functionality is built around three components: a Telegram bot for command and control (C2), the OpenRouter API to access various LLMs for decision-making, and a suite of malicious Python scripts for execution on the victim's machine.
The malware's autopilot_loop() function periodically collects system information (hostname, OS, IP, running processes) from a compromised host. This data is sent to an LLM with a prompt asking it to devise an "optimal action plan for maximum damage/control" from a list of 61 available commands. The LLM returns a JSON-formatted attack plan, which the RAT then executes automatically. This removes the need for a human operator to be present during the attack lifecycle.
Researchers tracked five builds over one month, observing a rapid evolution from a simple Telegram bot to a complex framework. The most significant leap involved an increase from 19 to 61 capabilities in less than 24 hours, strongly suggesting the threat actor is using AI to assist in the malware's development. The threat actor, identified by the Telegram handle Xakmee, appears to be unsophisticated, having reused the same Telegram bot token and API keys across all observed builds.
Neural Override's architecture is centered on its ability to offload decision-making to an external AI model.
The core of the malware is the autopilot_loop() function, which runs in a background thread every 300 seconds. In each cycle, it performs the following steps:
T1082 - System Information Discovery and T1057 - Process Discovery.scada_attack and apocalypse. This leverages T1071.001 - Web Protocols for C2 and data transmission.execute_plan() function parses the JSON response from the LLM and executes the specified commands, which range from ransomware (T1486 - Data Encrypted for Impact) and DDoS (T1498 - Network Denial of Service) to credential theft (T1555 - Credentials from Password Stores) and persistence (T1547.001 - Registry Run Keys / Startup Folder).The malware includes a fallback mechanism, init_local_ai(), which attempts to load Microsoft's DialoGPT-medium model locally if the OpenRouter API is unreachable. This demonstrates a degree of resilience. The primary C2 channel is a Telegram bot (@Skibidi_16_bot) managed through the manybot[.]io service, a simple bot-building platform. This use of a legitimate service for C2 is an example of T1102.002 - Web Service.
A significant but incomplete feature is the SCADA attack capability. The main script calls an external Python module named scada_commander.py, which has not yet been found. While the framework to trigger these attacks exists, the specific code to interact with ICS protocols is missing. This represents a clear intent to bridge IT and OT environments, aligning with techniques like T0884 - Connection to ICS.
The immediate impact of a Neural Override infection includes data loss from ransomware, service disruption from DDoS attacks, and data breaches from credential theft. The autonomous nature of the RAT means that once a system is compromised, a full-scale attack can proceed without further human interaction, drastically reducing the time from infection to impact.
The most severe potential impact lies in its SCADA-targeting capabilities. If the scada_commander.py module is developed and deployed, Neural Override could be used to manipulate or disrupt physical processes in critical infrastructure sectors like energy, manufacturing, and water treatment. This could lead to equipment damage, production shutdowns, and public safety risks. The malware's existence validates the concerns outlined in CISA advisory AA26-231A regarding threat actors using AI to develop exploits against OT environments, including Programmable Logic Controllers (PLCs).
The following indicators were identified in the source code and infrastructure analysis.
Security teams may want to hunt for the following patterns that could indicate related activity:
Detecting Neural Override requires a multi-layered approach focusing on network traffic, endpoint behavior, and API usage.
Network Monitoring: Implement strict egress filtering to block or alert on outbound connections to api.openrouter.ai and api.telegram.org from servers and critical endpoints. Use Network Traffic Analysis (D3-NTA) to baseline normal traffic and identify anomalous connections from Python processes.
Endpoint Detection (EDR): Deploy EDR solutions to monitor for suspicious Python script execution. Create rules to detect the creation of files like scada_commander.py or the execution of Python processes that spawn network connections to known LLM or messaging APIs. Monitor for command-line activity related to system information gathering followed by an outbound connection.
API and Cloud Monitoring: For organizations that use LLM APIs for legitimate purposes, monitor API logs for unusual prompts, especially those containing hostnames, IP addresses, or lists of malicious commands.
Incident Response: If an infection is suspected, immediately isolate the affected host from the network to sever its C2 connection. Preserve the system for forensic analysis to recover any dropped scripts, including potentially the scada_commander.py module if present.
Defending against threats like Neural Override requires both tactical and strategic controls, with a strong emphasis on hardening OT environments.
python.exe). This directly counters the malware's execution vector and maps to M1038 - Execution Prevention.Block or monitor outbound traffic to non-essential web services like Telegram and OpenRouter to disrupt C2 and AI-planning capabilities.
Mapped D3FEND Techniques:
Use application control policies to prevent the execution of unauthorized interpreters like Python on systems where it is not required.
Implement strict segmentation between IT and OT networks to prevent threats like Neural Override from crossing into critical SCADA/ICS environments.
Utilize EDR and antivirus solutions with behavioral detection to identify and block suspicious script execution and process chains.
To counter Neural Override's C2 and AI-planning channels, deploy network monitoring solutions like Zeek or commercial equivalents to inspect outbound traffic. Specifically, create detection rules for HTTP/TLS connections to api.openrouter.ai and api.telegram.org originating from unexpected sources, such as servers or workstations without a business need. Since the traffic is likely encrypted, focus on analyzing metadata: TLS certificate subjects, JA3/JA3S hashes, and connection volume. A baseline of normal network behavior is crucial. Any Python process initiating connections to these domains should be treated as a high-priority alert. This technique directly targets the malware's reliance on external web services for its core functionality, providing a critical choke point for detection and blocking.
Given that Neural Override is a Python-based script, an effective hardening measure is to restrict the execution of the Python interpreter (python.exe) itself. Implement an application control solution like Windows Defender Application Control (WDAC) or AppLocker. On endpoints and servers where Python is not required for business functions, it should be completely blocked. In environments where developers need Python, policies should be configured to only allow signed scripts from trusted publishers and specific, approved script paths. This prevents the RAT from running even if it is successfully dropped on the system. This countermeasure is highly effective at preventing the initial execution phase of script-based malware like Neural Override.
The SCADA-targeting module of Neural Override makes network isolation a critical defense. The IT and OT networks must be strictly segmented using firewalls and unidirectional gateways where possible. All traffic between the two zones must be denied by default, with narrowly defined rules for essential communication only. For example, a data historian in the OT network might be allowed to send data to a server in the IT network, but no connections should be allowed from IT into OT. This creates an 'air gap' or a heavily controlled bridge that would prevent a compromised IT workstation from being able to reach and attack SCADA/ICS devices. This is the most important defense-in-depth control to mitigate the risk of physical damage from this type of threat.
Over a one-month period, five successive builds of Neural Override were developed and observed.
In under 24 hours, the malware's capabilities evolved from 19 to 61 distinct functions, suggesting AI-assisted code generation.
Unit 42 publishes its research on Neural Override, detailing its capabilities and architecture.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.