{"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":7,"rules":[{"id":"eab1ea42-46c5-5fb2-bee1-c4622b2f7bcb","date":"2026-11-26","format":"xql","title":"Cairn Agent Worker or Dispatcher Command Line","description":"Detects command lines that only Cairn produces: the Codex worker's model_provider=\"cairn\" override, the Pi worker's\n--provider cairn and /tmp/cairn-pi/ agent folder, the dispatcher and server entry points, and the cairn-dispatch-\nworker containers. Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"high","attack":["T1059.004"],"references":["https://github.com/oritera/Cairn","https://github.com/ThreatDefence/agentic-attack-detections","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/cairn/sigma/process_creation/proc_creation_lnx_cairn_worker_command_line.yml"],"falsepositives":["Authorized red team use of Cairn"],"content":"// Threat Brief · Cairn · Cairn Agent Worker or Dispatcher Command Line · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter agent_os_type = ENUM.AGENT_OS_LINUX\n| filter (action_process_image_command_line contains \"model_provider=\\\"cairn\\\"\" or action_process_image_command_line contains \"model_providers.cairn.base_url\" or action_process_image_command_line contains \"--provider cairn\" or action_process_image_command_line contains \"/tmp/cairn-pi/\" or action_process_image_command_line contains \"/tmp/cairn-prompts/\" or action_process_image_command_line contains \"cairn dispatch --config\" or action_process_image_command_line contains \"cairn-dispatch-\" or action_process_image_command_line contains \"cairn-worker-container\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"90cb657b-adb7-56a0-94e0-2cc14d9b2520","date":"2026-11-26","format":"xql","title":"PentAGI Agent Command Wrapper","description":"Detects the shell wrapper PentAGI puts around every agent command in its Kali worker container: it ignores hangups,\nraises the process's oom_score_adj by one to mark the flow, then runs the command with exec sh -c \"$0\". Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"high","attack":["T1059.004"],"references":["https://github.com/vxcontrol/pentagi","https://github.com/ThreatDefence/agentic-attack-detections","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/pentagi/sigma/process_creation/proc_creation_lnx_pentagi_agent_command_wrapper.yml"],"falsepositives":["Authorized red team use of PentAGI"],"content":"// Threat Brief · PentAGI · PentAGI Agent Command Wrapper · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter agent_os_type = ENUM.AGENT_OS_LINUX\n| filter (action_process_image_command_line contains \"trap \\\"\\\" HUP\" and action_process_image_command_line contains \"/proc/self/oom_score_adj\" and action_process_image_command_line contains \"exec sh -c \\\"$0\\\"\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"21492df1-996a-5b84-9399-81625b79a0cc","date":"2026-11-26","format":"xql","title":"HexStrike Server or MCP Client Process","description":"Detects the HexStrike tool server, its MCP client, and tools started by the server. Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"high","attack":["T1059.004"],"references":["https://github.com/0x4m4/hexstrike-ai","https://github.com/ThreatDefence/agentic-attack-detections","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/hexstrike/sigma/process_creation/proc_creation_lnx_hexstrike_server_or_mcp_client.yml"],"falsepositives":["Authorized red team use of HexStrike"],"content":"// Threat Brief · HexStrike · HexStrike Server or MCP Client Process · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter agent_os_type = ENUM.AGENT_OS_LINUX\n| filter ((action_process_image_command_line contains \"hexstrike_server.py\" or action_process_image_command_line contains \"hexstrike_mcp.py\") or actor_process_command_line contains \"hexstrike_server.py\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"1ecc8634-a846-4958-90b5-346033e710f8","date":"2026-11-19","format":"xql","title":"Shell spawned by an NGINX worker (NGINX2Root, Cortex XDR)","description":"Same behaviour on Cortex XDR / XSIAM telemetry: a shell or download process started by an NGINX worker. Suitable as a BIOC.","level":"high","attack":["T1190","T1059.004"],"references":["https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities","https://cert.europa.eu/publications/security-advisories/2026-022/"],"falsepositives":["Modules (Lua, Perl) that legitimately make NGINX workers run helper commands"],"content":"// Threat Brief 2026-11-19 · NGINX2Root (CVE-2026-123007, CVE-2026-123633) · experimental\n// Shell or download tool started by an NGINX worker process (post-exploitation sign)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter actor_process_image_name = \"nginx\" and actor_process_command_line contains \"worker process\"\n| filter action_process_image_name in (\"sh\", \"bash\", \"dash\", \"curl\", \"wget\", \"python3\", \"perl\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line\n","topic":"NGINX2Root: eleven NGINX CVEs including two unauthenticated HTTP/2 RCEs, F5 fixes of 18 November, no exploitation observed","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-19"},{"id":"57b35b4b-45d6-4a1c-a6fc-9495931153ba","date":"2026-11-07","format":"xql","title":"cwpsrv.prev-*, child shell of cwpsrv or traffic to 136.0.141.71","description":"CWPdoor host artefacts: cwpsrv.prev-* backup, unexpected cwpsrv children, and traffic to published staging IP.","level":"high","attack":["T1505.003","T1059.004"],"references":["https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html","https://www.bleepingcomputer.com/news/security/hackers-backdoor-linux-servers-using-trojanized-cwp-web-server/"],"falsepositives":["Legitimate CWP update creating a backup"],"content":"// Threat Brief 2026-11-07 · CWPdoor (trojanised cwpsrv) · experimental\n// cwpsrv.prev-* backup, cwpsrv shell children, or traffic to XLab staging IP\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter (event_type = ENUM.FILE and action_file_path contains \"/usr/local/cwpsrv/bin/cwpsrv.prev-\") or (event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START and actor_process_image_name = \"cwpsrv\" and action_process_image_name in (\"sh\", \"bash\", \"curl\", \"wget\", \"python3\")) or (event_type = ENUM.NETWORK and action_remote_ip = \"136.0.141.71\")\n| fields _time, agent_hostname, event_type, actor_process_image_name, actor_process_command_line, action_process_image_command_line, action_file_path, action_remote_ip\n","topic":"CWPdoor: trojanised cwpsrv turns Control Web Panel into a passive backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-07"},{"id":"6efad453-bbf3-4c5d-bfcd-711c03aba559","date":"2026-11-04","format":"xql","title":"Shell spawned by node decoding base64 or downloading","description":"exec node used in exploitation: node launches sh, wget, or curl with base64 -d, /dev/shm, or setsid.","level":"high","attack":["T1059.004","T1105","T1140"],"references":["https://www.vulncheck.com/blog/exploitation-targeting-node-red"],"falsepositives":["Legitimate flows calling shell scripts"],"content":"// Threat Brief 2026-11-04 · Node-RED CVE-2026-58115 · experimental\n// Shell spawned by node decoding base64 or downloading a payload (exec node)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter actor_process_image_name in (\"node\", \"node-red\")\n| filter action_process_image_name in (\"sh\", \"bash\", \"dash\", \"wget\", \"curl\")\n| filter action_process_image_command_line contains \"base64 -d\" or action_process_image_command_line contains \"/dev/shm/\" or action_process_image_command_line contains \"setsid\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line\n","topic":"Node-RED CVE-2026-58115: Unauthenticated RCE exploited to deploy a Linux bot","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-04"},{"id":"93188e34-bbe9-4462-bafe-08c1203d685e","date":"2026-10-31","format":"xql","title":"Suspicious shell spawned by a PHP worker","description":"PHP2Shell post-exploitation: shell child of php-fpm, php-cgi, lsphp, or Apache with curl, wget, /dev/tcp, or base64 -d (Elastic and Unit 42 logic).","level":"high","attack":["T1190","T1505.003","T1059.004"],"references":["https://www.elastic.co/es/security-labs/threat-command/php2shell-php-rce-detection","https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/"],"falsepositives":["PHP applications legitimately calling curl via a shell","mail() via sendmail"],"content":"// Threat Brief 2026-10-31 · PHP2Shell (CVE-2026-109618/109619) · experimental\n// Shell spawned by a PHP worker or web server with download, reverse shell, or decoding activity\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter actor_process_image_name in (\"php-fpm\", \"php-cgi\", \"lsphp\", \"frankenphp\", \"httpd\", \"apache2\") or actor_process_image_name ~= \"^php-fpm\"\n| filter action_process_image_name in (\"sh\", \"bash\", \"dash\", \"zsh\", \"ksh\")\n| filter action_process_image_command_line contains \"curl\" or action_process_image_command_line contains \"wget\" or action_process_image_command_line contains \"/dev/tcp\" or action_process_image_command_line contains \"base64 -d\" or action_process_image_command_line contains \"/etc/shadow\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line\n| sort desc _time\n","topic":"PHP2Shell (CVE-2026-109618/109619): root on PAN-OS firewalls","status":"experimental","page":"https://tlpclear.fr/detections/2026-10-31"}]}