Q-Dir and DesktopOK: a consolidated timeline from 9 to 23 November, an unsigned installer, a RAT that inventories 1,206 security processes, and a site whose clean-up is unconfirmed
SIGMA Q-Dir_AutoUpdate.exe or process started from DeviceSync\b2 (SoftwareOK) windows process_creation · high Threat Brief · experimental
title: Q-Dir_AutoUpdate.exe or process started from ProgramData\Microsoft\DeviceSync\b2 (SoftwareOK supply chain)
id: 08e02019-075d-4201-b433-e178a7aa52c7
status: experimental
description: Detects the malicious Q-Dir updater or a process running from the folder where the Python RAT delivered by the trojanised Q-Dir and DesktopOK installers is extracted.
references:
- https://www.bleepingcomputer.com/news/security/q-dir-and-desktopok-windows-utilities-compromised-to-push-python-rat/
author: Threat Brief (tlpclear.fr)
date: 2026-11-30
tags:
- attack.initial-access
- attack.t1195.002
- attack.execution
- attack.t1059.006
logsource:
product: windows
category: process_creation
detection:
selection_updater:
Image|endswith: '\Q-Dir_AutoUpdate.exe'
selection_path:
Image|contains: '\ProgramData\Microsoft\DeviceSync\b2\'
condition: 1 of selection_*
falsepositives:
- None expected; a legitimate Q-Dir update mechanism using the same executable name would match the first selection
level: high
Flags the malicious Q-Dir updater, or a process running from the folder where the trojanised Q-Dir and DesktopOK installers extract the Python RAT. False positives: none expected; a legitimate Q-Dir update mechanism using the same executable name.
2 quotes from the sources
- “a legitimate Q-Dir 12.77 executable launched a malicious Q-Dir_AutoUpdate.exe executable” www.bleepingcomputer.com
- “downloaded an archive containing a Python-based malware and extracted it to C:\ProgramData\Microsoft\DeviceSync\b2” www.bleepingcomputer.com
Conversions
Image IN ("*\\Q-Dir_AutoUpdate.exe", "*\\ProgramData\\Microsoft\\DeviceSync\\b2\\*")Image:(*\\Q\-Dir_AutoUpdate.exe OR *\\ProgramData\\Microsoft\\DeviceSync\\b2\\*)
SIGMA Run value DeviceSyncUpdate_b2 (Python RAT from the SoftwareOK installers) windows registry_set · high Threat Brief · experimental
title: Run key value DeviceSyncUpdate_b2 (SoftwareOK supply chain Python RAT)
id: 4630d3b0-26ab-477f-8f07-4f607b6725aa
status: experimental
description: Detects the Run registry value used for persistence by the Python RAT delivered through the trojanised Q-Dir and DesktopOK installers.
references:
- https://www.bleepingcomputer.com/news/security/q-dir-and-desktopok-windows-utilities-compromised-to-push-python-rat/
author: Threat Brief (tlpclear.fr)
date: 2026-11-30
tags:
- attack.persistence
- attack.t1547.001
logsource:
product: windows
category: registry_set
detection:
selection:
TargetObject|endswith: '\DeviceSyncUpdate_b2'
condition: selection
falsepositives:
- None known; the value name is specific to this malware
level: high
Flags the Run registry value that keeps the Python RAT delivered by the trojanised Q-Dir and DesktopOK installers persistent. False positives: none known; the value name is specific to the malware.
1 quote from the sources
- “established persistence through a Windows Registry Run entry named DeviceSyncUpdate_b2” www.bleepingcomputer.com
Conversions
TargetObject="*\\DeviceSyncUpdate_b2"
TargetObject:*\\DeviceSyncUpdate_b2
XQL Malicious Q-Dir updater or file written under DeviceSync\b2 (Cortex XDR) xdr_data · high Threat Brief · experimental
// Threat Brief 2026-11-30 · Q-Dir and DesktopOK supply chain · experimental // Malicious updater, or process or file under ProgramData\Microsoft\DeviceSync\b2 (Python RAT folder) config case_sensitive = false | dataset = xdr_data | filter (event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START and (action_process_image_name = "Q-Dir_AutoUpdate.exe" or action_process_image_path contains "\programdata\microsoft\devicesync\b2")) or (event_type = ENUM.FILE and action_file_path contains "\programdata\microsoft\devicesync\b2") | 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_file_path
BIOC-style query: Q-Dir_AutoUpdate.exe started, or a process run or file written under ProgramData\Microsoft\DeviceSync\b2, the Python RAT folder. False positives: none expected.
2 quotes from the sources
- “a legitimate Q-Dir 12.77 executable launched a malicious Q-Dir_AutoUpdate.exe executable” www.bleepingcomputer.com
- “downloaded an archive containing a Python-based malware and extracted it to C:\ProgramData\Microsoft\DeviceSync\b2” www.bleepingcomputer.com