SoftwareOK Supply Chain Attack: Python RAT Details
Summary
Microsoft has disclosed a software supply chain compromise affecting SoftwareOK’s Q-Dir and DesktopOK utilities, where tampered installers deployed a Python-based RAT and, on some systems, a second native backdoor. The incident matters because trusted update paths and software deployment systems may have unknowingly distributed the malicious packages, requiring administrators to hunt for persistence and replace affected installers.
Introduction
Microsoft Threat Intelligence has uncovered a serious software supply chain attack involving SoftwareOK’s Q-Dir and DesktopOK utilities. Because the malicious files were delivered through the vendor’s official download and update channels, organizations that relied on normal update workflows may have introduced malware through trusted deployment paths.
What happened
Microsoft found that attackers tampered with installers and updaters for Q-Dir and DesktopOK. The altered packages still launched the legitimate application, but in the background they installed DeviceSync, a Python-based remote access trojan (RAT).
Key findings
- Affected packages were distributed through official SoftwareOK download and update channels.
- The malware deployed a bundled Python 3.9 runtime, making it independent of any Python installation already on the device.
- Persistence was established through:
- A current-user Run key:
DeviceSyncUpdate_b2 - A scheduled task:
\UPnp\MicrosoftEdge_dcntel
- A current-user Run key:
- On some devices, operators also deployed a separate native backdoor with its own command-and-control (C2) communications.
- Microsoft observed the RAT being used for system discovery and searches related to AI and machine learning software.
Why this matters for IT admins
This is more than a one-time malicious installer event. Simply uninstalling or replacing Q-Dir or DesktopOK does not fully remove the threat. The RAT can relaunch at Windows sign-in, and some systems may also have a second-stage native payload that requires separate investigation.
Organizations using package managers, software deployment tools, file shares, or synced folders should assume the tampered binaries may have spread internally. Admins should also verify file hashes and inspect the actual executable being launched, rather than trusting filenames or embedded signatures.
Recommended actions
Administrators should take the following steps immediately:
- Remove affected Q-Dir and DesktopOK packages from all deployment repositories.
- Isolate devices where the native backdoor is suspected or confirmed.
- Hunt for and remove the known persistence mechanisms.
- Check for extracted files under
C:\ProgramData\Microsoft\DeviceSync\. - Investigate software distribution systems that may reinstall the tampered packages.
- Review network activity for suspicious connections, including observed C2 traffic on TCP ports 9876 and 9092.
Next steps
Security teams should perform a broader compromise assessment on impacted devices, especially where the second backdoor may have executed. This incident is a reminder that trusted software channels can become an attack vector, so validating package integrity and monitoring updater behavior should be part of standard defensive operations.
Need help with Security?
Our experts can help you implement and optimize your Microsoft solutions.
Talk to an ExpertStay updated on Microsoft technologies