{
  "attack_id": "amazon-cairn-monai-label-zero-day-universities-2026-11",
  "status": "catalog_recommendations_not_validated_coverage",
  "stages": [
    {
      "node_id": "exposed",
      "profile": "web",
      "title": "Web exploitation → host activity",
      "hypothesis": "Repeated exploit or upload requests are followed by an unexpected server process, file, or outbound connection.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Reverse-proxy / WAF request logs",
        "Server process and file events",
        "Outbound DNS / proxy records"
      ],
      "investigate": [
        "Join requests to the affected host and process tree by time and request ID.",
        "Inspect uploaded files and server-spawned shells; distinguish authorized testing from exploitation."
      ],
      "limitation": "A scan or high request rate alone does not prove compromise or AI use. Host telemetry is needed to confirm execution.",
      "note": "The exposed Cairn panel is an unauthenticated web service. Amazon does not name a host rule for the panel.",
      "queries": {
        "sigma": "title: Hunt - Web exploitation → host activity\nid: 04d900b5-0c04-46f2-a13a-91f5574fae98\nstatus: experimental\ndescription: Repeated exploit or upload requests are followed by an unexpected\n  server process, file, or outbound connection.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - web.exploit_candidate\n      - web.upload\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"web.exploit_candidate\", \"web.upload\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"web.exploit_candidate\", \"web.upload\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "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.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/web.yaml",
      "query_downloads": {
        "sigma": "/api/detections/web.sigma.yml",
        "kql": "/api/detections/web.kql",
        "spl": "/api/detections/web.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "agents",
      "profile": "agent-input",
      "title": "Untrusted content enters an agent session",
      "hypothesis": "An agent ingests external content or an untrusted session identifier before a tool action or configuration change outside the approved task.",
      "visibility": "Application / agent audit records",
      "telemetry": [
        "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"
      ],
      "investigate": [
        "Join the ingested input to later actions by session or request ID; preserve the original content as evidence.",
        "Compare the resulting action with the approved task and baseline. Receiving suspicious text alone is not successful injection."
      ],
      "limitation": "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.",
      "note": "Operator prompts and AI output were on the attacker panel. That is not victim-side telemetry.",
      "queries": {
        "sigma": "title: Hunt - Untrusted content enters an agent session\nid: 2d89d7ae-9d44-4dc6-a95b-f9c8de7b8352\nstatus: experimental\ndescription: An agent ingests external content or an untrusted session\n  identifier before a tool action or configuration change outside the approved\n  task.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-11-04\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - agent.input.ingest\n      - agent.session.resume\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"agent.input.ingest\", \"agent.session.resume\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"agent.input.ingest\", \"agent.session.resume\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "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.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/agent-input.yaml",
      "query_downloads": {
        "sigma": "/api/detections/agent-input.sigma.yml",
        "kql": "/api/detections/agent-input.kql",
        "spl": "/api/detections/agent-input.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "failed",
      "profile": "credentials",
      "title": "Sensitive store access → credential use",
      "hypothesis": "An unexpected process or tool accesses credential stores and is followed by token use or outbound transfer inconsistent with the owner.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "File-read / API access telemetry for relevant secret stores",
        "Process identity and command lines",
        "Identity, token and outbound-network audit logs"
      ],
      "investigate": [
        "Identify the actor, process and exact store touched, then pivot to token use from new devices or infrastructure.",
        "Correlate reads with egress and rotate affected credentials after confirming exposure."
      ],
      "limitation": "Defender DeviceFileEvents is not a general file-read audit trail. Collect suitable object-access, EDR or application logs; legitimate developer tools also read secrets.",
      "note": "The Redis operation and the GPU-server password spray failed. The credential profile is the password spray, not a Redis rule.",
      "queries": {
        "sigma": "title: Hunt - Sensitive store access → credential use\nid: 46c46c62-2d83-4198-a8bf-d6637094527b\nstatus: experimental\ndescription: An unexpected process or tool accesses credential stores and is\n  followed by token use or outbound transfer inconsistent with the owner.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - secret.read\n      - credential.store.read\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"secret.read\", \"credential.store.read\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"secret.read\", \"credential.store.read\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "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.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/credentials.yaml",
      "query_downloads": {
        "sigma": "/api/detections/credentials.sigma.yml",
        "kql": "/api/detections/credentials.kql",
        "spl": "/api/detections/credentials.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "traversal",
      "profile": "web",
      "title": "Web exploitation → host activity",
      "hypothesis": "Repeated exploit or upload requests are followed by an unexpected server process, file, or outbound connection.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Reverse-proxy / WAF request logs",
        "Server process and file events",
        "Outbound DNS / proxy records"
      ],
      "investigate": [
        "Join requests to the affected host and process tree by time and request ID.",
        "Inspect uploaded files and server-spawned shells; distinguish authorized testing from exploitation."
      ],
      "limitation": "A scan or high request rate alone does not prove compromise or AI use. Host telemetry is needed to confirm execution.",
      "note": "MONAI Label upload path traversal is application HTTP. The generic web profile does not name those routes.",
      "queries": {
        "sigma": "title: Hunt - Web exploitation → host activity\nid: 04d900b5-0c04-46f2-a13a-91f5574fae98\nstatus: experimental\ndescription: Repeated exploit or upload requests are followed by an unexpected\n  server process, file, or outbound connection.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - web.exploit_candidate\n      - web.upload\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"web.exploit_candidate\", \"web.upload\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"web.exploit_candidate\", \"web.upload\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "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.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/web.yaml",
      "query_downloads": {
        "sigma": "/api/detections/web.sigma.yml",
        "kql": "/api/detections/web.kql",
        "spl": "/api/detections/web.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/",
        "https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "shell",
      "profile": "python-startup-persistence",
      "title": "Python startup-hook persistence",
      "hypothesis": "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.",
      "visibility": "Endpoint file telemetry where collected",
      "telemetry": [
        "File creation and modification events for Python library directories",
        "Package-manager and installer process trees",
        "Subsequent Python process and network activity"
      ],
      "investigate": [
        "Inspect the hook contents, owner, package provenance, and creating process.",
        "Correlate later Python launches with child processes, credential access, or unexpected egress."
      ],
      "limitation": "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.",
      "note": "The root shell started from a write to sitecustomize.py and a later Python process. Amazon does not name the operating system.",
      "queries": {
        "sigma": "title: Hunt - Python Startup Hook Creation\nid: e229b088-94e8-4254-8bfb-fc1e03173def\nstatus: experimental\ndescription: Detects creation of Python customization or path startup hooks.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-11-06\nreferences:\n  - https://github.com/elastic/detection-rules/blob/main/rules/linux/persistence_site_and_user_customize_file_creation.toml\n  - https://github.com/splunk/security_content/blob/develop/detections/endpoint/python_site_hooks_creation_during_package_installation.yml\nfalsepositives:\n  - Legitimate Python package installation and environment management\nlevel: medium\nlogsource:\n  category: file_event\ndetection:\n  selection_named_hook:\n    TargetFilename|endswith:\n      - /sitecustomize.py\n      - /usercustomize.py\n  selection_pth:\n    TargetFilename|contains:\n      - /site-packages/\n      - /dist-packages/\n    TargetFilename|endswith: .pth\n  condition: 1 of selection_*\n",
        "kql": "DeviceFileEvents\n| where Timestamp > ago(7d)\n| where ActionType in (\"FileCreated\", \"FileModified\", \"FileRenamed\")\n| where FileName in~ (\"sitecustomize.py\", \"usercustomize.py\")\n    or (FileName endswith \".pth\" and FolderPath has_any (\"/site-packages/\", \"/dist-packages/\", \"\\\\site-packages\\\\\"))\n| project Timestamp, DeviceName, InitiatingProcessAccountName, FolderPath, FileName,\n    InitiatingProcessFileName, InitiatingProcessCommandLine, SHA1\n| order by Timestamp desc",
        "spl": "sourcetype=\"XmlWinEventLog:Microsoft-Windows-Sysmon/Operational\" EventCode=11\n(TargetFilename=\"*\\\\sitecustomize.py\" OR TargetFilename=\"*\\\\usercustomize.py\"\n  OR TargetFilename=\"*\\\\site-packages\\\\*.pth\")\n| table _time host User Image TargetFilename ProcessGuid\n| sort - _time"
      },
      "query_scope": "Python startup-hook file candidates. Tune approved packages and environments, then correlate the file event with interpreter execution.",
      "query_kind": "native",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/python-startup-persistence.yaml",
      "query_downloads": {
        "sigma": "/api/detections/python-startup-persistence.sigma.yml",
        "kql": "/api/detections/python-startup-persistence.kql",
        "spl": "/api/detections/python-startup-persistence.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": [
        {
          "name": "Python Site or User Customize File Creation",
          "id": "d788313c-9e0b-4c5a-8c4b-c3f05a47d5a8",
          "source": "Elastic detection-rules",
          "url": "https://github.com/elastic/detection-rules/blob/main/rules/linux/persistence_site_and_user_customize_file_creation.toml"
        },
        {
          "name": "Python Site Hooks Creation During Package Installation",
          "id": "efaf40f5-779f-4b48-a941-b7d1a7c931ed",
          "source": "Splunk Security Content",
          "url": "https://github.com/splunk/security_content/blob/develop/detections/endpoint/python_site_hooks_creation_during_package_installation.yml"
        }
      ]
    },
    {
      "node_id": "second",
      "profile": "unassessed",
      "title": "Stage hunt not mapped yet",
      "hypothesis": "A stage-specific hunt has not been reviewed for this part of the source account.",
      "visibility": "Not assessed",
      "telemetry": [],
      "investigate": [
        "Review the cited behavior, identify the observing party and available logs, then propose and test a hunt."
      ],
      "limitation": "An unmapped stage does not mean it is undetectable or that no behavior occurred. It means this catalog has not supplied a reviewed hunt for it.",
      "note": "Amazon infers the operator already had a tunnel into a second university. The proxy itself was not recovered.",
      "queries": null,
      "query_scope": "No query has been reviewed for this stage yet.",
      "query_kind": "gap",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/unassessed.yaml",
      "query_downloads": null,
      "validation": "not_assessed",
      "evidence": [
        "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
      ],
      "reviewed": null,
      "upstream_matches": []
    }
  ],
  "attack_flow": {
    "nodes": [
      {
        "id": "exposed",
        "title": "Exposed Cairn instance",
        "description": "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.",
        "kind": "access",
        "source_urls": [
          "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
        ]
      },
      {
        "id": "agents",
        "title": "Agents get a shell-access goal",
        "description": "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.",
        "kind": "ai",
        "source_urls": [
          "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
        ]
      },
      {
        "id": "failed",
        "title": "Redis and password attempts fail",
        "description": "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.",
        "kind": "execution",
        "source_urls": [
          "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
        ]
      },
      {
        "id": "traversal",
        "title": "MONAI Label path traversal",
        "description": "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.",
        "kind": "execution",
        "source_urls": [
          "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/",
          "https://github.com/Project-MONAI/MONAILabel/security/advisories/GHSA-qc22-rmgc-vg94"
        ]
      },
      {
        "id": "shell",
        "title": "Root shell via sitecustomize.py",
        "description": "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.",
        "kind": "impact",
        "source_urls": [
          "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
        ]
      },
      {
        "id": "second",
        "title": "Proxy into a second university",
        "description": "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.",
        "kind": "impact",
        "source_urls": [
          "https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/"
        ]
      }
    ],
    "edges": [
      {
        "source": "exposed",
        "target": "agents"
      },
      {
        "source": "agents",
        "target": "failed"
      },
      {
        "source": "agents",
        "target": "traversal"
      },
      {
        "source": "traversal",
        "target": "shell"
      },
      {
        "source": "shell",
        "target": "second"
      }
    ]
  }
}