CRITICALmalware·

Neural Override: AI-Powered Python RAT Targeting Windows and SCADA Systems via Telegram

Unit 42 has analyzed Neural Override, an advanced Python-based Remote Access Trojan targeting Windows systems and SCADA environments. The malware leverages artificial intelligence to plan attacks and utilizes Telegram channels for command-and-control operations.

This report was researched and drafted by an AI agent and reviewed by a human analyst prior to publication. View the agent workflow →
Indicators of Compromise(8)
↓ Download STIX
Domainmanybot.io
Domainopenrouter.ai
SHA2567eb8b6b1b5934a5f1011320c27a25e30d69c76a8a338a42b74eeccb04080e06e
SHA256e7c63a717539e2c78a1600dbb69ce0c48d9707832c8a747e9d211a6a711b1cd9
SHA256cee0bc699073dbcf97b68e05110a29503b844748bcd2492cbae0f6882a3775e0
SHA256fb9abe6285fc0152b35673b36a5fbf1893bf8592fac7e352357ab4bdeccd67f1
SHA256bfaa12c5196123fd159b631a08fb126b55cdd1a8236fe6d19f5c66530360367d
SHA2565138f443dfd519c77adcfc1f86821cd1821a558e3e2c5a09b9cc6aab84639657

Overview

Neural Override is an emerging Python-based Remote Access Trojan (RAT) targeting Windows operating systems with specialized capabilities for industrial control and SCADA environments. The malware stands out by integrating artificial intelligence features to autonomously plan attack phases, orchestrating diverse actions from ransomware deployment and DDoS attacks to credential theft. C2 communications are facilitated through the Telegram messaging platform, lowering infrastructure complexity for operators while complicating traditional network signature detection.

Technical Analysis

The malware is written in Python and compiled into a standalone Windows executable. Key operational mechanisms include:
– AI-Driven Attack Planning: Utilizes local or API-driven AI logic to sequence and execute post-exploitation activities based on environment feedback.
– Telegram C2: Leverages the Telegram Bot API for command delivery and exfiltration, making traffic blending difficult to distinguish from legitimate administrative or user messaging traffic.
– Multi-Capability Payload: Capable of deploying ransomware, initiating distributed denial-of-service (DDoS) routines, performing credential harvesting, and issuing direct commands targeting SCADA/ICS environments.
– Prerequisites: Requires execution privileges on a Windows host with sufficient network access to reach Telegram API endpoints and internal industrial network segments if targeting SCADA infrastructure.

Detection

Defenders should monitor for anomalous behavior associated with Python-compiled binaries and unauthorized communication channels:
– Inspect process executions for Python-based interpreters or PyInstaller-packed binaries spawning unexpected child processes (cmd.exe, powershell.exe, or network scanning utilities).
– Monitor outbound HTTPS traffic destined for Telegram API endpoints (api.telegram.org) from unexpected internal assets, especially domain-joined servers or industrial control workstations.
– Watch for anomalous file system activity indicative of ransomware staging (rapid file enumeration and modification).
– Detect unauthorized interaction with SCADA/ICS engineering workstations or proprietary industrial protocols.

Sigma Detection Rules

⚠️ AI-generated detection rules. These are experimental starting points. Review field names, EventIDs, and logic against your environment’s schema before deploying. Tune to reduce false positives.

PyInstaller or Python RAT Communicating with Telegram API

title: PyInstaller or Python RAT Communicating with Telegram API
id: 7f3b8a10-4c92-4e11-8b22-9a7c3e1f5d6a
status: experimental
description: Detects potential Python-based RATs or scripts making HTTPS requests to the Telegram API domain.
logsource:
  product: windows
  service: sysmon
detection:
  selection_image:
    Image|endswith:
      - '\python.exe'
      - '\pythonw.exe'
      - '\main.exe'
      - '\update.exe'
  selection_network:
    DestinationHostname: 'api.telegram.org'
  condition: selection_image and selection_network
level: high

Mitigations

  1. Restrict outbound traffic to known-good business requirements, blocking unauthorized access to consumer messaging APIs and Telegram infrastructure from sensitive subnets like SCADA networks.
  2. Implement application control and endpoint protection solutions to block unapproved Python binaries, scripts, and packed executables.
  3. Isolate industrial control systems (ICS) and SCADA environments from corporate IT networks using strict firewall rules and unidirectional gateways where appropriate.
  4. Ensure robust backup procedures for critical engineering data and operational technology (OT) configurations, maintaining offline copies resistant to ransomware.

References

  • https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/

Indicators of Compromise

Type Value Description
SHA256 5138f443dfd519c77adcfc1f86821cd1821a558e3e2c5a09b9cc6aab84639657 Neural Override Build 6, rollback to v3 capability set (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
SHA256 7eb8b6b1b5934a5f1011320c27a25e30d69c76a8a338a42b74eeccb04080e06e Neural Override Build 1, minimal Telegram bot (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
SHA256 bfaa12c5196123fd159b631a08fb126b55cdd1a8236fe6d19f5c66530360367d Neural Override Build 5 (v9.2), PyInstaller executable (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
SHA256 cee0bc699073dbcf97b68e05110a29503b844748bcd2492cbae0f6882a3775e0 Neural Override Build 3, Python source (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
SHA256 e7c63a717539e2c78a1600dbb69ce0c48d9707832c8a747e9d211a6a711b1cd9 Neural Override Build 2, adds OpenRouter AI (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
SHA256 fb9abe6285fc0152b35673b36a5fbf1893bf8592fac7e352357ab4bdeccd67f1 Neural Override Build 4, compiled v9 (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
Domain manybot.io Telegram webhook domain (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)
Domain openrouter.ai LLM endpoint domain (via https://unit42.paloaltonetworks.com/neural-override-ai-telegram-rat/)

MITRE ATT&CK

🤖 AI Attribution
Generated by gemini-2.5-flash ·
1,576 input / 985 output tokens ·
Reviewed and approved by a human analyst before publication
#malware#ai#critical#ics#python#ransomware#rat#scada#telegram#windows