Skip to content
All posts

Operation CAIRN: An Autonomous, LLM-Driven Attack Platform Found in the Wild

October 15, 2026 · PlayCISO
TL;DR

A threat researcher (handle @TheM3gatr0n) has published a detailed field report of what may be the first documented autonomous, LLM-driven intrusion platform used against real enterprises at scale — dubbed "Operation CAIRN" (actor tracked as UNC-CAIRN). Treat the specifics below as a single-source disclosure: credible and internally consistent, but not yet independently corroborated by major vendors. What was reported: a routine IOC scan surfaced a VPS (Hong Kong-registered APAC hosting) with an odd port combination, a two-day self-signed TLS cert, a Python API behind HTTP Basic auth, and an open directory holding 150+ files from an active campaign. Inside was a platform called "Cairn" — not a script or a toolkit but an orchestration system: a dispatcher reads a SQLite target database, spins up one Docker container running Kali Linux per victim, and hands an LLM the target, a goal ("obtain webshell or RCE"), and a fact-graph of everything tried in prior sessions. The model picks the next step, executes it, observes the result, and writes back to the graph — no human in the loop per session, and across 90+ sessions against one target it is reading its own prior work. That persistent memory is what separates Cairn from ordinary automation. The model reported is DeepSeek v4.1-flash, accessed via a pirated account-rotation service ("ClinePass") that cycles stolen subscriptions to beat per-session rate limits (two live accounts, ~$10k combined balance). Scale over 13 logged days: 229,828 AI-dispatched attack events, 17,768 active exploitation attempts, 85+ targets, plus two Raspberry Pi workers (pi-workbuddy, pi-cline-deepseek). Targeting skews to US e-commerce, automotive finance, healthcare media and multi-tenant SaaS; all internal notes are in Simplified Chinese; it matches no known tracked group. Weaponised CVEs reportedly include CVE-2024-34102 (CosmicSting / Magento XXE), CVE-2022-24086 (Magento template-injection RCE), CVE-2026-75650 ("StyleSmuggler", a Magento 0-day at the time), CVE-2026-53787 (Amasty Order Attributes unauth upload), CVE-2026-44277 (FortiAuthenticator pre-auth) and, the one that actually landed, CVE-2014-6271 (ShellShock). The standout vector: ShellShock injected into the RCPT TO field of a qmail server — qmail strips the domain after the @ and passes the local part to the delivery agent, which executed the bash payload during a normal SMTP handshake; command output was smuggled back inside routine 250 reply codes. A separate GCP compromise left a Redis pod with "*/5 * * * * /bin/sh /data/pwn.sh" (a netcat reverse shell to the operator C2) still live at discovery, with pod env vars leaking ~20 named customer tenants. Notably, Cairn is maintained software: a cairn_guard.sh daemon watches the dispatcher, defers restarts until no session holds an active lease, and rate-limits restarts — written, per its own comment, after the dispatcher ballooned to 12 GB, filled swap and was OOM-killed. Someone debugged and fixed that. Why it matters for defenders: the capability bar for a persistent, adaptive, tireless attacker just dropped — the novelty is not a new exploit but an LLM that accumulates knowledge across sessions and never gets bored. The defences are not exotic: patch internet-facing e-commerce (Magento/Adobe Commerce especially) and edge appliances fast, retire ShellShock-era software, lock down SMTP so recipient fields cannot reach a shell, monitor egress and SMTP 250-code anomalies, alert on unexpected crontab writes in containers/pods, scope blast radius in multi-tenant platforms, and rehearse an "autonomous AI adversary" scenario where the attacker adapts every round. Until a second source corroborates, hold the specifics loosely — but the direction of travel is not in doubt.

This post references: https://x.com/TheM3gatr0n

Summary first: a threat researcher (handle @TheM3gatr0n) reports finding a live, custom-built platform — "Cairn" — that lets a large language model run intrusions end-to-end with no human in the loop per session. We treat it as a credible single-source disclosure, not yet independently corroborated. Here is what was reported, what is genuinely new, and what defenders should do about it.

What was found

It started, as these things often do, with a routine indicator-of-compromise scan. The lead was unglamorous: a virtual private server on a Hong Kong-registered APAC hosting provider, flagged for an unusual port combination. On closer look it carried a two-day-old self-signed TLS certificate, a Python API sitting behind HTTP Basic authentication, and — the detail that opens most of these stories — an open directory. That directory held more than 150 files from an active campaign.

Inside was not a script and not a toolkit. It was a platform the operator calls Cairn: a full attack-orchestration system built around an LLM. The human gives it a target and a goal. The AI does the rest.

The architecture

The reported design is simple and, uncomfortably, sensible:

  • A dispatcher reads a SQLite target database — 85+ distinct targets were present.
  • Each victim gets its own Docker container running Kali Linux, isolating one engagement from another.
  • An LLM receives three things: the target, a goal (for example "obtain webshell or RCE"), and a fact-graph of everything tried in prior sessions.
  • The model picks the next step, executes it, observes the result, and writes the outcome back into the graph.

There is no human in the loop per session. The model reported in use is DeepSeek v4.1-flash, reached through a pirated account-rotation service ("ClinePass") that cycles stolen subscriptions to defeat per-session rate limits — two live accounts with roughly $10,000 of combined balance remaining. Two Raspberry Pi devices (pi-workbuddy and pi-cline-deepseek) served as local workers.

What actually makes this different

Automated attack tooling is decades old. What separates Cairn is memory. Every session ends with a structured, Chinese-language summary — what was tried, what was blocked, what is now confirmed — written back into the fact-graph for the next run. Across 90+ sessions against a single target, the model is reading its own prior work and refusing to repeat dead ends.

That is the shift. Not a new exploit, but an attacker that accumulates knowledge across time and never gets bored, distracted or discouraged. Over 13 logged days the platform generated 229,828 AI-dispatched attack events and 17,768 active exploitation attempts.

The CVEs in play

Reportedly weaponised, concentrated on e-commerce and edge:

  • CVE-2024-34102 — "CosmicSting", Magento XXE
  • CVE-2022-24086 — Magento template-injection RCE
  • CVE-2026-75650 — "StyleSmuggler", a Magento 0-day at the time of the attacks
  • CVE-2026-53787 — Amasty Order Attributes, unauthenticated file upload
  • CVE-2026-44277 — FortiAuthenticator pre-auth
  • CVE-2014-6271 — ShellShock, and the one that actually landed

The vector worth studying: ShellShock over SMTP

The most instructive part of the report is not the newest 0-day — it is an eleven-year-old bug delivered through a mail handshake. The operator injected a Bash payload into the RCPT TO field of a mail server. The target ran qmail, which strips the recipient domain after the @ before passing the local part to the delivery agent. In a ShellShock-vulnerable environment, that local part reached Bash and executed — during an otherwise normal SMTP conversation. Command output came back piped via curl, embedded inside routine 250 reply codes, so the exfiltration looked like ordinary mail acknowledgements.

The logs reportedly confirm it worked:

EXEC [redacted]:25   2026-09-29T18:11:49
id        -> 250 ok
hostname  -> 250 ok
uname -a  -> 250 ok

Every response smuggled inside a normal-looking SMTP acknowledgement. The lesson is the same one ShellShock taught in 2014: untrusted input must never reach a shell, and legacy mail stacks are still a soft underbelly.

A second foothold: GCP, Redis, and a five-minute reverse shell

The operator also reportedly compromised a multi-tenant SaaS platform on Google Cloud. A compromised Redis pod carried this in its crontab, firing every five minutes:

*/5 * * * * /bin/sh /data/pwn.sh

The script was a netcat reverse shell calling back to the operator's command-and-control, and it was still running at the time of discovery. Worse for the victim's customers, environment variables inside the pod exposed internal service names for roughly 20 named customer tenants — a blast-radius problem as much as an intrusion one.

This is maintained software, not a smash-and-grab

Cairn ships a memory-management daemon, cairn_guard.sh, that monitors the dispatcher process, defers restarts until no attack session holds an active lease, and rate-limits restart frequency to avoid loops. A comment in the script explains why it exists: the dispatcher once grew to 12 GB, filled swap, and was killed by the kernel's OOM killer. Someone noticed, debugged it, and fixed it. That is a maintainer's reflex — which tells you this is a tool its author intends to keep using.

What defenders should take from this

Hold the specific numbers loosely until a second source lands. But the cheap, high-value actions do not depend on the details being perfect:

  • Patch internet-facing e-commerce fast. Magento / Adobe Commerce and its extensions are squarely in the crosshairs; CosmicSting and friends are being chained aggressively.
  • Retire ShellShock-era software. If a 2014 Bash bug can still land in 2026, you have legacy systems that need to go.
  • Harden SMTP. Recipient and envelope fields should never be able to reach a shell; patch and sandbox mail delivery agents, and alert on anomalous 250-code traffic patterns.
  • Watch egress and container/pod crontabs. Unexpected scheduled tasks writing reverse shells are a high-signal detection; so is outbound traffic to unfamiliar C2.
  • Scope multi-tenant blast radius. Leaked tenant names in pod environment variables turn one breach into twenty. Segment, scope secrets, and assume lateral movement.
  • Rehearse an adaptive adversary. Tabletop the case where the attacker learns from every failed attempt and comes back smarter next round — because that is now a thing that exists.

Practise it, don't just read about it

An adversary that adapts every round is exactly the kind of threat a slideshow cannot prepare you for. On PlayCISO you can work it hands-on, free, in the browser:

Source: field report by @TheM3gatr0n, treated here as a single-source disclosure. We will update this post if the findings are independently corroborated.

Related articles
A ‘Fleet’ of AI Agents Was Caught Probing Alibaba’s Map Data — What It Means for Agent Security
Researchers at swarmcha.se report that between 28 Sept and 8 Oct 2026, a fleet of internet-connected AI agents running on Tencent Cloud repeatedly tried to extract Amap (Alibaba mapping) data — bypassing anti-bot defences by abusing a public URL-scanning service as a remote browser, and in several cases using exposed API credentials found in public source. Attribution to any specific Tencent team is explicitly uncertain. Here is what was reported, the heavy caveats the authors themselves raise, and what it means for anyone running or defending against internet-connected AI agents.
Ransomware Got Personal: When Extortion Means a Package on Your Doorstep
A 2026 Semperis ransomware report, covered by The Register, finds 37% of ransomware attacks now involve psychological or physical threats against staff — doxxing, swatting, threats to families, even packages sent to investigators' homes. Here is what the numbers say, the caveats that come with a self-reported vendor survey, and what the shift from data-encryption to human coercion changes for incident-response planning and a security leader's duty of care.
Self-Replicating AI Is Months Away — What Security Leaders Should Actually Do
New research from Anthropic’s Frontier Red Team argues that small open-weight AI models are months, not years, from being able to self-replicate across ordinary consumer hardware — no data centre required. The team ran 9B-parameter inference on cheap Android TV boxes and other IoT devices. Here is what the research actually found (and what it did not), why it reframes AI risk as an epidemic-response problem, and the concrete defences — network-anomaly detection, honeypots, ISP quarantine, killing default passwords — that security leaders can act on now.

Ready to practise the decisions these articles describe?

Run a free War Room →
🎉 New here? Use code WELCOME10 for 10% off any plan at checkout
Operation CAIRN: An Autonomous, LLM-Driven Attack Platform Found in the Wild | PlayCISO Blog · PlayCISO