CL-STA-1238 Deploys Cairn AI Framework in Autonomous Attacks

China-Nexus Group Uses Autonomous AI Framework for Cyber Espionage

HIGH
November 13, 2026
8m read
Threat ActorCyberattackMalware

Related Entities

Threat Actors

CL-STA-1238

Organizations

Products & Tech

Zhipu GLMDeepSeek

Other

CairnNetLab GlobalHosteons Pte. Ltd.

Full Report

Executive Summary

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.


Threat Overview

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.


Technical Analysis

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.

Attack Lifecycle

The autonomous attack process followed a distinct loop:

  1. Bootstrap: The AI agent makes an initial attempt to achieve the goal with the provided information (target domain, operator hints).
  2. Mapping & Planning: The agent breaks the main goal into smaller, manageable tasks and creates a multi-stage plan. For one semiconductor target, the plan included reconnaissance, service identification, vulnerability scanning, exploitation, privilege escalation, and data exfiltration.
  3. Orchestration Loop: The agent continuously cycles through two phases:
    • Reason Phase: The LLM reviews all confirmed findings ('facts') and decides the next logical action ('intent').
    • Explore Phase: The agent executes the chosen action, and the framework records the outcome as a new fact. This loop repeats until the goal is met, all options are exhausted, or the human operator intervenes. Operations varied in duration from 20 minutes to over 50 hours.

AI Model & Guardrail Evasion

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.

MITRE ATT&CK TTPs

The observed activity maps to the following MITRE ATT&CK techniques:


Impact Assessment

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.


IOCs — Directly from Articles

The following indicators of compromise were identified in the source analysis.

Type
IP Address (v4)
Value
154.44.31.4
Description
Cairn C2 server hosted in Hong Kong (AS979)
Type
IP Address (v4)
Value
82.29.129.54
Description
Attack egress and staging node in the U.S. (AS142036)

Cyber Observables — Hunting Hints

Security teams may want to hunt for the following patterns that could indicate related activity:

Type
File Name
Value
AUTHORIZATION.md
Description
File created by the Cairn framework to document bogus authorization.
Context
File integrity monitoring on web servers and developer workstations.
Type
Network Traffic
Value
Outbound API calls to api.zhipu.ai or api.deepseek.com
Description
The LLM models used by the attackers. Unusual traffic from servers could indicate a compromised host.
Context
Egress traffic logs, web proxy logs.
Type
Network Traffic
Value
Connections to ASNs AS979 or AS142036
Description
The autonomous systems hosting the attacker infrastructure.
Context
Firewall logs, NetFlow data.
Type
Command Line Pattern
Value
cairn-worker or similar process names
Description
Execution of the Cairn framework components.
Context
EDR logs, process execution logs (Event ID 4688).

Detection & Response

Detecting autonomous AI attacks requires a shift towards behavioral analysis and anomaly detection.

  1. API Monitoring: Monitor and baseline API traffic to external LLM providers. Alerts should be triggered for high-frequency or unusual requests originating from server environments or non-standard user agents.
  2. Behavioral Analytics: Deploy User and Entity Behavior Analytics (UEBA) to detect anomalous sequences of activity. An autonomous agent's behavior—rapid enumeration, followed by exploitation attempts, then lateral movement—may create a detectable pattern distinct from human activity.
  3. VPN Log Analysis: Scrutinize VPN logs for connections from unusual geolocations or multiple failed logins followed by a success, which could indicate the use of stolen credentials. Correlate VPN access with subsequent activity on the network.
  4. Threat Hunting: Proactively hunt for the presence of penetration testing tool artifacts, such as the 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.


Mitigation

Defending against AI-driven attacks requires a multi-layered, defense-in-depth strategy.

  1. Harden External Services: Implement Multi-Factor Authentication (MFA) on all external-facing services, especially VPNs and remote desktop gateways. This is the single most effective control against the use of stolen credentials, a tactic observed in this campaign.
  2. Network Segmentation: Enforce strict network segmentation to limit the blast radius of a breach. An autonomous agent, once inside the perimeter, will attempt to move laterally. Segmentation can contain it within a specific network zone, preventing access to critical assets.
  3. Principle of Least Privilege: Ensure that all accounts, especially service accounts and those used for remote access, adhere to the principle of least privilege. This minimizes the actions an attacker can perform even if they gain initial access.
  4. AI Security Posture Management: Organizations utilizing AI/ML models should conduct regular AI security assessments to identify and mitigate risks. This includes securing API endpoints, hardening model configurations, and monitoring for anomalous usage.
  5. Egress Traffic Filtering: Implement strict egress filtering rules to block outbound connections to known malicious IP addresses, anomalous geolocations, and non-essential external services, including unknown LLM APIs.

Timeline of Events

1
August 1, 2026
Start of the autonomous attack campaign by CL-STA-1238 using the Cairn framework.
2
September 30, 2026
End of the observed two-month campaign period.
3
November 12, 2026
Unit 42 publishes their research on the CL-STA-1238 campaign.
4
November 13, 2026
This article was published

MITRE ATT&CK Mitigations

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.

Audit

M1047enterprise

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.

D3FEND Defensive Countermeasures

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.

Timeline of Events

1
August 1, 2026

Start of the autonomous attack campaign by CL-STA-1238 using the Cairn framework.

2
September 30, 2026

End of the observed two-month campaign period.

3
November 12, 2026

Unit 42 publishes their research on the CL-STA-1238 campaign.

Sources & References

Attackers Use Autonomous AI to Target Semiconductor, Defense and Civil Society Sectors
Unit 42 (unit42.paloaltonetworks.com) •November 12, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

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.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

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.

Tags

Autonomous AttackAI SecurityPenetration Testing FrameworkCairnCL-STA-1238Intelligence CollectionZhipu GLMDeepSeekChina

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

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.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

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 Generator

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.