Detections · 30/11/2026 · BIOC
Cortex XDR / XSIAM BIOC
Malicious Q-Dir updater or file written under DeviceSync\b2 (Cortex XDR)
BIOC-style query: Q-Dir_AutoUpdate.exe started, or a process run or file written under ProgramData\Microsoft\DeviceSync\b2, the Python RAT folder.
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 (action_process_image_name = "Q-Dir_AutoUpdate.exe" or action_process_image_path contains "programdatamicrosoftdevicesyncb2")
Type INFILTRATIONSeverity SEV_040_HIGHPROCESS_EXECUTION_EVENT
T1195.002 - Supply Chain Compromise: Compromise Software Supply Chain · T1059.006 - Command and Scripting Interpreter: Python
dataset = xdr_data | filter event_type = ENUM.FILE and (action_file_path contains "programdatamicrosoftdevicesyncb2")
Type INFILTRATIONSeverity SEV_040_HIGHFILE_EVENT
T1195.002 - Supply Chain Compromise: Compromise Software Supply Chain · T1059.006 - Command and Scripting Interpreter: Python