Detection queries Not classifiedCairn

Amazon - Chinese-nexus operator's Cairn agents found and exploited a MONAI Label zero-day at East Asian universities

CJ Moses (Amazon Threat Intelligence, AWS Security Blog, 20 November 2026) describes a Chinese-nexus operator using the open-source Cairn framework (https://github.com/oritera/Cairn). On 10 September 2026…

What happened

CJ Moses (Amazon Threat Intelligence, AWS Security Blog, 20 November 2026) describes a Chinese-nexus operator using the open-source Cairn framework (https://github.com/oritera/Cairn). On 10 September 2026 Amazon found a publicly reachable Cairn instance with no authentication. Its operational history was visible, including project configurations, actor prompts, and AI output. Prompts were in Simplified Chinese, and timestamps in executed scripts used China Standard Time. The visible campaign lasted about 48 hours starting 8 September 2026 and targeted IP addresses of universities in East Asia outside mainland China. The operator gave target address lists and variations of the goal to obtain shell access. The agents then planned, executed, and changed approach without the operator choosing each next step. One operation spent about 16 hours and 148 sequential actions on an unauthenticated Redis instance at one university. Amazon says the agents tried known Redis control techniques, including replication abuse to load code, a Lua sandbox escape, configuration-file writes, and memory corruption, then a Log4Shell attempt against another service on the same host. After those failed, the agents used server-side request forgery in a co-located Qdrant instance to map the internal Docker network and sprayed credentials at PostgreSQL, SSH, and other services. That operation failed. A separate operation of more than 6 hours targeted a university GPU server. The agents built about 80 real usernames from faculty directories, lab sites, archived pages, and papers, then tried more than 30,000 credential combinations against SSH, an admin dashboard, a NAS, a VPN server, and the campus portal. That operation also failed. The successful operation targeted an open-source medical-imaging AI application. BleepingComputer and The Register identify that application as MONAI Label. The agents fingerprinted the framework, mapped API endpoints, found an upload endpoint with a filename parameter, and confirmed path traversal. Amazon says the gap from API mapping to arbitrary file write was about 11 minutes. A later session wrote a Python reverse shell into sitecustomize.py, which Python imports at startup, triggered a training API endpoint so a new Python process would load it, and obtained a root reverse shell. GHSA-qc22-rmgc-vg94 (published 18 November 2026, reported by aws-sec-vdp, fixed in pull request 1915) says PUT /datastore/image takes an unvalidated image parameter and PUT /datastore/label builds its path the same way. The advisory's example value is a relative path such as ../../../tmp/x. Authentication is off by default (MONAI_LABEL_AUTH_ENABLE=False). When authentication is on, the ANNOTATOR role is enough. Affected versions are 0.8.5 and earlier. The advisory's patched-versions field is None, and it says the fix will be in the next MONAI Label release. CVE-2026-133968 (GHSA-2f43-rwqm-6h67) describes the same traversal and says it was exploited in the wild starting in September 2026. Amazon assessed the bug as a zero-day with high confidence because, at the time of the activity, it had no matching fix, issue, advisory, or vulnerability-database entry. After the agents found the bug, the operator supplied a proxy that tunneled into a second university network. The server at the far end ran the same vulnerable software. Amazon infers the operator had already used the zero-day there to build the tunnel, and then directed the agents at other machines on that network. Attribution is Chinese-nexus at moderate confidence, from language, timezone, and targeting. The universities are not named. The victims were not AWS customers. Amazon notified the maintainers and worked with a government partner to notify the victims. Amazon also points to a separate Gambit Security report on a financially motivated actor using Cairn against online retailers. That report is not this campaign. Link unit42-cairn-cl-sta-1238-2026-11 and cairn-norforge-2026-10.

Amazon saw the exposed Cairn instance's project configs, operator prompts, and AI output. The operator supplied target addresses and a shell-access goal. The agents planned, executed, and adapted without the operator choosing each step. Amazon does not name the model.

Read the original sourceAdditional source: Path traversal in datastore upload endpoints allows arbitrary file writeAdditional source: CVE-2026-133968Additional source: Amazon says Chinese hackers used Cairn AI tool to discover apparent zero-day during attack on universityAdditional source: Hackers use autonomous AI tool Cairn to find zero-day, take over serverAdditional source: China attackers deployed AI agents that autonomously found and exploited a 0-day to take over a university serverAdditional source: CairnAdditional source: AI Agents Are Hacking Online Retailers for $25 a Company

How it happened

Select a stage to explore its defenses
Detect this stage
Detect this stage
Detect this stage
Detect this stage
Detect this stage
Select a stage · Drag to explore · + / − to zoom · Dashed edges are loopsSelect a stage · Arrows show reported connectionsReported sequence
Read the flow as text & sources

A catalog reconstruction of the supplied source account. Unknown steps remain explicit; an edge describes the reported relationship between steps.

  1. 01 · Exposed Cairn instance

    On 10 September 2026 Amazon found a public unauthenticated Cairn instance. Project configs, prompts in Simplified Chinese, and AI output were visible. The campaign had started on 8 September against university addresses in East Asia outside mainland China.

    Hunt: Repeated exploit or upload requests are followed by an unexpected server process, file, or outbound connection.

    A scan or high request rate alone does not prove compromise or AI use. Host telemetry is needed to confirm execution.

    Source for step 1
  2. 02 · Agents get a shell-access goal

    The operator supplied target addresses and variations of a goal to obtain shell access. Cairn agents planned and adapted without the operator choosing each step. Amazon does not name the model.

    Hunt: An agent ingests external content or an untrusted session identifier before a tool action or configuration change outside the approved task.

    Requires application instrumentation and a custom field mapping. Input exposure does not prove that the model followed instructions, executed a tool or bypassed approval. Avoid collecting sensitive prompt bodies unless authorized.

    Source for step 2
  3. 03 · Redis and password attempts fail

    About 16 hours and 148 actions against unauthenticated Redis failed, including a Log4Shell attempt, Qdrant SSRF, and credential sprays. A separate GPU-server operation tried more than 30,000 combinations from about 80 public usernames and also failed.

    Hunt: An unexpected process or tool accesses credential stores and is followed by token use or outbound transfer inconsistent with the owner.

    Defender DeviceFileEvents is not a general file-read audit trail. Collect suitable object-access, EDR or application logs; legitimate developer tools also read secrets.

    Source for step 3
  4. 04 · MONAI Label path traversal

    Agents mapped a medical-imaging AI application's API, found an upload filename parameter, and confirmed path traversal in about 11 minutes. The maintainers' advisory identifies the application as MONAI Label and the endpoints PUT /datastore/image and PUT /datastore/label.

    Hunt: Repeated exploit or upload requests are followed by an unexpected server process, file, or outbound connection.

    A scan or high request rate alone does not prove compromise or AI use. Host telemetry is needed to confirm execution.

    Source for step 4
  5. 05 · Root shell via sitecustomize.py

    A later session wrote a Python reverse shell into sitecustomize.py and triggered a training API endpoint. The new Python process loaded the file and opened a root reverse shell.

    Hunt: A package or installer creates sitecustomize.py, usercustomize.py, or a .pth startup hook in a Python environment, causing code to run during later interpreter starts.

    Legitimate packages use .pth files and customization hooks. File telemetry must cover the relevant environment, and the rule does not establish that the hook later executed.

    Source for step 5
  6. 06 · Proxy into a second university

    The operator then gave the agents a proxy into a second university network whose server ran the same vulnerable software. Amazon infers the zero-day was used to build that tunnel. The agents were directed at other machines there.

    Source for step 6

Why it matters

Reported entry point: Operator-supplied university IP addresses and a goal to obtain shell access, run by Cairn agents. The successful path was an unauthenticated path traversal in MONAI Label's datastore upload API. The Redis and credential-spray operations failed. The initial access vector for the Cairn host itself is unknown. Reported impact: A later session wrote a Python reverse shell into sitecustomize.py and triggered a training API endpoint. The new Python process loaded the file and opened a root reverse shell; The operator then gave the agents a proxy into a second university network whose server ran the same vulnerable software. Amazon infers the zero-day was used to build that tunnel. The agents were directed at other machines there; reported targets include Universities in East Asia outside mainland China. One university Redis host and one GPU server were attacked without success. One MONAI Label server was compromised with a root shell. A second university network was reached through an operator-supplied proxy. Amazon does not name the universities; applicability to your setup has not been assessed, so verify affected versions, permissions, and configuration in the original report.

Read the original report

What you can do

Protection & prevention

Do not expose MONAI Label to untrusted networks. The advisory's workarounds are to set MONAI_LABEL_AUTH_ENABLE=True, not to grant ANNOTATOR to untrusted users, and to run the server as an unprivileged user that can write only the datastore directory. The code fix is pull request 1915. The advisory still lists no patched release. Do not leave Cairn panels on 0.0.0.0:8000 without authentication. Alert on writes to sitecustomize.py and on Redis instances that allow unauthenticated access. Block the two published addresses. A same-host-key lead is not an indicator from the Amazon report.

Catalog defensive guidance based on the reported behavior. Confirm scope and current mitigations in the original source.

Review the original guidance Additional source 2 Additional source 3 Additional source 4 Additional source 5 Additional source 6 Additional source 7 Additional source 8
Investigate each phase

Detection queries

Draft query starters grouped by the attack stages where they apply.

Download stage pack

Start with the logs you collect. Each hunt identifies its required visibility, field mapping and limits. Queries are catalog-authored drafts using reusable behavior profiles; test with known activity and your normal baseline before alerting.

01Exposed Cairn instanceWeb exploitation → host activityCustom schema · Draft

On 10 September 2026 Amazon found a public unauthenticated Cairn instance. Project configs, prompts in Simplified Chinese, and AI output were visible. The campaign had started on 8 September against university addresses in East Asia outside mainland China.

What to look for

Repeated exploit or upload requests are followed by an unexpected server process, file, or outbound connection.

The exposed Cairn panel is an unauthenticated web service. Amazon does not name a host rule for the panel.

Visibility: Defender-side logs where collected

Required logs

  • Reverse-proxy / WAF request logs
  • Server process and file events
  • Outbound DNS / proxy records

Coverage limit. A scan or high request rate alone does not prove compromise or AI use. Host telemetry is needed to confirm execution.

Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.

Sigma
Draft SigmaDownload Sigma
title: Hunt - Web exploitation → host activity
id: 04d900b5-0c04-46f2-a13a-91f5574fae98
status: experimental
description: Repeated exploit or upload requests are followed by an unexpected
  server process, file, or outbound connection.
author: MagicSword OpenAttacks catalog
date: 2026-10-23
falsepositives:
  - Authorized activity matching this broad hunt; baseline and investigate
    before alerting.
level: low
logsource:
  category: application
  product: openattacks_audit
  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,
    Target and CorrelationId from the required source logs first.
detection:
  selection:
    EventType:
      - web.exploit_candidate
      - web.upload
  condition: selection
KQL
Draft KQLDownload KQL
// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.
// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).
// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.
OpenAttacksAudit_CL
| where TimeGenerated > ago(7d)
| where EventType in ("web.exploit_candidate", "web.upload")
| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId
| order by TimeGenerated desc
SPL
Draft SPLDownload SPL
sourcetype="openattacks:audit"
EventType IN ("web.exploit_candidate", "web.upload")
| table _time EventType Actor Asset Action Target CorrelationId
| sort - _time
Investigation steps
  1. Join requests to the affected host and process tree by time and request ID.
  2. Inspect uploaded files and server-spawned shells; distinguish authorized testing from exploitation.
02Agents get a shell-access goalUntrusted content enters an agent sessionCustom schema · Draft

The operator supplied target addresses and variations of a goal to obtain shell access. Cairn agents planned and adapted without the operator choosing each step. Amazon does not name the model.

What to look for

An agent ingests external content or an untrusted session identifier before a tool action or configuration change outside the approved task.

Operator prompts and AI output were on the attacker panel. That is not victim-side telemetry.

Visibility: Application / agent audit records

Required logs

  • Input provenance, source type and request/session identifier
  • Captured tool responses or retrieved content where collection is approved
  • Subsequent tool calls, configuration changes and approval decisions

Coverage limit. Requires application instrumentation and a custom field mapping. Input exposure does not prove that the model followed instructions, executed a tool or bypassed approval. Avoid collecting sensitive prompt bodies unless authorized.

Custom-schema candidate for input exposure only. Map agent.input.ingest and agent.session.resume to your application request and session logs. CorrelationId must link subsequent actions. EventType values are proposed normalization names, not native vendor events.

Sigma
Draft SigmaDownload Sigma
title: Hunt - Untrusted content enters an agent session
id: 2d89d7ae-9d44-4dc6-a95b-f9c8de7b8352
status: experimental
description: An agent ingests external content or an untrusted session
  identifier before a tool action or configuration change outside the approved
  task.
author: MagicSword OpenAttacks catalog
date: 2026-11-04
falsepositives:
  - Authorized activity matching this broad hunt; baseline and investigate
    before alerting.
level: low
logsource:
  category: application
  product: openattacks_audit
  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,
    Target and CorrelationId from the required source logs first.
detection:
  selection:
    EventType:
      - agent.input.ingest
      - agent.session.resume
  condition: selection
KQL
Draft KQLDownload KQL
// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.
// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).
// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.
OpenAttacksAudit_CL
| where TimeGenerated > ago(7d)
| where EventType in ("agent.input.ingest", "agent.session.resume")
| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId
| order by TimeGenerated desc
SPL
Draft SPLDownload SPL
sourcetype="openattacks:audit"
EventType IN ("agent.input.ingest", "agent.session.resume")
| table _time EventType Actor Asset Action Target CorrelationId
| sort - _time
Investigation steps
  1. Join the ingested input to later actions by session or request ID; preserve the original content as evidence.
  2. Compare the resulting action with the approved task and baseline. Receiving suspicious text alone is not successful injection.
03Redis and password attempts failSensitive store access → credential useCustom schema · Draft

About 16 hours and 148 actions against unauthenticated Redis failed, including a Log4Shell attempt, Qdrant SSRF, and credential sprays. A separate GPU-server operation tried more than 30,000 combinations from about 80 public usernames and also failed.

What to look for

An unexpected process or tool accesses credential stores and is followed by token use or outbound transfer inconsistent with the owner.

The Redis operation and the GPU-server password spray failed. The credential profile is the password spray, not a Redis rule.

Visibility: Defender-side logs where collected

Required logs

  • File-read / API access telemetry for relevant secret stores
  • Process identity and command lines
  • Identity, token and outbound-network audit logs

Coverage limit. Defender DeviceFileEvents is not a general file-read audit trail. Collect suitable object-access, EDR or application logs; legitimate developer tools also read secrets.

Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.

Sigma
Draft SigmaDownload Sigma
title: Hunt - Sensitive store access → credential use
id: 46c46c62-2d83-4198-a8bf-d6637094527b
status: experimental
description: An unexpected process or tool accesses credential stores and is
  followed by token use or outbound transfer inconsistent with the owner.
author: MagicSword OpenAttacks catalog
date: 2026-10-23
falsepositives:
  - Authorized activity matching this broad hunt; baseline and investigate
    before alerting.
level: low
logsource:
  category: application
  product: openattacks_audit
  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,
    Target and CorrelationId from the required source logs first.
detection:
  selection:
    EventType:
      - secret.read
      - credential.store.read
  condition: selection
KQL
Draft KQLDownload KQL
// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.
// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).
// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.
OpenAttacksAudit_CL
| where TimeGenerated > ago(7d)
| where EventType in ("secret.read", "credential.store.read")
| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId
| order by TimeGenerated desc
SPL
Draft SPLDownload SPL
sourcetype="openattacks:audit"
EventType IN ("secret.read", "credential.store.read")
| table _time EventType Actor Asset Action Target CorrelationId
| sort - _time
Investigation steps
  1. Identify the actor, process and exact store touched, then pivot to token use from new devices or infrastructure.
  2. Correlate reads with egress and rotate affected credentials after confirming exposure.
04MONAI Label path traversalWeb exploitation → host activityCustom schema · Draft

Agents mapped a medical-imaging AI application's API, found an upload filename parameter, and confirmed path traversal in about 11 minutes. The maintainers' advisory identifies the application as MONAI Label and the endpoints PUT /datastore/image and PUT /datastore/label.

What to look for

Repeated exploit or upload requests are followed by an unexpected server process, file, or outbound connection.

MONAI Label upload path traversal is application HTTP. The generic web profile does not name those routes.

Visibility: Defender-side logs where collected

Required logs

  • Reverse-proxy / WAF request logs
  • Server process and file events
  • Outbound DNS / proxy records

Coverage limit. A scan or high request rate alone does not prove compromise or AI use. Host telemetry is needed to confirm execution.

Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.

Sigma
Draft SigmaDownload Sigma
title: Hunt - Web exploitation → host activity
id: 04d900b5-0c04-46f2-a13a-91f5574fae98
status: experimental
description: Repeated exploit or upload requests are followed by an unexpected
  server process, file, or outbound connection.
author: MagicSword OpenAttacks catalog
date: 2026-10-23
falsepositives:
  - Authorized activity matching this broad hunt; baseline and investigate
    before alerting.
level: low
logsource:
  category: application
  product: openattacks_audit
  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,
    Target and CorrelationId from the required source logs first.
detection:
  selection:
    EventType:
      - web.exploit_candidate
      - web.upload
  condition: selection
KQL
Draft KQLDownload KQL
// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.
// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).
// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.
OpenAttacksAudit_CL
| where TimeGenerated > ago(7d)
| where EventType in ("web.exploit_candidate", "web.upload")
| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId
| order by TimeGenerated desc
SPL
Draft SPLDownload SPL
sourcetype="openattacks:audit"
EventType IN ("web.exploit_candidate", "web.upload")
| table _time EventType Actor Asset Action Target CorrelationId
| sort - _time
Investigation steps
  1. Join requests to the affected host and process tree by time and request ID.
  2. Inspect uploaded files and server-spawned shells; distinguish authorized testing from exploitation.
05Root shell via sitecustomize.pyPython startup-hook persistenceNative logs · Draft

A later session wrote a Python reverse shell into sitecustomize.py and triggered a training API endpoint. The new Python process loaded the file and opened a root reverse shell.

What to look for

A package or installer creates sitecustomize.py, usercustomize.py, or a .pth startup hook in a Python environment, causing code to run during later interpreter starts.

The root shell started from a write to sitecustomize.py and a later Python process. Amazon does not name the operating system.

Visibility: Endpoint file telemetry where collected

Required logs

  • File creation and modification events for Python library directories
  • Package-manager and installer process trees
  • Subsequent Python process and network activity

Coverage limit. Legitimate packages use .pth files and customization hooks. File telemetry must cover the relevant environment, and the rule does not establish that the hook later executed.

Python startup-hook file candidates. Tune approved packages and environments, then correlate the file event with interpreter execution.

MCP reference matches: Python Site or User Customize File Creation (Elastic detection-rules), Python Site Hooks Creation During Package Installation (Splunk Security Content). The query below is a catalog adaptation, not a verbatim upstream rule.

Sigma
Draft SigmaDownload Sigma
title: Hunt - Python Startup Hook Creation
id: e229b088-94e8-4254-8bfb-fc1e03173def
status: experimental
description: Detects creation of Python customization or path startup hooks.
author: MagicSword OpenAttacks catalog
date: 2026-11-06
references:
  - https://github.com/elastic/detection-rules/blob/main/rules/linux/persistence_site_and_user_customize_file_creation.toml
  - https://github.com/splunk/security_content/blob/develop/detections/endpoint/python_site_hooks_creation_during_package_installation.yml
falsepositives:
  - Legitimate Python package installation and environment management
level: medium
logsource:
  category: file_event
detection:
  selection_named_hook:
    TargetFilename|endswith:
      - /sitecustomize.py
      - /usercustomize.py
  selection_pth:
    TargetFilename|contains:
      - /site-packages/
      - /dist-packages/
    TargetFilename|endswith: .pth
  condition: 1 of selection_*
KQL
Draft KQLDownload KQL
DeviceFileEvents
| where Timestamp > ago(7d)
| where ActionType in ("FileCreated", "FileModified", "FileRenamed")
| where FileName in~ ("sitecustomize.py", "usercustomize.py")
    or (FileName endswith ".pth" and FolderPath has_any ("/site-packages/", "/dist-packages/", "\\site-packages\\"))
| project Timestamp, DeviceName, InitiatingProcessAccountName, FolderPath, FileName,
    InitiatingProcessFileName, InitiatingProcessCommandLine, SHA1
| order by Timestamp desc
SPL
Draft SPLDownload SPL
sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=11
(TargetFilename="*\\sitecustomize.py" OR TargetFilename="*\\usercustomize.py"
  OR TargetFilename="*\\site-packages\\*.pth")
| table _time host User Image TargetFilename ProcessGuid
| sort - _time
Investigation steps
  1. Inspect the hook contents, owner, package provenance, and creating process.
  2. Correlate later Python launches with child processes, credential access, or unexpected egress.
Technical detailsTooling, impact & MITRE ATLAS

Attack context

AI's role
AI as operator
Offensive frameworks
Cairn
Initial access
Operator-supplied university IP addresses and a goal to obtain shell access, run by Cairn agents. The successful path was an unauthenticated path traversal in MONAI Label's datastore upload API. The Redis and credential-spray operations failed. The initial access vector for the Cairn host itself is unknown.

Tooling as reported

AI products, models and artifacts

  • Cairn (https://github.com/oritera/Cairn)
  • Model unknown. Amazon does not name the model behind this instance.

Targets and reported impact

Targets / sectors
Universities in East Asia outside mainland China. One university Redis host and one GPU server were attacked without success. One MONAI Label server was compromised with a root shell. A second university network was reached through an operator-supplied proxy. Amazon does not name the universities.
Reported scale / exposure
About 48 hours starting 8 September 2026. Redis operation about 16 hours and 148 actions, failed. GPU-server operation more than 6 hours, about 80 usernames and more than 30,000 credential combinations, failed. MONAI Label path from API mapping to arbitrary file write about 11 minutes, then a root shell in a later session. Two published addresses, records dated 8-10 September 2026. Victim count beyond those operations is unknown.
Target geography
Asia

Amazon says the targets were universities in East Asia outside mainland China and does not name the countries. Mainland China is excluded by that wording, so it is not a victim region. Simplified Chinese and China Standard Time are operator signals. San Jose geolocation in the Censys lead is hosting infrastructure, not a victim country.

Reported attribution

Unnamed Chinese-nexus operator. Amazon Threat Intelligence assesses moderate confidence from Simplified Chinese prompts, China Standard Time script timestamps, and targeting of universities it describes as likely of strategic interest to China. This is not CL-STA-1238.

Structured attribution

Actor
Chinese-nexus (unnamed)
Country
China
Motivation
unknown
Attributed by
Amazon Threat Intelligence
Attribution confidence
medium

Detection rules

  • Python Site or User Customize File CreationELASTICView rule

    Elastic rule on Linux file events. It alerts when sitecustomize.py or usercustomize.py is created. Amazon says a later session wrote a Python reverse shell into sitecustomize.py. Amazon does not name the operating system, so a host that is not covered by this rule's Linux file telemetry will not match. The rule does not detect the MONAI Label upload or the training API call.

  • Redis abuse and the failed credential spraysGUIDANCE

    No Sigma, Splunk, or Elastic rule reviewed for this entry names Cairn or the MONAI Label datastore endpoints. Amazon's failed Redis operation used replication abuse, a Lua sandbox escape, configuration writes, memory corruption, a Log4Shell attempt, Qdrant SSRF, and credential sprays against PostgreSQL and SSH. Hunt unauthenticated Redis, unexpected Redis replication, and credential failures from a single source against SSH, PostgreSQL, and campus portals. Those hunts are not a confirmed rule match for this incident.

Activity timeline

First seen
2026-09-08
Last updated
2026-11-21

Updates

  • 2026-09-08 — Amazon Threat Intelligence

    Visible campaign starts against university addresses in East Asia outside mainland China. Records Amazon later published are dated 8-10 September 2026.

  • 2026-09-10 — Amazon Threat Intelligence

    Amazon finds the public unauthenticated Cairn instance and its operational history, including the failed Redis and GPU-server operations and the MONAI Label root shell.

  • 2026-11-18 — Project MONAI

    GHSA-qc22-rmgc-vg94 is published for MONAI Label 0.8.5 and earlier. The fix is pull request 1915. The advisory lists no patched release.

  • 2026-11-20 — Amazon Threat Intelligence

    AWS Security Blog publishes the campaign. CVE-2026-133968 is published the same day and says the traversal was exploited in the wild starting in September 2026.

Linked tools

  • Cairn — agentic-offensive-framework

Source defensive notes

Do not expose MONAI Label to untrusted networks. The advisory's workarounds are to set MONAI_LABEL_AUTH_ENABLE=True, not to grant ANNOTATOR to untrusted users, and to run the server as an unprivileged user that can write only the datastore directory. The code fix is pull request 1915. The advisory still lists no patched release. Do not leave Cairn panels on 0.0.0.0:8000 without authentication. Alert on writes to sitecustomize.py and on Redis instances that allow unauthenticated access. Block the two published addresses. A same-host-key lead is not an indicator from the Amazon report.

MITRE ATLAS

AI-specific catalog annotations based on the reported behavior; these are not MITRE case-study assignments.

AML.T0016.002Generative AI

The operator ran Cairn, the same offensive framework mapped on the other Cairn entries, and Amazon reviewed its prompts and AI output. Source

AML.T0103Deploy AI Agent

The operator deployed Cairn agents with target addresses and a goal to obtain shell access, and the agents chose the next steps. Source

AML.T0053AI Agent Tool Invocation

Amazon says the agents planned, executed, and adapted across Redis, credential spraying, and the MONAI Label upload API without the operator choosing each step. Source

AML.T0049Exploit Public-Facing Application

The successful intrusion was path traversal on a reachable MONAI Label datastore upload endpoint, followed by a file write that produced a root shell. Source

Indicators of compromise

domains

    ips

    • 142.4.98[.]145
    • 142.4.107[.]34

    hashes

      urls

        Sources & research credit

        8 sources

        Research by CJ Moses · Amazon

        1. Chinese-nexus actor's Cairn AI agents found a zero-day on their own aws.amazon.com
        2. Path traversal in datastore upload endpoints allows arbitrary file write github.com
        3. CVE-2026-133968 github.com
        4. Amazon says Chinese hackers used Cairn AI tool to discover apparent zero-day during attack on university therecord.media
        5. Hackers use autonomous AI tool Cairn to find zero-day, take over server www.bleepingcomputer.com
        6. China attackers deployed AI agents that autonomously found and exploited a 0-day to take over a university server www.theregister.com
        7. Cairn github.com
        8. AI Agents Are Hacking Online Retailers for $25 a Company gambit.security

        Campaign dates, the three operations, the root shell, attribution, and the two addresses are from the AWS Security Blog. Amazon's post does not print the product name MONAI Label. BleepingComputer and The Register do, and GHSA-qc22-rmgc-vg94 was reported by aws-sec-vdp and describes the same upload traversal. The advisory's patched-versions field was None on review, even though pull request 1915 is merged. CVE wording is from GHSA-2f43-rwqm-6h67. Amazon cites Gambit Security's report at https://gambit.security/blog-posts/autonomous-ai-agents-online-retailers-25-a-company for a separate financially motivated Cairn case against online retailers. No catalog entry is that report. Link unit42-cairn-cl-sta-1238-2026-11 and cairn-norforge-2026-10. Censys lead, not an IOC. A Censys host snapshot queried at 2026-09-09T12:00:00Z shows 142.4.98[.]145 and 142.4.107[.]34 in AS54600 (PEG TECH INC), geolocated to San Jose, serving an HTTP page titled Cairn on port 8000 (uvicorn) and SSH on port 12686 with the same SSH host key (SHA-256 af825c8d0b6dfc2505b0c59040f8b97effcd37e28bbece0ba693d462fd5e2bce). 142.4.107[.]34 also served a Python SimpleHTTP/0.6 directory listing on port 9999. The listing included cairn-prompts/, 51 files named claude-XXXX-cwd plus a claude-1000 directory, attack1_traversal.snapshot through attack7_pax.snapshot, craft_malicious_snapshot.py, docker_ssrf_probe.sh, docker_exec_rce.py, dns_server.py, dns_callbacks.log, combined_134_passwords.txt, context_passwords.txt, and err_CommonsCollections1.txt and similar err_CommonsCollections names. Whether the claude-XXXX-cwd names are Claude Code working-directory files is not established by the directory listing. A third address, 142.4.107[.]57, presented the same SSH host key in that 9 September snapshot and no Cairn page. It is an unconfirmed lead and is not an IOC. An October snapshot of 142.4.98[.]145 (14 October 2026) no longer showed the Cairn page or port 9999. It showed Apache with PHP 5.6.40 on 8081 and 18082, MySQL 5.6.51 on 33062, and SSH on 12686. The same October check was not repeated here for the other two addresses. No victim IP addresses are included.

        Record & downloads
        Source record name
        Amazon - Chinese-nexus operator's Cairn agents found and exploited a MONAI Label zero-day at East Asian universities
        Entry ID
        amazon-cairn-monai-label-zero-day-universities-2026-11
        Catalog review
        November 21, 2026
        AI-role confidence
        high
        Category
        adversary-use-of-ai
        AI involvement confidence
        confirmed
        Aliases
        CVE-2026-133968 · GHSA-qc22-rmgc-vg94 · GHSA-2f43-rwqm-6h67