Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

3 rules over 3 days · technique T1195.002 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
18/11 XQL agent-framework stealer .pth hook or module written to diskPyPI: Microsoft's official agent-framework package ships two poisoned versions (1.26.1, 1.26.2) stealing Azure, GitHub and CI credentials high T1195.002 T1546 T1552.001
tb-2026-11-18-hook-pth-ou-module-du-voleur-agent-framework-crit-sur-disque.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-18 · agent-framework PyPI 1.26.1 / 1.26.2 · experimental
// Startup hook (.pth) or payload module of the poisoned wheels written to disk
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE
| filter action_file_name in ("agent_framework_meta.pth", "af_runtime_diag.pth", "af_runtime_diag.py") or action_file_path contains "agent_framework_meta/_telemetry.py"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name, action_file_sha256
xql: reviewed, not executed xdr_data (files) Licence DRL 1.1

Write of agent_framework_meta.pth, af_runtime_diag.pth, af_runtime_diag.py or agent_framework_meta/_telemetry.py: the hook runs at every Python start, even without importing the framework. False positives: analysis or quarantine of the wheels by a security team.

3 quotes from the sources
  • “it drops a .pth file into the site-packages root ( agent_framework_meta.pth in 1.26.1, af_runtime_diag.pth in 1.26.2)” www.wiz.io
  • “1.26.2 uses af_runtime_diag.pth → af_runtime_diag.py” socket.dev
  • “agent_framework_meta/_telemetry.py collects credentials asynchronously” socket.dev
14/11 XQL Backdoored ARTEX Docker image (tomicdd/artex, congdonglinux/artex) pulled or runARTEX and AI pentest frameworks: FBI flash alert, Talos, Elastic and Unit 42 analyses high T1195.002 T1610
tb-2026-11-14-image-docker-artex-pi-g-e-tomicdd-artex-congdonglinux-artex-.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-14 · ARTEX backdoored Docker image · experimental
// Pull or run of the backdoored ARTEX images, or start of the backdoored /app/artex binary
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter action_process_image_command_line contains "tomicdd/artex" or action_process_image_command_line contains "congdonglinux/artex" or action_process_image_sha256 = "d5070f52262effe216b840711343bff8f2787f39208d887d8dfd9c673f8d1573"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line, action_process_image_sha256
xql: reviewed, not executed xdr_data (processes) Licence DRL 1.1

Process start whose command line names one of the two backdoored ARTEX images, or start of the backdoored /app/artex binary (hash from the IOC feed): an internal ARTEX install that hands root to a third party. False positives: Security researcher analysing the backdoored image in a lab.

2 quotes from the sources
10/11 XQL SleepyDuck persistence (systemd, LaunchAgent, ScreenConnect) or traffic to a C2 hub on 4912Supply chain: bee-js 13.3.0 and Swarm Desktop 0.56.2 deliver the SleepyDuck backdoor high T1543.002 T1543.001 T1219 T1102 T1195.002
tb-2026-11-10-persistance-sleepyduck-systemd-launchagent-screenconnect-ou-.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-10 · bee-js / Swarm Desktop (SleepyDuck) · experimental
// Persistence (systemd, LaunchAgent, ScreenConnect service) and traffic to C2 hubs on :4912
config case_sensitive = false
| dataset = xdr_data
| filter (event_type = ENUM.FILE and (action_file_path contains "solidity-langsupport-runner" or action_file_path contains "com.solidity.langsupport.runner" or action_file_path contains "/.solidity/")) or (event_type = ENUM.REGISTRY and action_registry_key_name contains "ScreenConnect Client (5cbe79c9c25524df)") or (event_type = ENUM.NETWORK and action_remote_port = 4912 and action_remote_ip in ("193.57.9.155", "193.57.9.17", "178.16.54.222", "107.189.27.223", "107.189.27.46", "91.108.240.156", "107.189.16.215"))
| fields _time, agent_hostname, event_type, actor_process_image_name, actor_process_command_line, action_file_path, action_registry_key_name, action_remote_ip, action_remote_port
xql: reviewed, not executed xdr_data, file, registry, network Licence DRL 1.1

Covers Linux, macOS and Windows: persistence files, ScreenConnect Client (5cbe79c9c25524df) service silently installed, connections to active C2 hubs on port 4912. False positives: Legitimate ScreenConnect: instance ID 5cbe79c9c25524df is specific to the campaign.