Skip to content
All posts

Operation CAIRN: LLM-Driven Attack Platform in the Wild

October 15, 2026 · Team PlayCISO
TL;DR · the short version

A researcher (@TheM3gatr0n) reported Operation CAIRN (actor UNC-CAIRN), possibly the first documented autonomous LLM-driven attack platform at scale; treat it as a single-source disclosure, credible but not independently corroborated. A dispatcher spins up a Kali container per victim and hands an LLM (reported as DeepSeek v4.1-flash) a goal and a persistent fact-graph, across 90+ sessions against 85+ targets. The exploit that landed was ShellShock (CVE-2014-6271) via a qmail RCPT TO field. Hold the specifics loosely until corroborated.

Put it into practice
SOC Log Triage Trainer
Practice spotting the malicious logs in a stream of 1,000 across identity, EDR, cloud, email and network.
Open the tool →
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. Update, November 2026: Google's threat intelligence group has since reported attackers using agentic frameworks in real intrusions, including a tool it calls CAIRN (GTIG does not say whether it is the platform covered here); see ARTEX and agentic attack frameworks: what GTIG found. Not to be confused with: the open-source project oritera/Cairn on GitHub, an AI pentest engine that shares the name; no source we have read links it to the platform described here. See Cairn AI pentest engine: 54/54 Tencent claim checked.

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 (decode a 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.

Useful next, if this was relevant to you

Showing 1 of 3: Breach Cost Calculator

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.

Frequently asked questions

Is Operation CAIRN confirmed by multiple sources?

As of this writing it is a single-source disclosure by a threat researcher (handle @TheM3gatr0n), published with architecture detail, IOCs, CVEs and log excerpts. It is credible and internally consistent, but we have not seen independent corroboration from major vendors or a CERT. Treat the specific numbers and attribution as reported-not-verified, and weight your response to the parts that are cheap to act on regardless (patching, SMTP hardening, egress monitoring).

What actually makes Cairn different from normal attack automation?

Persistent memory. Ordinary automation runs a fixed playbook and forgets. Cairn gives an LLM a fact-graph of everything tried against a target across sessions — what worked, what was blocked, what is now confirmed — written back after each run in a structured (Chinese-language) summary. Across 90+ sessions against one target the model reads its own prior work and adapts, so it behaves less like a scanner and more like a tireless analyst who never repeats a dead end.

How did ShellShock over SMTP work here?

The operator injected a bash payload into the RCPT TO field of a mail server running qmail. qmail strips the domain after the @ and passes the local part to its delivery agent; with a ShellShock-vulnerable environment that local part reached bash and executed during a normal SMTP handshake. Command output was piped back via curl and smuggled inside routine 250 reply codes, so the exfil looked like ordinary mail acknowledgements. The fix is the same as it was in 2014: patch Bash/retire ShellShock-era systems, and never let mail-field input reach a shell.

Which systems were targeted, and what should I patch first?

Reported targeting skews to US e-commerce, automotive finance, healthcare media and multi-tenant SaaS. The weaponised CVEs centre on Magento/Adobe Commerce (CVE-2024-34102 CosmicSting, CVE-2022-24086, CVE-2026-75650 "StyleSmuggler"), an Amasty extension (CVE-2026-53787), FortiAuthenticator (CVE-2026-44277) and ShellShock (CVE-2014-6271). Prioritise internet-facing e-commerce platforms and their extensions, edge/identity appliances, and any legacy service that could still be ShellShock-vulnerable.

Does this mean AI is now launching autonomous attacks on its own?

No — a human operator still sets the target and the goal and runs the platform. What is autonomous is the per-session decision loop: the LLM chooses and executes the next step without a human for that session. That is a meaningful shift in tempo and persistence, not a self-directed rogue AI. The practical takeaway is that defenders should assume adversaries that adapt every round and never tire, and test their controls against that.

How can my team practise defending against an adaptive, autonomous adversary?

Run it as a scenario, not a slideshow. PlayCISO’s Cyber War Room has branching incident simulations where the adversary’s next move depends on yours, the SIEM detection-rule lab lets you write and tune detections for IOCs like anomalous SMTP 250 traffic or unexpected crontab writes, and the IR-playbook lab helps you codify containment for a fast-moving intrusion. Pair those with basic hygiene checks (patch cadence, egress monitoring, multi-tenant blast-radius scoping) and a tabletop built around "the attacker learns from every failed attempt."

Spotted an error? Report an error. A person reads every message.

Take this with you
What was found · The architecture · What actually makes this different · The CVEs in play · The vector worth studying: ShellShock ov… · A second foothold: GCP, Redis, and a fiv…

Ready to practise the decisions these articles describe?

Run your first Cyber War Room free →

Pro