Attackers hijack SoftwareOK downloads to spread a Python RAT and a native backdoor

Attackers have compromised the official distribution and update channels for two Windows utilities developed by SoftwareOK, using trojanized installers to deliver a Python-based remote access trojan (RAT) and, on some compromised systems, a separate native backdoor.
Microsoft’s threat intelligence team said in a blog post that it began investigating the software supply chain compromise on November 9 after identifying tampered installers and updaters for Q-Dir, a Windows file manager, and DesktopOK, a utility for saving and restoring desktop icon layouts.
The malicious packages launched the legitimate applications to avoid detection while installing a Python-based implant dubbed DeviceSync. The malware gained persistence through Windows startup mechanisms and communicated with attacker-controlled infrastructure, allowing operators to conduct system reconnaissance and execute commands remotely.
Microsoft said attackers deployed an additional native backdoor on some affected devices, giving them a second access to execute malicious plugins independently of the Python RAT.
Microsoft did not attribute the campaign to any known threat actor, and the exact mechanism used to tamper with SoftwareOK’s distribution infrastructure remains unknown.
Legitimate utilities used as cover for the PythonRATThe compromised installers used a dedicated setup component to retrieve a legitimate 7-Zip extraction utility and an archive containing a Python 3.9 runtime along with the DeviceSync malware. The package was extracted into the “C:ProgramData\Microsoft\DeviceSync\b2” directory.
Bundling its own Python interpreter allowed the RAT to operate without relying on a Python installation already present on the victim’s machine. Microsoft identified two variants of the package, using different Python scripts to launch the same primary agent code.
The malware persisted through a current-user Windows Registry Run entry named “DeviceSyncUpdate_b2” and a scheduled task named “\UPnp\MicrosoftEdge_dcntel.” Both mechanisms could relaunch the agent during Windows sign-in, meaning uninstalling Q-Dir or DesktopOK would not remove the infection.
Microsoft observed operators using the RAT to collect operating system, user, group and network information, execute commands through Windows Command Prompt, and search for remote desktop software such as ToDesk.A subsequent PowerShell task searched Python’s installed packages for AI and machine-learning software, including Ollama, vLLM, LangChain, LlamaIndex and MLflow. Microsoft described this as software discovery and not evidence that attackers had accessed AI models or training data.
The recovered malware also supports file operations, screenshots, Python extensions, and network relaying, although Microsoft found no evidence of these capabilities being used.
Intrusion beyond the Python RATMicrosoft researchers identified two native payloads, winhost.exe and backgroundTask.exe, which separately connected to external command-and-control (C2) infrastructure instead of relying on the Python agent. Microsoft observed network activity from these components across multiple devices over several days.
Unlike DeviceSync’s Python-based extension mechanism, the native backdoor uses a plugin architecture to execute Windows executable modules in memory. Its main process maintains the C2 connection and delegates plugin execution to short-lived child processes, which communicate with the parent through Windows named pipes.
Microsoft observed two plugin activities. Plugin-1001 used Windows command-line utilities to discover the infected device’s public IP address. Another, plugin-1009, repeatedly launched plugin worker processes and established named-pipe communications.
The separation between the Python RAT and the native backdoor ensured that removing the initial malware would not eliminate the second implant or its C2 channels.
Microsoft recommends that organizations remove compromised installers and portable packages from deployment systems, isolate devices where the native backdoor has executed, and investigate both malware stages separately. It also warns that replacing or uninstalling the affected utilities alone will not clean the endpoint.
This summary is from CSOONLINE.com, published Dec 3, 2026. NewsFusion links to the original reporting and groups related coverage.






