{"id":10748,"date":"2026-12-03T12:09:42","date_gmt":"2026-12-03T12:09:42","guid":{"rendered":"https:\/\/cybersecurityinfocus.com\/?p=10748"},"modified":"2026-12-03T12:09:42","modified_gmt":"2026-12-03T12:09:42","slug":"attackers-hijack-softwareok-downloads-to-spread-a-python-rat-and-a-native-backdoor","status":"publish","type":"post","link":"https:\/\/cybersecurityinfocus.com\/?p=10748","title":{"rendered":"Attackers hijack SoftwareOK downloads to spread a Python RAT and a native backdoor"},"content":{"rendered":"<div>\n<div class=\"grid grid--cols-10@md grid--cols-8@lg article-column \">\n<div class=\"col-12 col-10@md col-6@lg col-start-3@lg\">\n<div class=\"article-column__content\">\n<div class=\"container\"><\/div>\n<p class=\"wp-block-paragraph\">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.<\/p>\n<p class=\"wp-block-paragraph\">Microsoft\u2019s 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.<\/p>\n<p class=\"wp-block-paragraph\">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.<\/p>\n<p class=\"wp-block-paragraph\">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.<\/p>\n<p class=\"wp-block-paragraph\">Microsoft did not attribute the campaign to any known threat actor, and the exact mechanism used to tamper with SoftwareOK\u2019s distribution infrastructure remains unknown.<\/p>\n<h2 class=\"wp-block-heading\"><a><\/a>Legitimate utilities used as cover for the PythonRAT<\/h2>\n<p class=\"wp-block-paragraph\">The 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 \u201cC:ProgramDataMicrosoftDeviceSyncb2\u201d directory.<\/p>\n<p class=\"wp-block-paragraph\">Bundling its own Python interpreter allowed the RAT to operate without relying on a Python installation already present on the victim\u2019s machine. Microsoft identified two variants of the package, using different Python scripts to launch the same primary agent code.<\/p>\n<p class=\"wp-block-paragraph\">The malware persisted through a current-user Windows Registry Run entry named \u201cDeviceSyncUpdate_b2\u201d and a scheduled task named \u201cUPnpMicrosoftEdge_dcntel.\u201d Both mechanisms could relaunch the agent during Windows sign-in, meaning uninstalling Q-Dir or DesktopOK would not remove the infection.<\/p>\n<p class=\"wp-block-paragraph\">Microsoft <a href=\"https:\/\/www.microsoft.com\/en-us\/security\/blog\/2026\/12\/02\/unpacking-the-softwareok-attack-chain-a-python-rat-and-native-backdoor\/\">observed<\/a> 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.<\/p>\n<p class=\"wp-block-paragraph\">A subsequent PowerShell task searched Python\u2019s 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.<\/p>\n<p class=\"wp-block-paragraph\">The recovered malware also supports file operations, screenshots, Python extensions, and network relaying, although Microsoft found no evidence of these capabilities being used.<\/p>\n<h2 class=\"wp-block-heading\"><a><\/a>Intrusion beyond the Python RAT<\/h2>\n<p class=\"wp-block-paragraph\">Microsoft researchers identified two native payloads, winhost.exe and backgroundTask.exe, which separately connected to external command-and-control (<a href=\"https:\/\/www.csoonline.com\/article\/4154222\/6-ways-attackers-abuse-ai-services-to-hack-your-business.html#:~:text=platforms%20as%20covert-,C2%20channels,-Cybercriminals%20are%20also\">C2<\/a>) infrastructure instead of relying on the Python agent. Microsoft observed network activity from these components across multiple devices over several days.<\/p>\n<p class=\"wp-block-paragraph\">Unlike DeviceSync\u2019s 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.<\/p>\n<p class=\"wp-block-paragraph\">Microsoft observed two plugin activities. Plugin-1001 used Windows command-line utilities to discover the infected device\u2019s public IP address. Another, plugin-1009, repeatedly launched plugin worker processes and established named-pipe communications.<\/p>\n<p class=\"wp-block-paragraph\">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.<\/p>\n<p class=\"wp-block-paragraph\">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.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>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\u2019s threat intelligence team said in a blog post that it began investigating the software supply chain compromise on [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":10749,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts\/10748"}],"collection":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10748"}],"version-history":[{"count":0,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts\/10748\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/media\/10749"}],"wp:attachment":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}