Q-Dir and DesktopOK: tampered SoftwareOK installers deploy Python RAT and native backdoor
Severity: high · Patch status: unknown · Since 2026-12-02
Microsoft Threat Intelligence reports that installers and updaters for Q-Dir and DesktopOK, distributed through SoftwareOK's official download and update channels, were tampered with. The trojanized installer launches the genuine utility while a setup component fetches a 7-Zip extractor and an archive from attacker infrastructure, unpacks a Python 3.9 runtime and agent into C:\ProgramData\Microsoft\DeviceSync, and starts a Python RAT (DeviceSync) that persists through a Run value and a scheduled task and talks to its operator over an AES-GCM-encrypted WebSocket. On some hosts a second native backdoor with plugin support was also launched, and Microsoft describes reconnaissance and a search for AI/ML tooling in site-packages. Microsoft observed Q-Dir 12.83.0 executing after a package-manager update, and older installs pulled the tampered build through their own updater; the same files reached package managers, deployment tools, shares and synced folders, where they ran silently. Microsoft has not named an actor and says the upstream modification mechanism is unconfirmed. The post gives no fixed version and no SoftwareOK statement. Responders should hash-match every copy, verify the outer file that actually runs, remove the RAT, persistence and backdoor separately, purge tampered packages from deployment paths, and block the listed infrastructure.
What to do
- Hunt for C:\ProgramData\Microsoft\DeviceSync (b2/dsv2 packages, py_client_b2_dll.py, py_client_dsv2.py) and related startup entries; remove RAT and persistence
- Isolate and forensically investigate devices where the native backdoor ran; treat as separate intrusion with plugin capability
- Match Q-Dir/DesktopOK copies across deployment locations by file hash and verify the signature of the file that actually executes
- Remove tampered packages from package managers, repositories, shares, and software-deployment systems to prevent reinstall
- Block observed C2 infrastructure and monitor for recurring C2 beacons and AI/ML software discovery activity
Sources
All live incidents on Threat Watch