Last Updated On

Agentic AI Infiltrates ConnectWise as PHP2Shell and SafePay Threaten Enterprises
A major turning point in automated cyber warfare has arrived as China state aligned actor Storm-0940 weaponized the ARTEX agentic AI framework to infiltrate ConnectWise Cloud Backup and blast through thousands of downstream cloud environments at machine speed. Concurrently, emergency patches were published for PHP2Shell, a pair of critical unauthenticated remote code execution vulnerabilities exposing over twenty two million web runtimes worldwide.
The threat matrix escalated further with a multi agency federal advisory documenting SafePay ransomware operations across six hundred enterprises, characterized by systematic credential abuse and the total annihilation of shadow copies and NAS backups. Active exploitation waves also breached BeyondTrust Remote Support zero days and Plex Media Server instances, deploying memory resident web shells and cryptominers.
Defenders face a simultaneous squeeze across identity controls, core web interpreters, and remote administration services that cannot be resolved through passive monitoring. Immediate isolation of unpatched assets, validation of offline immutable backups, and behavioral hunting for anomalous worker processes represent the only viable shield against this high velocity offensive surge.
#ThreatIntel #CyberSecurity #Ransomware #VulnerabilityManagement #CloudSecurity #InfoSec
10
CVSS Score
52
IOC Count
30
Source Count
88
Confidence Score
CVE-2026-109618, CVE-2026-109619, CVE-2026-96652, CVE-2026-96654, CVE-2026-96655, CVE-2026-96656, CVE-2026-102764, CVE-2026-73570, CVE-2025-61624, CVE-2026-110936, CVE-2026-0322, CVE-2026-76519, CVE-2026-105133, CVE-2026-105134, CVE-2026-106931, CVE-2020-3259, CVE-2023-20269, CVE-2023-27532, CVE-2024-40711, CVE-2024-40766
Storm-0940, Armory Castle (UNC5221 / Warp Panda), CL-STA-0954, SafePay Ransomware Group, Partisan Zmiy (Cyber Partisans), ClickFix and Romulus Operators
Technology, Managed Service Providers, Cloud Hosting, Critical Infrastructure, Government, Healthcare, Finance, Telecommunications, Manufacturing, Education, Media and Entertainment, Ecommerce
North America, South America, Europe, Asia Pacific, Australia, Japan, India, Middle East, Russia
Chapter 01 - Executive Overview
[+] Machine Speed Supply Chain Compromise: China state aligned actor Storm-0940 has weaponized ARTEX, an autonomous Go based agentic AI penetration testing framework, to execute high velocity compromise cascades against ConnectWise Cloud Backup. The actor compromised cloud application identities to systematically spray credentials and authenticate into more than 2250 Microsoft 365 customer tenants at rates peaking at 2900 attempts per minute, escalating from initial access to global tenant administrative control in under three hours.
[+] Critical Web Runtime Memory Flaws: Emergency patches were issued for CVE-2026-109618 and CVE-2026-109619, known collectively as PHP2Shell, which permit unauthenticated remote code execution across core PHP environments. Telemetry reveals more than 22.6 million exposed instances globally, with confirmed pre disclosure exploitation attempts detected against honeypot infrastructure as early as October 17 2026, creating immediate exposure for web applications, container images, and software appliances.
[+] High Impact Multi Sector Ransomware Surge: A multi agency federal advisory warns of extensive double extortion operations by the SafePay ransomware syndicate, which has impacted approximately 600 organizations across sixteen critical infrastructure sectors. The group pairs credential stuffing and remote service exploitation with total annihilation of recovery capabilities, systematically deleting volume shadow copies and reconfiguring network attached storage devices before executing hybrid ChaCha20 and RSA encryption.
[+] Enterprise Remote Support Zero Day Infiltration: State sponsored espionage actor Armory Castle has been actively exploiting CVE-2026-102764 within BeyondTrust Remote Support appliances since August 29 2026. Intruders bypass authentication through internal message spoofing, rapidly deploying the SAWFLY PHP web shell, the BARECLAW WebSocket proxy, and harvesting credential vaults while purging local appliance logs.
[+] Widespread Media Server and Network Device Exploitation: Opportunistic cybercrime groups are actively weaponizing the four vulnerability Plex2Shell chain (CVE-2026-96652, CVE-2026-96654, CVE-2026-96655, CVE-2026-96656) to achieve unauthenticated remote code execution, deploying cryptominers and reverse proxy nodes on exposed systems. Parallel active exploitation has forced urgent patching mandates for network appliances from Cisco, Palo Alto Networks, Fortinet, Siemens, Zimbra, Ahsay, and EG Secure Solutions.
Chapter 02 - Threat & Exposure Analysis
[+] Autonomous Agentic AI Infiltration Tradecraft: The operational deployment of ARTEX by Storm-0940 marks a structural evolution in threat actor velocity, shifting intrusion mechanics from human paced operations to autonomous machine speed execution. Between October 10 and October 14 2026, infrastructure hosted at 144.172.64[.]99 executed password spray operations against targeted Exchange Online accounts, culminating on October 15 with the compromise of ConnectWise application secrets that allowed automated agents to swarm downstream client environments without manual attacker intervention.
[+] Memory Management Flaws in Core PHP Processing: The PHP2Shell vulnerabilities bypass conventional application level web application firewalls because exploitation occurs within internal interpreter memory management rather than application logic. Attackers weaponize memory allocation limits during large POST request processing to trigger control flow diversion via longjmp() handlers, leaving uninitialized or freed memory regions open to code pointer redirection before any security plugins or application sanitizers execute.
[+] Coordinated Extortion and Recovery Disruption by SafePay: SafePay operators maintain a persistent attack cycle targeting enterprise identity stores and backup repositories. Access acquired via compromised remote access devices or stolen credentials is systematically expanded using living off the land binaries such as PsExec and WinRM, followed by automated share discovery using SharpShares, mass exfiltration over cloud storage endpoints, and the execution of locker payloads that prevent recovery by terminating backup daemons.
[+] Espionage Footholds via BeyondTrust Appliance Compromise: Armory Castle demonstrates advanced tradecraft by weaponizing BeyondTrust Remote Support appliances to pivot into internal enterprise domains. Telemetry confirms that within eleven minutes of achieving unauthenticated access via CVE-2026-102764, the actors establish SUID root persistence via dbus-authd, modify boot scripts, extract stored administrator passwords via the bt-secrets binary, and establish encrypted WebSocket reverse tunnels mapped directly into local HAProxy daemons.
[+] Opportunistic Exploitation Waves Against Secondary Attack Surfaces: Telemetry across regional honeypots confirms that secondary network devices and media servers are subjected to automated exploitation scripts within hours of vulnerability disclosure. Threat actors chain server side request forgery with transcoder file write weaknesses in Plex Media Server to establish persistent reverse shells, while parallel campaigns exploit Siemens Software Center via ClickFix lures to sideload malicious libraries within industrial environments.
Chapter 03 - Operational Response
[+] Immediate PHP Runtime Remediation: Upgrade all PHP installations to fixed releases 8.5.12, 8.4.27, 8.3.36, or 8.2.35 immediately. Organizations running unsupported versions 8.1 or older must immediately isolate those servers from public network access or migrate workloads to supported release branches, giving highest priority to Apache mod_php deployments that accept untrusted public traffic.
[+] BeyondTrust Appliance Containment and Forensic Audit: Apply security patch BT26-05-RS across all self hosted BeyondTrust Remote Support instances on versions 24.3.1 through 26.2.3. System administrators must treat any appliance connected to the public internet during the exploitation window since August 29 2026 as compromised, performing forensic disk exports and inspecting file paths for mangoapi.php and dbus-authd prior to executing credential rotations.
[+] Managed Service Provider and Cloud Identity Hardening: Review all enterprise Microsoft 365 environments for anomalous application consent grants, service principal modifications, and sudden bursts of sign in activity matching ARTEX spray profiles. Enforce conditional access policies that mandate phishing resistant multifactor authentication for all remote administrative access and revoke active refresh tokens for accounts managed through external support integrations.
[+] Remediation of SafePay Attack Vectors and Backup Verification: Remediate all exposed remote access vulnerabilities cited in federal advisories, specifically CVE-2020-3259, CVE-2023-20269, CVE-2023-27532, CVE-2024-40711, and CVE-2024-40766. Audit backup infrastructure to ensure repositories are physically or logically air gapped, enforce immutable storage flags, and verify that administrative access to network attached storage systems is strictly isolated from primary domain controllers.
[+] Secondary Appliance Patching Under Federal Directives: Federal agencies and commercial enterprises must enforce immediate patching across KEV catalog entries by the mandated deadlines:
[+] Plex Media Server: Upgrade to 1.43.3.10861 or newer to remediate the four CVE chain.
[+] Palo Alto Networks PAN-OS: Upgrade firewalls to versions 12.2.4 or 12.1.4-h12 to eliminate CVE-2026-0322.
[+] Siemens Software Center: Update all engineering endpoints to version V4.0.9.8 to prevent DLL side loading under CVE-2026-110936.
[+] Zimbra Collaboration: Apply version 10.1.20 to resolve command injection under CVE-2026-73570.
[+] Cisco Secure Email Gateway: Apply vendor patches for CVE-2026-76519 to secure attachment processing.
[+] SiteGuard Server Edition: Apply Ver8.00 Update 5 across web servers to neutralize CVE-2026-106931.
[+] August 2024: SafePay ransomware group initiates broad multi sector cybercrime operations targeting critical infrastructure.
[+] August 29 2026: Armory Castle actors initiate the first confirmed zero day exploitation of BeyondTrust Remote Support appliances via CVE-2026-102764.
[+] September 2026: Storm-0940 operationalizes the ARTEX agentic AI framework to conduct automated reconnaissance and access operations.
[+] September 29 2026: EG Secure Solutions distributes private mitigation notices for SiteGuard command injection ahead of coordinated disclosure.
[+] October 10 to October 14 2026: Storm-0940 conducts automated password spraying against Microsoft 365 tenants from 144.172.64[.]99.
[+] October 14 2026: CISA adds Palo Alto Networks PAN-OS, Cisco Secure Email Gateway, and AhsayCBS to the Known Exploited Vulnerabilities catalog.
[+] October 15 2026: ARTEX AI agents compromise ConnectWise cloud identities and initiate automated tenant intrusions peaking at 2900 sign ins per minute.
[+] October 16 2026: BeyondTrust releases advisory BT26-05-RS; CISA adds BeyondTrust and Fortinet flaws to the KEV catalog; public proof of concept released for Plex2Shell.
[+] October 17 2026: Amazon MadPot detects pre disclosure exploitation attempts against PHP2Shell from 103.216.220[.]92; widespread Plex2Shell exploitation begins.
[+] October 20 2026: Multi agency government advisory AA26-293A published on SafePay ransomware; CISA adds Plex2Shell, SiteGuard, and Siemens to KEV catalog.
[+] October 21 2026: PHP Foundation releases emergency security updates for PHP2Shell; CISA and global agencies issue emergency patch directives.
[+] October 22 2026: Worldwide scanning and exploitation attempts for PHP2Shell accelerate as security teams initiate global inventory and containment workflows.
Chapter 04 - Detection Intelligence
[+] PHP2Shell Control Flow Diversion and Stale Memory Corruption: CVE-2026-109618 occurs when PHP processes incoming multipart POST data that exceeds the memory_limit setting. When memory allocation fails, the runtime initiates an abrupt unwinding sequence via longjmp(), aborting normal variable destruction. If internal POST tracking tables contain partially initialized references, the memory deallocation routine encounters invalid memory blocks that are subsequently parsed as valid object pointers, allowing remote attackers to hijack process execution.
[+] PHP2Shell Stale Global State in Fatal Error Handling: CVE-2026-109619 manifests when a fatal memory allocation failure interrupts request cleanup, leaving pointers to freed memory blocks active in the global execution state. During subsequent HTTP requests handled by the same worker thread, the runtime attempts to evaluate these stale global pointers, creating a use after free condition that permits arbitrary memory read and write primitives directly from the web process.
[+] BeyondTrust Remote Support Internal Message Spoofing: CVE-2026-102764 is rooted in an authentication bypass by spoofing (CWE-290) flaw inside internal inter process communications. By transmitting crafted packets that mimic internal loopback service messages, an unauthenticated remote attacker can trigger administrative actions, write files to arbitrary locations in the web root, and execute system commands with service account privileges.
[+] Plex2Shell Multi Flaw Remote Code Execution Chain: The Plex2Shell exploit chain combines four distinct weaknesses to achieve full system takeover:
[+] Step 1: The attacker exploits CVE-2026-96652, an unauthenticated SSRF vulnerability in the player timeline endpoint, to force the server to issue HTTP POST requests to internal administrative routes.
[+] Step 2: The attacker invokes CVE-2026-96654 to bypass URI scheme filters in the searchOne endpoint, extracting the internal administrative authentication token.
[+] Step 3: Utilizing the stolen token, the attacker leverages CVE-2026-96655 to access the universal transcode API.
[+] Step 4: The attacker exploits CVE-2026-96656 to pass crafted parameters to the x264 library dump-yuv routine, forcing the process to write an arbitrary shared object file into the Codecs directory, which is immediately loaded into memory via dlopen().
[+] ARTEX Autonomous Agentic Attack Architecture: Microsoft Threat Intelligence reveals that ARTEX operates as an autonomous Go based execution engine. Upon obtaining compromised credentials, the software constructs an operational task tree, dynamically dispatching sub agents to evaluate tenant permission boundaries, query the Microsoft Graph API, enumerate tenant users, and automate pass the token attacks without requiring direct interactive shell commands from human operators.
[+] SafePay Cryptographic Locker and Destruction Mechanisms: The SafePay ransomware locker utilizes ChaCha20 symmetric stream encryption combined with 2048 bit RSA public key cryptography to seal victim files. Prior to file encryption, the payload executes batch sequences that disable the Volume Shadow Copy Service, delete system recovery points via vssadmin, purge Windows event logs, and issue command scripts to reset connected network storage devices.
Network Indicators
Host and File Artifacts
Behavioral Paths, Hostnames, and URIs
SIGMA Rule: PHP2Shell Post Exploitation Worker Process Anomalies
SIGMA Rule: SafePay Ransomware Share Discovery and Remote Service Execution
SIGMA Rule: BeyondTrust Remote Support SAWFLY Webshell Deployment
SIGMA Rule: Plex2Shell Malicious Library Write to Codecs Directory
YARA Rule: SAWFLY PHP Webshell
YARA Rule: SafePay Ransomware Locker DLL
SIEM Field Correlation Logic
ATT&CK Operational Mapping
Tactic | Technique Name | Technique ID | Incident Association | Evidence Basis |
|---|---|---|---|---|
Initial Access | Supply Chain Compromise | T1195.002 | ConnectWise / Storm-0940 | Source mapped: Compromise of ConnectWise cloud application identities |
Initial Access | Exploit Public Facing Application | T1190 | PHP2Shell, BeyondTrust, SafePay, Plex | Source mapped: Remote exploitation of web interpreters, support portals, and network devices |
Initial Access | External Remote Services | T1133 | SafePay Ransomware | Source mapped: Authentication through remote VPN gateways and firewalls |
Execution | Command and Scripting Interpreter | T1059 | PHP2Shell, SafePay | Inferred from unauthenticated remote code execution mechanics |
Execution | Service Execution | T1569.002 | SafePay Ransomware | Source mapped: Remote execution of payloads via PsExec service creation |
Persistence | Web Shell | T1505.003 | BeyondTrust, Zimbra | Source mapped: Deployment of SAWFLY and JSP web shells to web roots |
Persistence | Account Manipulation | T1098 | Storm-0940, SafePay | Source mapped: Alteration of cloud role assignments and local accounts |
Privilege Escalation | Abuse Elevation Control Mechanism | T1548.002 | SafePay Ransomware | Source mapped: User Account Control bypass using elevated helper binaries |
Defense Evasion | Software Packing | T1027.002 | SafePay Ransomware | Source mapped: Crypter packing of locker.dll and RunPE injection |
Defense Evasion | Hijack Execution Flow: DLL Side Loading | T1574.001 | Siemens Software Center | Source mapped: Side loading malicious archive.dll via uncontrolled search paths |
Credential Access | Password Spraying | T1110.003 | Storm-0940 (ARTEX) | Source mapped: Automated high volume spray against Microsoft 365 tenants |
Lateral Movement | Remote Desktop Protocol | T1021.001 | SafePay Ransomware | Source mapped: Interactive administrative movement across compromised subnets |
Lateral Movement | SMB/Windows Admin Shares | T1021.002 | SafePay Ransomware | Source mapped: Staging ransomware payloads across network administrative shares |
Impact | Data Encrypted for Impact | T1486 | SafePay Ransomware | Source mapped: Hybrid ChaCha20/RSA encryption appending .SafePay extensions |
Impact | Inhibit System Recovery | T1490 | SafePay Ransomware | Source mapped: Deletion of shadow copies and disruption of storage agents |
D3FEND Countermeasure Alignments
[+] D3-CH (Credential Hardening): Mandate hardware token phishing resistant MFA across all administrative and remote access portals; enforce automated password expiry and lockout rules against password spraying.
[+] D3-AH (Application Hardening): Implement runtime memory validation, deploy virtual patching to inspect large HTTP POST bodies, and restrict PHP execution wrappers.
[+] D3-NTA (Network Traffic Analysis): Monitor network egress for persistent WebSocket tunneling to localhost listeners, unauthorized cloud API storage transfers, and anomalous external connections from web server daemons.
[+] D3-FMA (File Metadata Analysis): Scan web accessible file systems for unindexed script files, identify unsigned dynamic libraries in application codec folders, and alert on files bearing ransomware markers.
[+] D3-PH (Platform Hardening): Enforce strict directory access controls, revoke SUID permissions on administrative interpreters, and isolate backup management planes from enterprise active directory domains.
Chapter 05 - Governance, Risk & Compliance
[+] Emergency Patch Compliance and Regulatory Governance: Organizations operating within federal civilian or regulated corporate sectors must adhere to mandatory remediation timelines under Binding Operational Directive BOD-26-04. System administrators must treat internet accessible systems running vulnerable PHP, BeyondTrust Remote Support, or KEV catalog software as immediate compliance liabilities requiring documented remediation within established timeframes.
[+] Supply Chain Risk and Cloud Tenant Boundaries: The Storm-0940 ConnectWise campaign demonstrates that trust relationships between managed service providers and downstream client tenants are primary vectors for automated attacks. Corporate risk committees must demand formal third party attestations, audit service principal role scopes within Microsoft Entra ID, and enforce conditional access policies that prevent external integration accounts from possessing global administrative privileges.
[+] Evidence Preservation Protocols for Compromised Appliances: Both BeyondTrust and SiteGuard security advisories emphasize that applying vendor update packages may overwrite volatile log repositories and filesystem artifacts left by intruders. Incident response teams must take complete forensic virtual machine snapshots, extract memory dumps, and preserve centralized firewall and WAF telemetry prior to initiating software rebuilds.
[+] Ransomware Resiliency and Backup Isolation Standards: SafePay double extortion tactics demonstrate that software based online backups provide no reliable barrier against motivated ransomware syndicates. Executive leadership must require written verification that corporate backup repositories implement true write once read many (WORM) storage, maintain offline immutable copies, and utilize dedicated administrative credentials that are cryptographically isolated from primary directory services.
Chapter 06 - Adversary Emulation
Scenario 1: Storm-0940 / ARTEX Autonomous Cloud Spray and Tenant Enumeration
[+] Objective: Validate enterprise telemetry against high velocity automated credential spraying and rapid token acquisition.
[+] Step 1: In an isolated laboratory tenant, utilize an approved automation script to simulate password spraying against ten synthetic test accounts from an external test IP.
[+] Step 2: Validate whether Microsoft Entra ID Identity Protection alerts on anomalous sign in velocity and triggers automated conditional access blocks.
[+] Step 3: Simulate an authorized cloud application identity reading directory objects via the Microsoft Graph API at an elevated rate exceeding 100 requests per minute.
[+] Step 4: Verify that SIEM correlation logic detects unexpected user enumeration originating from a service principal.
Scenario 2: BeyondTrust Armory Castle Intrusion Workflow
[+] Objective: Evaluate host based endpoint detection rules against the post exploitation sequence of Armory Castle.
[+] Step 1: On a dedicated non production Linux appliance, place a benign text file named mangoapi.php containing benign strings into a staged web directory.
[+] Step 2: Create a local user account and simulate SUID elevation by copying a shell binary to a staged administrative path.
[+] Step 3: Initiate a synthetic loopback connection mimicking WebSocket tunneling toward an internal proxy port.
[+] Step 4: Validate that EDR agents trigger immediate high priority alerts on SUID binary creation and unauthorized web root script creation.
Scenario 3: PHP2Shell Post RCE Worker Execution
[+] Objective: Verify runtime detection when a web server worker engine spawns an administrative command interpreter.
[+] Step 1: On an isolated staging server running PHP-FPM, execute a controlled test script that instructs the PHP worker to invoke whoami via shell_exec().
[+] Step 2: Confirm whether auditd or EDR agents generate a process creation alert linking php-fpm as the parent process of whoami.
[+] Step 3: Validate whether egress monitoring flags attempts by the web server process to initiate outbound TCP connections to unapproved external destinations.
Scenario 4: SafePay Ransomware Destruction and Encryption Precursors
[+] Objective: Test defensive responses against Volume Shadow Copy disruption and rapid share enumeration.
[+] Step 1: On an isolated test virtual machine, execute a controlled command invoking vssadmin.exe list shadows from a standard user context.
[+] Step 2: Execute an approved test script that issues high frequency SMB queries across administrative network shares.
[+] Step 3: Confirm that endpoint defenses immediately terminate processes attempting unauthorized interaction with recovery management binaries.
Evaluation Category | Assigned Score | Analytical Evidence and Justification |
|---|---|---|
Primary Vulnerability Evidence | 95 / 100 | Confirmed by official software security updates, CVE records, and multi agency emergency directives across PHP, BeyondTrust, Siemens, and CISA. |
Threat Actor Attribution | 85 / 100 | Strong corroborated attribution from Microsoft for Storm-0940, and concordant reporting from Mandiant, Google, and CrowdStrike for Armory Castle; PHP2Shell and Plex2Shell remain under attribution. |
Operational Telemetry and TTPs | 90 / 100 | Deep technical indicators, full ATT&CK mappings, and forensic logs provided by federal advisories and commercial threat research. |
Exploitation Verification | 92 / 100 | Confirmed active exploitation across CISA KEV entries, vendor advisories, honeypot telemetry, and law enforcement case histories. |
Detection Rule Efficacy | 86 / 100 | Synthesized SIGMA, YARA, and SIEM logic grounded directly in observed file artifacts, command line executions, and network IOCs. |
Composite Intelligence Confidence | 88 / 100 | Authoritative assessment supported by extensive multi source corroboration across government, vendor, and research ecosystems. |
