Microsoft: SoftwareOK ‘DeviceSync’ Malware Lets Hackers Stay After Reboot

Microsoft has uncovered a serious security breach: two Windows tools published by SoftwareOK—Q-Dir and DesktopOK—were bundled with malware that persists even when users log out or restart their PCs. These utilities were distributed via official download and update channels, but secretly installed a Python-based remote access trojan (RAT) called DeviceSync. It opened the legitimate utility as expected while installing the RAT behind the scenes. Once infected, the software appeared to run normally, complicating detection.

How the Attack Worked & What Was Compromised

Q-Dir—an alternative file manager—and DesktopOK—an app to save and restore desktop icon layouts—were both used to deliver the malware. Microsoft Threat Intelligence first noticed this malicious activity on November 9, diving deeper through December. Not only was DeviceSync part of the attack, but in many cases a second, native Windows backdoor was also present. Microsoft still hasn’t named who’s responsible or how exactly the update packages were compromised upstream.

DeviceSync came packaged with its own Python 3.9 runtime, which let it run even on machines without Python installed. To gain persistence, the malware created a Windows Registry run entry or a scheduled task to relaunch upon sign-in. Uninstalling Q-Dir or DesktopOK doesn’t remove the malware: the payload operates outside of the utility’s own files.

Scope of Malicious Activity & Indicators of Compromise

The software was compromised in version 12.83.0 of Q-Dir, among other corrupted builds. Portable versions of both utilities—whether shared via file shares, synced folders, or repositories—also carried the malware. Once DeviceSync was running, Microsoft observed it gathering system info (Windows build, user privileges, network setup), probing for tools like ToDesk, and scanning for AI/ML frameworks such as Ollama, vLLM, LangChain, and MLflow. There’s no evidence yet anyone’s data or models were stolen.

The backdoor added in some infections maintained communication with its command-and-control servers over several days. Its ability to install additional modules means that deleting DeviceSync alone isn’t sufficient to regain control.

What IT Teams Should Do Now

Microsoft advises organizations to remove any compromised packages from all internal distribution channels—including mirrors, caches, and deployment shares. Verify not just the utility’s digital signature but the installer that runs. If the second backdoor is discovered, isolate the device, preserve logs and network activity, and possibly rebuild the system from a known good image.

Additional protective steps: reboot the machine to see if persistence mechanisms return; revoke credentials if they might have been compromised; ensure no startup entries or scheduled tasks relate to DeviceSync or its components.

This incident underscores a growing threat in supply-chain attacks—malicious code slipped into trusted utilities, hidden in what appear to be benign updates. As organizations increasingly rely on external tools, verifying installers—not just trusted software—must become part of baseline security hygiene. Watch for further disclosures on attribution, how the breach happened, and whether any intellectual property or sensitive data was accessed.