[
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - AI Agent Page Reader User Agent in Web Server Logs",
  "severity": "SEV_020_LOW",
  "xql_query": "config case_sensitive = false\n| datamodel\n| filter (xdm.source.user_agent ~= \"Claude-User .claude-code/\" or (xdm.source.user_agent ~= \"^QwenCode/\" or xdm.source.user_agent ~= \"^KimiCLI/\" or xdm.source.user_agent ~= \"^opencode/\"))\n| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.method, xdm.network.http.domain, xdm.network.http.url, xdm.network.http.response_code",
  "is_enabled": false,
  "description": "Detects the page readers of AI agent CLIs: Qwen Code, Kimi CLI, opencode and Claude Code (which Cairn's workers\nrun with DeepSeek behind it). Agents read target pages with these while curl, Python and Kali tools do the rest.\nOrdinary users send the same strings, so treat a hit as context and correlate with scanning from the same address. Adapted from the ThreatDefence Sigma rule (MIT licence). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. References: https://github.com/oritera/Cairn https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/behaviors/sigma/web/web_claude_code_webfetch_user_agent.yml",
  "alert_name": "Threat Brief - AI Agent Page Reader User Agent in Web Server Logs",
  "alert_category": "RECONNAISSANCE",
  "alert_type": null,
  "alert_description": "Detects the page readers of AI agent CLIs: Qwen Code, Kimi CLI, opencode and Claude Code (which Cairn's workers\nrun with DeepSeek behind it). Agents read target pages with these while curl, Python and Kali tools do the rest.\nOrdinary users send the same strings, so treat a hit as context and correlate with scanning from the same address. Adapted from the ThreatDefence Sigma rule (MIT licence).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {},
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": false,
  "suppression_duration": null,
  "suppression_fields": null,
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0043 - Reconnaissance": [
    "T1594 - Search Victim-Owned Websites"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - RedAmon Ownership Check Lookup",
  "severity": "SEV_020_LOW",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter dns_query_name != null\n| filter dns_query_name ~= \"^_redamon\\-verify\\.\"\n| fields _time, agent_hostname, actor_process_image_path, dns_query_name",
  "is_enabled": false,
  "description": "Detects a DNS lookup for _redamon-verify.<domain>, the TXT record RedAmon reads when a project turns on ownership\nverification. On your resolver it means a host of yours runs RedAmon. On the name servers of your own domain it\nmeans someone set up a RedAmon project for that domain. Adapted from the ThreatDefence Sigma rule (MIT licence). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. References: https://github.com/samugit83/redamon https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/redamon/sigma/dns_query/dns_query_redamon_ownership_check.yml",
  "alert_name": "Threat Brief - RedAmon Ownership Check Lookup",
  "alert_category": "RECONNAISSANCE",
  "alert_type": null,
  "alert_description": "Detects a DNS lookup for _redamon-verify.<domain>, the TXT record RedAmon reads when a project turns on ownership\nverification. On your resolver it means a host of yours runs RedAmon. On the name servers of your own domain it\nmeans someone set up a RedAmon project for that domain. Adapted from the ThreatDefence Sigma rule (MIT licence).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_process_image_path": "actor_process_image_path"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0043 - Reconnaissance": [
    "T1590.002 - Gather Victim Network Information: DNS"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - Xalgorix Configuration, Service or Scan Data Written",
  "severity": "SEV_020_LOW",
  "xql_query": "config 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 = \"/etc/xalgorix.env\" or action_file_path = \"/etc/systemd/system/xalgorix.service\" or action_file_path = \"/tmp/xalgorix.log\" or action_file_path = \"/tmp/xalgorix-crash.log\") or action_file_path contains \"/.xalgorix/data/\" or action_file_path ~= \"/\\.xalgorix\\.env$\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_file_path",
  "is_enabled": false,
  "description": "Detects the files Xalgorix writes on the host that runs it: its environment files, its systemd unit, and the scan\ndata folder with scan.json and events.jsonl for every target. Adapted from the ThreatDefence Sigma rule (MIT licence). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. References: https://github.com/xalgorix/xalgorix https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/xalgorix/sigma/file_event/file_event_lnx_xalgorix_files.yml",
  "alert_name": "Threat Brief - Xalgorix Configuration, Service or Scan Data Written",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_description": "Detects the files Xalgorix writes on the host that runs it: its environment files, its systemd unit, and the scan\ndata folder with scan.json and events.jsonl for every target. Adapted from the ThreatDefence Sigma rule (MIT licence).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_path": "actor_process_image_path",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0003 - Persistence": [
    "T1543.002 - Create or Modify System Process: Systemd Service"
   ],
   "TA0004 - Privilege Escalation": [
    "T1543.002 - Create or Modify System Process: Systemd Service"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - Pentest Swarm AI Authorization Record Written",
  "severity": "SEV_020_LOW",
  "xql_query": "config 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 (action_file_path contains \"/.pentestswarm/authorization.\" or action_file_path contains \"\\.pentestswarm\\authorization.\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_file_path",
  "is_enabled": false,
  "description": "Detects Pentest Swarm AI writing its consent file and log under the user's home folder. authorization.log gets one\nJSON line for every real target (time, target, scope, method, user), so it is also the first file to read on a host\nwhere the tool was found. Adapted from the ThreatDefence Sigma rule (MIT licence). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. References: https://github.com/Armur-Ai/Pentest-Swarm-AI https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/pentestswarm/sigma/file_event/file_event_pentestswarm_authorization_record.yml",
  "alert_name": "Threat Brief - Pentest Swarm AI Authorization Record Written",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects Pentest Swarm AI writing its consent file and log under the user's home folder. authorization.log gets one\nJSON line for every real target (time, target, scope, method, user), so it is also the first file to read on a host\nwhere the tool was found. Adapted from the ThreatDefence Sigma rule (MIT licence).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_path": "actor_process_image_path",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0002 - Execution": [
    "T1059 - Command and Scripting Interpreter"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - Agent Zero Container, UI or Tunnel Started",
  "severity": "SEV_020_LOW",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter (action_process_image_command_line contains \"agent0ai/agent-zero\" or action_process_image_command_line contains \"self_update_manager.py docker-run-ui\" or action_process_image_command_line contains \"/a0/run_tunnel.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",
  "is_enabled": false,
  "description": "Detects the Agent Zero image being run, its UI starting inside the container, and its tunnel server that publishes the\nUI to the internet. Agent Zero ships a hacker profile on a Kali base; GTIG reported threat-actor experimentation with it. Adapted from the ThreatDefence Sigma rule (MIT licence). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. References: https://github.com/agent0ai/agent-zero https://cloud.google.com/blog/topics/threat-intelligence/artex-and-friends-enter-agentic-offensive-frameworks https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/agent-zero/sigma/process_creation/proc_creation_agent_zero_container_or_tunnel.yml",
  "alert_name": "Threat Brief - Agent Zero Container, UI or Tunnel Started",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects the Agent Zero image being run, its UI starting inside the container, and its tunnel server that publishes the\nUI to the internet. Agent Zero ships a hacker profile on a Kali base; GTIG reported threat-actor experimentation with it. Adapted from the ThreatDefence Sigma rule (MIT licence).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_path": "actor_process_image_path",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0002 - Execution": [
    "T1059 - Command and Scripting Interpreter"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]