{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":1,"rules":[{"id":"1bb5c45b-c112-55c0-8e39-0affff7302e7","date":"2026-11-26","format":"xql","title":"Cairn Task Snapshot, Pi Provider Key or Competition Skill Written","description":"Detects files Cairn writes on a worker host: graph.yaml task snapshots under /tmp/cairn-prompts/, the Pi worker's\nmodels.json with the provider API key under /tmp/cairn-pi/, and the tsec-actions skill from the Tencent TCH\ncompetition setup that operators' worker images still carry. Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"high","attack":["T1059"],"references":["https://github.com/oritera/Cairn","https://norforge.com/blog/inside_cairn","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/cairn/sigma/file_event/file_event_lnx_cairn_artifacts.yml"],"falsepositives":["Authorized red team use of Cairn"],"content":"// Threat Brief · Cairn · Cairn Task Snapshot, Pi Provider Key or Competition Skill Written · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.FILE and event_sub_type in (ENUM.FILE_CREATE_NEW, ENUM.FILE_WRITE, ENUM.FILE_RENAME)\n| filter agent_os_type = ENUM.AGENT_OS_LINUX\n| filter (action_file_path contains \"/tmp/cairn-prompts/\" or action_file_path contains \"/tmp/cairn-pi/\" or action_file_path contains \"/skills/tsec-actions/SKILL.md\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_file_path\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"}]}