Between August and September 2026, Unit 42 identified a series of highly automated cyberattacks targeting organizations in the semiconductor, defense, and civil society sectors. The campaign, attributed with moderate confidence to a China-nexus intelligence collection group tracked as CL-STA-1238, leveraged a novel approach by weaponizing an open-source autonomous penetration testing framework known as Cairn. The attackers integrated this framework with Chinese-developed Large Language Models (LLMs), specifically Zhipu GLM and DeepSeek, to conduct 25 operations against 19 organizations. The AI-driven agents were tasked with simple goals, such as achieving a breach or retrieving data, which they pursued autonomously. This campaign resulted in confirmed unauthorized access or data exfiltration at 10 of the targeted organizations, demonstrating the viability and threat of using autonomous AI systems for scalable and persistent cyber espionage operations.
The threat actor CL-STA-1238 orchestrated a campaign that marks a significant shift towards the operational use of autonomous AI in cyberattacks. The core of their operation was the Cairn framework, a publicly available tool designed for AI-driven penetration testing. The attackers customized this framework, connecting it to powerful Chinese LLMs to create autonomous agents capable of planning and executing multi-stage attacks.
The campaign ran for two months and was highly targeted, focusing on sectors critical to national security and technological development. The attackers' methodology involved providing the AI agent with a high-level objective and a target domain. The agent would then autonomously perform reconnaissance, map the attack surface, identify vulnerabilities, and execute exploitation steps. In some instances, the attackers provided pre-gathered intelligence, such as VPN credentials, to seed the operation and facilitate initial access. The stated goals were explicit, ranging from "comprehensive deep penetration test" to "breach as fast as possible," indicating a clear intent for espionage and data theft.
The attackers' technical setup involved a customized fork of the Cairn framework hosted on a server in Hong Kong (154.44.31.4) with an egress and staging node in the U.S. (82.29.129.54). The framework operates using "agent workers" powered by an LLM, which coordinate through a shared "blackboard" system that stores facts and intents in a graph structure.
The autonomous attack process followed a distinct loop:
The attackers used Zhipu GLM 5.2 and DeepSeek V4 (Flash/Pro), benchmarking the models' effectiveness against different targets. A custom skill pack named "AIScan Runner Skills" was loaded to provide scanning and exploitation capabilities not present in the public Cairn project.
A key finding was how the attackers bypassed the LLMs' built-in safety guardrails. They prepended a Chinese-language preamble to every prompt, asserting that the engagement was authorized and forbidding the model from refusing the task. This, combined with an AUTHORIZATION.md file generated for each task, effectively tricked the models into performing offensive actions without refusal.
The observed activity maps to the following MITRE ATT&CK techniques:
T1595 - Active Scanning: The framework autonomously enumerated the attack surface.T1133 - External Remote Services: Attackers supplied VPN credentials to guide initial access.T1078 - Valid Accounts: The use of pre-gathered VPN group names and passwords constitutes valid account usage.T1592 - Gather Victim Host Information: The AI agent performed reconnaissance to map the target environment.T1059 - Command and Scripting Interpreter: The Cairn framework and its AI agents executed commands and scripts to carry out tasks.T1203 - Exploitation for Client Execution: The "AIScan Runner Skills" pack was used for exploitation.T1005 - Data from Local System: A primary goal of the operations was data retrieval.The successful breach of 10 organizations, including semiconductor manufacturers, defense contractors, and civil society groups, demonstrates a significant real-world impact. The primary goal appears to be intelligence collection, aligning with the strategic interests of a nation-state actor. The theft of intellectual property from semiconductor and defense firms could have long-term economic and national security consequences. Attacks on civil society organizations suggest an interest in monitoring or disrupting groups perceived as adversarial.
The most profound impact is the validation of autonomous AI as a scalable tool for cyber espionage. This development lowers the barrier to entry for sophisticated, multi-stage attacks, as the AI handles much of the complex decision-making. Security teams now face an adversary that can operate 24/7, adapt its tactics in real-time, and execute attacks at a speed and scale that is difficult for human defenders to counter.
The following indicators of compromise were identified in the source analysis.
154.44.31.482.29.129.54Security teams may want to hunt for the following patterns that could indicate related activity:
AUTHORIZATION.mdapi.zhipu.ai or api.deepseek.comAS979 or AS142036cairn-worker or similar process namesDetecting autonomous AI attacks requires a shift towards behavioral analysis and anomaly detection.
AUTHORIZATION.md file or custom skill packs. Search for anomalous process execution chains originating from web servers or VPN gateways.For response, it is critical to isolate suspected compromised systems immediately to break the agent's orchestration loop. Since the agent relies on its connection to the C2 server and LLM APIs, blocking these connections can neutralize the immediate threat.
Defending against AI-driven attacks requires a multi-layered, defense-in-depth strategy.
Applying MFA to VPNs and other remote services would have prevented the attackers from gaining initial access using only stolen credentials.
Egress filtering can block connections to the attacker's C2 servers and LLM APIs, disrupting the autonomous agent's operation.
Segmenting the network would limit the agent's ability to move laterally and access sensitive data after an initial breach.
Comprehensive logging of network, process, and API activity is essential for detecting the anomalous patterns generated by an autonomous attack agent.
Restricting account privileges would minimize the impact of a breach by limiting the actions the compromised account can perform.
Given that the CL-STA-1238 actors leveraged pre-gathered VPN credentials for initial access, implementing Multi-factor Authentication is the most critical defense. This technique should be applied to all internet-facing services, especially VPN gateways, remote access portals, and cloud administration consoles. Prioritize phishing-resistant MFA methods like FIDO2/WebAuthn hardware tokens over SMS or push-based methods. By requiring a second factor, MFA would have neutralized the attackers' ability to gain entry using only a stolen password, forcing them to adopt much noisier and more complex methods for initial access. This directly counters the T1133 (External Remote Services) and T1078 (Valid Accounts) techniques used in this campaign.
To detect the autonomous operations of the Cairn framework, defenders should deploy Network Traffic Analysis solutions. Focus on establishing a baseline for normal traffic patterns and then alerting on deviations. Specifically, monitor for and scrutinize outbound connections to the identified C2 IPs (154.44.31.4, 82.29.129.54) and ASNs (AS979, AS142036). Furthermore, monitor for unusual, high-frequency API calls to LLM providers like api.zhipu.ai and api.deepseek.com, especially from server subnets or systems that do not typically interact with such services. The 'reason/explore' loop of the Cairn agent may generate a rhythmic, machine-like traffic pattern that can be identified through frequency and volume analysis. This is key to detecting the C2 and operational traffic of the AI agent.
Network Isolation, or segmentation, is a crucial countermeasure to contain an autonomous agent post-breach. The Cairn framework is designed to explore a network and move laterally. By implementing a zero-trust architecture where internal network segments are isolated by firewalls, defenders can severely restrict the agent's ability to discover and access other parts of the network. Create strict firewall rules between user, server, and management zones, allowing only necessary protocols and ports. For example, a compromised web server should not be able to initiate connections to a database server or a domain controller directly. This containment strategy limits the blast radius and forces the autonomous agent to a halt, providing defenders time to detect and evict the threat.
Start of the autonomous attack campaign by CL-STA-1238 using the Cairn framework.
End of the observed two-month campaign period.
Unit 42 publishes their research on the CL-STA-1238 campaign.

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.