Detections · 29/11/2026 · BIOC
Cortex XDR / XSIAM BIOC
Shell started by the pyload Python process (Cortex XDR)
sh, bash or dash started by a Python interpreter whose command line contains pyload: sign of the js2py sandbox escape spawning a subprocess. Single-event query, BIOC-ready.
Experimental rule, translated automatically from the XQL query: one BIOC per event type. Create each BIOC disabled, test it, then enable it. DRL 1.1 license.
Two ways to add it
- By hand: Detection Rules → BIOC → Add BIOC, XQL mode, paste the query below (one per BIOC), then set the name, type, severity and ATT&CK shown.
- By API: download the API file and push it with push_bioc.py (Standard API key, BIOCs created disabled). The Import Rules dialog only accepts files exported by Cortex: this file is not meant for it.
dataset = xdr_data
| filter event_type = ENUM.PROCESS and ((actor_process_image_name ~= "python[0-9.]*" and actor_process_command_line contains "pyload") and action_process_image_name in ("sh", "bash", "dash"))
Type INFILTRATIONSeverity SEV_040_HIGHPROCESS_EXECUTION_EVENT
T1190 - Exploit Public-Facing Application · T1059.004 - Command and Scripting Interpreter: Unix Shell