Tia N.List

CTI · reviewed · 2026-11-22

Amazon says Chinese hackers used Cairn AI tool to discover apparent zero-day during attack on university

Full story & timeline

Actors

CL-STA-1238

Malware / tools

—

Campaigns

Cairn autonomous AI-agent intrusion campaign against East Asian universities

CVEs

CVE-2026-133968

Victim sectors

education

Geography

East Asia

MITRE ATT&CK

Indicators

No curated indicators tied to this case.

Detections

Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.

Sigma raw

title: Python Application Spawning a Shell Reverse Connection (Cairn / MONAI Label Intrusion)
id: d9fa78f0-21b5-4b53-9082-a0fabd945518
status: experimental
description: >
    Detects a Python web application process spawning a Unix shell that
    carries reverse-connection syntax. Amazon Threat Intelligence described
    exactly this final step against an internet-facing MONAI Label server:
    autonomous Cairn agents used a path traversal in the datastore upload
    endpoint (CVE-2026-133968) to write a Python reverse shell into a file the
    interpreter reads at startup, then obtained a root shell. The parent side
    is the Python interpreter hosting the exposed application; the child side
    is a shell whose command line redirects a socket back to the operator.
    Any hit on a server that has no business running shell one-liners is worth
    immediate triage.
references:
    - https://aws.amazon.com/blogs/security/chinese-nexus-actors-cairn-ai-agents-found-a-zero-day-on-their-own/
    - https://thehackernews.com/2026/11/attackers-ai-agents-found-zero-day-in.html
    - https://www.bleepingcomputer.com/news/security/hackers-use-autonomous-ai-tool-cairn-to-find-zero-day-take-over-server/
author: Tia N. List
date: 2026/11/22
tags:
    - attack.t1190
    - attack.t1059
    - attack.t1546
logsource:
    category: process_creation
    product: linux
detection:
    selection_parent:
        ParentImage|endswith:
            - '/python3'
            - '/python'
            - '/python3.11'
            - '/python3.12'
            - '/python3.13'
    selection_shell:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/ash'
            - '/zsh'
    selection_reverse:
        CommandLine|contains:
            - '/dev/tcp/'
            - '/dev/udp/'
            - 'bash -i'
            - 'nc -e'
            - 'ncat -e'
            - 'mkfifo'
            - '0>&1'
            - 'socket.socket'
    condition: selection_parent and selection_shell and selection_reverse
falsepositives:
    - Developer workstations and CI jobs where a Python script legitimately launches a shell one-liner that mentions a socket or /dev/tcp redirect
    - Health-check or diagnostic scripts maintained by an application team
level: high

Splunk SPL raw

# amazon-says-chinese-hackers-used-cairn-ai-tool-to-discover-appar — Splunk SPL variant (derived from amazon-says-chinese-hackers-used-cairn-ai-tool-to-discover-appar.sigma via sigma convert)
# source-sha256: 95602dffdc5eea7bd5cf63e051c256732087e749d05e3899b46f101bcfb369b8 v1
ParentImage IN ("*/python3", "*/python", "*/python3.11", "*/python3.12", "*/python3.13") Image IN ("*/sh", "*/bash", "*/dash", "*/ash", "*/zsh") CommandLine IN ("*/dev/tcp/*", "*/dev/udp/*", "*bash -i*", "*nc -e*", "*ncat -e*", "*mkfifo*", "*0>&1*", "*socket.socket*")

KQL (Sentinel / Defender) raw

# amazon-says-chinese-hackers-used-cairn-ai-tool-to-discover-appar — KQL variant (derived from amazon-says-chinese-hackers-used-cairn-ai-tool-to-discover-appar.sigma via sigma convert)
# source-sha256: 95602dffdc5eea7bd5cf63e051c256732087e749d05e3899b46f101bcfb369b8 v1
(ParentImage endswith "/python3" or ParentImage endswith "/python" or ParentImage endswith "/python3.11" or ParentImage endswith "/python3.12" or ParentImage endswith "/python3.13") and (Image endswith "/sh" or Image endswith "/bash" or Image endswith "/dash" or Image endswith "/ash" or Image endswith "/zsh") and (CommandLine contains "/dev/tcp/" or CommandLine contains "/dev/udp/" or CommandLine contains "bash -i" or CommandLine contains "nc -e" or CommandLine contains "ncat -e" or CommandLine contains "mkfifo" or CommandLine contains "0>&1" or CommandLine contains "socket.socket")

References

Source on GitHub