Microsoft Details SoftwareOK Supply-Chain Attack Delivering Python RAT and Native Backdoor

· Original article ↗

Summary

Microsoft says tampered Q-Dir and DesktopOK installers from SoftwareOK’s official channel delivered the DeviceSync Python RAT; on some devices, attackers also deployed a separate native backdoor. The actor remains unattributed.

Key points

  • Microsoft observed tampered Q-Dir and DesktopOK packages distributed through update paths, package-manager updates, and portable copies. The specific upstream modification mechanism remains unconfirmed.
  • The installers staged a Python 3.9 runtime and DeviceSync RAT. A Run value and scheduled task relaunched the agent at sign-in, independently of the utilities.
  • Microsoft observed the RAT used for system discovery, including searches for AI and machine-learning software. The searches do not establish collection of models or training data.
  • The RAT’s code supports shell commands, file operations, screenshots, Python extensions, and network relays; the article distinguishes these capabilities from functions operators were observed using.
  • On some devices, operators deployed separate native backdoors that maintained their own command connections and ran plugins through short-lived child processes communicating over named pipes.
  • Microsoft did not attribute the activity to a named actor. Its guidance recommends withdrawing affected packages, isolating devices with confirmed backdoor execution, removing both payloads and persistence, and validating replacement packages.

Article Details

Attack Vectors
  • Tampered Q-Dir and DesktopOK installers and updaters were distributed through SoftwareOK’s official download and update channel; the specific upstream modification mechanism remains unconfirmed.
  • Microsoft observed the tampered Q-Dir build executed after package-manager updates and after an older installation’s updater retrieved it.
  • Portable copies were run from synchronized folders, repositories, and file shares, extending distribution beyond the original download location.
  • The installer launched the legitimate utility as cover while retrieving and installing a Python runtime and backdoor scripts; a separate native backdoor was deployed on some devices.
Defensive Notes
  • Withdraw affected installers and portable packages from deployment paths, mirrors, caches, synchronized folders, and update workflows; validate replacements against a separately trusted release.
  • Check the signature of the outer file that runs, not only the embedded utility, and match suspected copies by file hash.
  • Use App Control for Business to restrict unapproved installers and interpreters, while testing policies against legitimate workflows and accounting for its script-enforcement limitations inside some Python hosts.
  • Keep Microsoft Defender Antivirus security intelligence current and enable cloud-delivered protection and tamper protection.
  • Isolate devices with confirmed backdoor execution, preserve relevant process, persistence, hash, and network evidence, and block confirmed malicious files and destinations.
  • Remove the Python RAT and its Run value or scheduled task, and investigate and remove the native backdoor and plugin workers separately; rebuild from a trusted image if device integrity cannot be established.
  • Scope accessible credentials and sessions; where exposure is established, revoke sessions and rotate affected credentials from a clean system.

Indicators of compromise

TypeIndicatorContext
DOMAINc1a2[.]topIdentified as the staging domain for the attack’s delivery infrastructure.
DOMAINcloudfronts[.]topListed as associated campaign infrastructure.
IPV447[.]238[.]130[.]37Campaign command server; TCP port 443 was listed for the Python RAT.
IPV447[.]238[.]204[.]139Listed as an associated server in the Python RAT infrastructure.
IPV447[.]238[.]75[.]255Listed as an associated server in the Python RAT infrastructure.
IPV447[.]239[.]64[.]37Later-stage command server contacted by backgroundTask.exe over TCP ports 7006 and 7007.
IPV48[.]210[.]20[.]147Later-stage command server contacted by backgroundTask.exe over TCP port 443.
IPV48[.]210[.]203[.]136Later-stage command server contacted by winhost.exe over TCP port 443.
IPV48[.]210[.]69[.]51Python agent command channel and download server; TCP ports 9876 and 9092 were observed.
SHA2561e94b4d50d9d10e20b509d4606c7ca0b35d35c6d7f0bf24242c4050c238e054dHash of the malicious dsv2 runtime installer.
SHA2562035d4fd9474e8f765ea23b16b748018c0001cdd82e68991b768d7d4b654ce55Hash of the malicious dsv2 agent archive.
SHA256288ec3ce9379e2f29f246d2fb1286bdf95c4dade99d6b037ead18db35b2a859cHash of the malicious winhost.exe backdoor.
SHA2562d382bd5998d06dc6a7ab111c077e4468c6d7694af94933f869976115f8e139cHash of the VmBaseTool Python agent.
SHA256393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83Hash of a trojanized DesktopOK utility.
SHA256434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8Hash of a trojanized Q-Dir utility.
SHA2564b2097d8cbec7d29068111628a7689941c047fcf5478ab0796b9638979c2a535Hash of the KKKD worker associated with backgroundTask.
SHA2565b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2aHash of a trojanized DesktopOK utility.
SHA2567b4d5c4ab6db6ccdd0a0ad40d4177c85e7c1daa7c58b691303ff9608e8397b6cHash of backgroundTaskHost.exe, identified as a created native-payload file.
SHA256b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84Hash of a trojanized Q-Dir utility.
SHA256b64997b57f3b9459fef2ba8d5ab5826a72b1532937c8f9104d63c9f5d5266924Hash of the malicious dsv2 console installer.
SHA256be30ca3f9298487611dd1d689d963665d8a74e494ad22006b6257518acf8ca44Hash of the malicious backgroundTask.exe backdoor.
SHA256c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422Hash of a trojanized Q-Dir utility.
SHA256ca512d73d5b91f415342e8dfd98aaacb8125cbd448ef95e784af64ab45705ff6Hash of the malicious b2 agent archive.
SHA256cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585aHash of a trojanized Q-Dir utility.
SHA256ee782d990bdeb1d8dd12ad36f1202f8810c63be92a56ad382ba8f117a5c05be3Hash of a trojanized DesktopOK utility.
SHA256efff67d3ac9fc5f70710c3d915f58c1e9a35ad86a3bc9f716ba72533f13ee1a1Hash of the KKKD worker associated with winhost.
SHA256f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ecHash of a trojanized DesktopOK utility.
URLhxxps[:]//mail[.]c1a2[.]top/dl/7zr[.]exeStaging URL used to deliver the 7zr.exe extractor in the attack chain.
URLhxxps[:]//mail[.]c1a2[.]top/dl/dsv2_py39_agent[.]7zStaging URL used to deliver the archive containing the DeviceSync Python agent.

MITRE ATT&CK

T1016 · System Network Configuration DiscoveryObserved reconnaissance ran ipconfig /all to query network configuration.T1053.005 · Scheduled TaskThe scheduled task \UPnp\MicrosoftEdge_dcntel was observed as a persistence mechanism.T1057 · Process DiscoveryThe agent checked running processes for ToDesk.T1059.001 · PowerShellPowerShell tasking searched for AI and machine-learning software and launched winhost.exe.T1059.003 · Windows Command ShellThe agent passed server-supplied commands to cmd.exe and captured command output.T1059.006 · PythonThe bundled Python runtime launched the DeviceSync agent and supported operator-supplied Python code.T1071.001 · Web ProtocolsThe Python agent used a WebSocket command channel to communicate with its server.T1082 · System Information DiscoveryObserved reconnaissance commands queried the Windows version.T1105 · Ingress Tool TransferThe installer retrieved an archive containing the bundled Python runtime and backdoor scripts.T1195.002 · Compromise Software Supply ChainTampered Q-Dir and DesktopOK packages reached devices through normal software download and update paths.T1518 · Software DiscoveryA PowerShell task searched Python package directories for AI and machine-learning software, including ollama, vllm, langchain, llama_index, and mlflow.T1547.001 · Registry Run Keys / Startup FolderThe DeviceSyncUpdate_b2 current-user Run value relaunched the agent at sign-in.T1559 · Inter-Process CommunicationThe native backdoor parent and KKKD.PluginHost child exchanged plugin modules, commands, and results through a named pipe.T1573.001 · Symmetric CryptographyThe Python agent encrypted application messages with AES-GCM, although its WebSocket transport was not protected by TLS.T1620 · Reflective Code LoadingThe native plugin worker mapped executable images into memory, resolved imports, initialized modules, and invoked plugin functions.

Malware

Vendors

Products

Industries

Related Articles