Threat Intelligence

Trojanised Q-Dir and DesktopOK installers from SoftwareOK's official channel deliver a Python RAT

Microsoft Security · 3 Dec 2026
Key Takeaway If your business uses Q-Dir or DesktopOK, pull the packages from deployment, hunt for the DeviceSync persistence entries, and do not assume uninstalling the app cleans the device.

Microsoft Threat Intelligence has investigated a software supply chain compromise affecting Q-Dir and DesktopOK, Windows utilities developed by SoftwareOK. Threat actors tampered with installers and updaters on the vendor's official download and update channel, so people following normal, trusted update habits were exposed. Microsoft has not attributed the activity to a named actor, and the exact upstream modification method remains unconfirmed.

The altered files launch the genuine application as cover while silently installing DeviceSync, a Python-based remote access trojan (RAT). The installer downloads a legitimate 7-Zip extractor and an archive holding its own Python 3.9 runtime and the backdoor scripts, placing them under C:\ProgramData\Microsoft\DeviceSync\b2. Microsoft observed attackers using the RAT for system discovery and searches for AI and machine-learning software. On some devices they also deployed a separate native backdoor with its own command-and-control connections and plugin support.

Microsoft saw execution after a package manager updated to Q-Dir 12.83.0, and an older Q-Dir install also ran an updater that fetched the tampered build. In managed deployments the package ran silently with no user prompt. Portable copies spread further through synchronised folders, repositories and file shares. The same tampered binary appeared under several names, including Q-Dir_Installer_x64.exe, Q-Dir.exe and Q-Dir_Autoupdate.exe. A valid publisher signature on an embedded utility does not prove the surrounding installer is genuine.

Persistence sits outside the utility itself. Microsoft saw a current-user Run value named DeviceSyncUpdate_b2 and a scheduled task called \UPnp\MicrosoftEdge_dcntel, both relaunching the packaged interpreter at sign-in. Uninstalling Q-Dir or DesktopOK therefore does not remove the threat. Recovery means removing the RAT and its startup entries, checking for the second backdoor, and replacing tampered packages in any deployment system that could reinstall them.

Why it matters

This breaks the assumption that software from the vendor's official update channel, or carrying a valid publisher signature, is safe to run unattended. Organisations that push these utilities silently through package managers or deployment tools are most exposed, because the malicious installer ran with no user prompt and copies spread via file shares. Removing the app is not remediation, so teams must treat affected devices as compromised and look for a second backdoor.

What to do

  • Remove Q-Dir and DesktopOK packages from software deployment paths and replace them with verified clean copies.
  • Match copies across deployment locations by file hash and check the signature of the file that actually runs, not its name.
  • Look for the Run value DeviceSyncUpdate_b2 and the scheduled task \UPnP\MicrosoftEdge_dcntel, and remove them.
  • Isolate devices where the backdoor ran and investigate the later native payload separately.
supply chain attack Python RAT Q-Dir DesktopOK persistence Microsoft Threat Intelligence
Answering to more than one framework? Run them as one security and AI governance programme ->

Summarised by CISO AI from Microsoft Security, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.